World MiniApp reviews and analytics — verified human ratings via World ID
Marzban MCP Server
Published by Ilmar7786Manage Marzban panels through the Model Context Protocol.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.4.0
- SOURCE CHECKED
- Nov 30, 2026
Quick answers
How do I add Marzban MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'MARZBAN_BASE_URL=<your-marzban-base-url>' --env 'MARZBAN_USERNAME=<your-marzban-username>' --env 'MARZBAN_PASSWORD=<your-marzban-password>' --transport stdio marzban -- npx -y marzban-mcpReplace the <your-…> placeholder with your own MARZBAN_BASE_URL and MARZBAN_USERNAME and MARZBAN_PASSWORD.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"marzban": {
"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 the <your-…> placeholder with your own MARZBAN_BASE_URL and MARZBAN_USERNAME and MARZBAN_PASSWORD.
CodexCommand
Run this in your terminal:
codex mcp add marzban --env 'MARZBAN_BASE_URL=<your-marzban-base-url>' --env 'MARZBAN_USERNAME=<your-marzban-username>' --env 'MARZBAN_PASSWORD=<your-marzban-password>' -- npx -y marzban-mcpReplace the <your-…> placeholder with your own MARZBAN_BASE_URL and MARZBAN_USERNAME and MARZBAN_PASSWORD.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"marzban": {
"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>"
}
}
}
}Replace the <your-…> placeholder with your own MARZBAN_BASE_URL and MARZBAN_USERNAME and MARZBAN_PASSWORD.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"marzban": {
"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 the <your-…> placeholder with your own MARZBAN_BASE_URL and MARZBAN_USERNAME and MARZBAN_PASSWORD.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Marzban MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Marzban MCP Server need an API key?
To run it on your computer, set MARZBAN_BASE_URL, MARZBAN_USERNAME and MARZBAN_PASSWORD first, with values from the publisher.
Is Marzban MCP Server official?
It's published by Ilmar7786. The Official MCP Registry accepts names under io.github.Ilmar7786 only from the GitHub account or organisation Ilmar7786. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · marzban-mcp@0.4.0oci · docker.io/ilmar7786/marzban-mcp:0.4.0