Marzban MCP
An MCP server that exposes Marzban panel operations as tools for AI agents. It is built on top of the marzban-sdk TypeScript toolkit, ensuring consistent authentication, retries, and typed errors across the SDK, MCP server, and CLI. This allows agents to interact with Marzban panels programmatically.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Manage Marzban panels through the Model Context Protocol
- Expose Marzban operations as tools for AI agents
- Interact with Marzban panels using consistent auth and retries
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
docker.io/ilmar7786/marzban-mcp:0.4.0
{
"transport": "stdio",
"identifier": "docker.io/ilmar7786/marzban-mcp:0.4.0",
"runtimeHint": "docker",
"registryType": "oci",
"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
{
"mcpServers": {
"marzban-mcp-0-4-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MARZBAN_BASE_URL=<YOUR_MARZBAN_BASE_URL>",
"-e",
"MARZBAN_USERNAME=<YOUR_MARZBAN_USERNAME>",
"-e",
"MARZBAN_PASSWORD=<YOUR_MARZBAN_PASSWORD>",
"docker.io/ilmar7786/marzban-mcp:0.4.0"
],
"env": {
"MARZBAN_BASE_URL": "<YOUR_MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<YOUR_MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<YOUR_MARZBAN_PASSWORD>"
}
}
}
}Cline
{
"mcpServers": {
"marzban-mcp-0-4-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MARZBAN_BASE_URL=<YOUR_MARZBAN_BASE_URL>",
"-e",
"MARZBAN_USERNAME=<YOUR_MARZBAN_USERNAME>",
"-e",
"MARZBAN_PASSWORD=<YOUR_MARZBAN_PASSWORD>",
"docker.io/ilmar7786/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
{
"servers": {
"marzban-mcp-0-4-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MARZBAN_BASE_URL=<YOUR_MARZBAN_BASE_URL>",
"-e",
"MARZBAN_USERNAME=<YOUR_MARZBAN_USERNAME>",
"-e",
"MARZBAN_PASSWORD=<YOUR_MARZBAN_PASSWORD>",
"docker.io/ilmar7786/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
{
"mcpServers": {
"marzban-mcp-0-4-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MARZBAN_BASE_URL=<YOUR_MARZBAN_BASE_URL>",
"-e",
"MARZBAN_USERNAME=<YOUR_MARZBAN_USERNAME>",
"-e",
"MARZBAN_PASSWORD=<YOUR_MARZBAN_PASSWORD>",
"docker.io/ilmar7786/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.