Marzban MCP
An MCP server that exposes Marzban operations as tools for AI agents, allowing integration with the Marzban panel via a shared TypeScript SDK for authentication, retries, and typed errors.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Expose Marzban operations as tools for AI agents
- Manage Marzban panels through the Model Context Protocol
- Integrate with agents like Claude or Cursor
Source and maintenance
Community listingRegistry 0.4.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
marzban-mcp 0.4.0
npmnpx
marzban-mcp package definition
{
"version": "0.4.0",
"transport": "stdio",
"identifier": "marzban-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "MARZBAN_BASE_URL",
"format": "string",
"isRequired": true,
"description": "URL of the Marzban panel."
},
{
"name": "MARZBAN_USERNAME",
"format": "string",
"isRequired": true,
"description": "Marzban administrator username."
},
{
"name": "MARZBAN_PASSWORD",
"format": "string",
"isRequired": true,
"description": "Marzban administrator password."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp@0.4.0"
],
"env": {
"MARZBAN_BASE_URL": "<YOUR_MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<YOUR_MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<YOUR_MARZBAN_PASSWORD>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp@0.4.0"
],
"env": {
"MARZBAN_BASE_URL": "<YOUR_MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<YOUR_MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<YOUR_MARZBAN_PASSWORD>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"marzban-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"marzban-mcp@0.4.0"
],
"env": {
"MARZBAN_BASE_URL": "<YOUR_MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<YOUR_MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<YOUR_MARZBAN_PASSWORD>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp@0.4.0"
],
"env": {
"MARZBAN_BASE_URL": "<YOUR_MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<YOUR_MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<YOUR_MARZBAN_PASSWORD>"
}
}
}
}Let your agent find its tools
Find servers like Marzban MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.