Marzban MCP
Rank #2,408io.github.Ilmar7786/marzban-mcp
Manage Marzban panels through the Model Context Protocol.
Marzban MCP is a Model Context Protocol (MCP) server published by Ilmar7786. It ranks #2,408 of 132,046 servers tracked on MCP Toplist, and its repository has 25 GitHub stars. Marzban MCP is listed across 2 registries — Official MCP and Glama, with 2 tracked versions. It was first listed on Aug 21, 2026 and most recently updated on Sep 6, 2026.
Ranks ahead of 129,638 of 132,046 servers on MCP Toplist.
Use Marzban MCP
Requires user-supplied configuration before first use — typically an API key, token or connection string set via environment variables.
claude mcp add marzban-mcp -e "MARZBAN_BASE_URL=<your MARZBAN_BASE_URL>" -e "MARZBAN_USERNAME=<your MARZBAN_USERNAME>" -e "MARZBAN_PASSWORD=<your MARZBAN_PASSWORD>" -- npx -y marzban-mcpReplace each placeholder with your own value before saving.
claude mcp add marzban-mcp -e "MARZBAN_BASE_URL=<your MARZBAN_BASE_URL>" -e "MARZBAN_USERNAME=<your MARZBAN_USERNAME>" -e "MARZBAN_PASSWORD=<your MARZBAN_PASSWORD>" -- docker run -i --rm docker.io/ilmar7786/marzban-mcp:0.3.0Replace each placeholder with your own value before saving.
[mcp_servers.marzban-mcp]
command = "npx"
args = ["-y", "marzban-mcp"]
[mcp_servers.marzban-mcp.env]
MARZBAN_BASE_URL = "<your MARZBAN_BASE_URL>"
MARZBAN_USERNAME = "<your MARZBAN_USERNAME>"
MARZBAN_PASSWORD = "<your MARZBAN_PASSWORD>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
[mcp_servers.marzban-mcp]
command = "docker"
args = ["run", "-i", "--rm", "docker.io/ilmar7786/marzban-mcp:0.3.0"]
[mcp_servers.marzban-mcp.env]
MARZBAN_BASE_URL = "<your MARZBAN_BASE_URL>"
MARZBAN_USERNAME = "<your MARZBAN_USERNAME>"
MARZBAN_PASSWORD = "<your MARZBAN_PASSWORD>"Add to ~/.codex/config.toml. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/ilmar7786/marzban-mcp:0.3.0"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to claude_desktop_config.json (Settings → Developer → Edit Config). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/ilmar7786/marzban-mcp:0.3.0"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project). Replace each placeholder with your own value before saving.
{
"servers": {
"marzban-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"marzban-mcp"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"servers": {
"marzban-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/ilmar7786/marzban-mcp:0.3.0"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Save as .vscode/mcp.json in your workspace. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/ilmar7786/marzban-mcp:0.3.0"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json. Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "npx",
"args": [
"-y",
"marzban-mcp"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Replace each placeholder with your own value before saving.
{
"mcpServers": {
"marzban-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/ilmar7786/marzban-mcp:0.3.0"
],
"env": {
"MARZBAN_BASE_URL": "<your MARZBAN_BASE_URL>",
"MARZBAN_USERNAME": "<your MARZBAN_USERNAME>",
"MARZBAN_PASSWORD": "<your MARZBAN_PASSWORD>"
}
}
}
}Replace each placeholder with your own value before saving.
Show your rank
Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.
[](https://mcptoplist.com/server/io.github.Ilmar7786%2Fmarzban-mcp)<a href="https://mcptoplist.com/server/io.github.Ilmar7786%2Fmarzban-mcp"><img src="https://mcptoplist.com/badge/io.github.Ilmar7786%2Fmarzban-mcp.svg" alt="MCP Toplist: Top 5% of 132,046" /></a>Variants: append ?metric=score or ?metric=stars to the image URL.
Listed on 2 registries
Ilmar7786
Available versions (2)
| Version | Published |
|---|---|
| 0.3.0 | Sep 6, 2026 |
| 0.2.2 | Aug 31, 2026 |
Frequently asked questions
- Who maintains Marzban MCP?
- Marzban MCP is maintained by Ilmar7786, which publishes 1 MCP server (2 total versions) tracked on MCP Toplist.
- Is Marzban MCP listed on the Official MCP Registry?
- Yes — Marzban MCP is listed on the Official MCP Registry, alongside Glama.
- How many versions does Marzban MCP have?
- MCP Toplist tracks 2 versions of Marzban MCP, most recently published on Sep 6, 2026.
- Where can I find the source code for Marzban MCP?
- The source code for Marzban MCP is hosted at github.com/Ilmar7786/marzban-sdk.
Do you run this server?
Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.