Marzban MCP
io.github.Ilmar7786/marzban-mcp · 26 stars · TypeScript · MIT
MCP server Manage Marzban panels through the Model Context Protocol.
Install
The repo has no one-line install. Follow its README.
Published as
- npm
marzban-mcpstdio - Docker
docker.io/ilmar7786/marzban-mcp:0.3.0stdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
MARZBAN_BASE_URLRequired | Env var | URL of the Marzban panel. |
MARZBAN_USERNAMERequired | Env var | Marzban administrator username. |
MARZBAN_PASSWORDRequired · Secret | Env var | Marzban administrator password. |
Files
MarzbanSDK
A TypeScript toolkit for the Marzban API.
Documentation · SDK · MCP Server
One TypeScript SDK for Marzban, and everything built on top of it. Fix a bug or add an endpoint in the SDK, and the MCP server, the CLI, and every app built on it get it for free.
How it fits together
flowchart LR
Panel(["Marzban Panel"])
SDK["marzban-sdk"]
MCP["marzban-mcp<br/>MCP server"]
CLI["marzban-cli<br/>CLI · WIP"]
App["Your app<br/>Node · Bun · Deno · Browser"]
Agents(["Claude · Cursor · any MCP client"])
Panel <--> SDK
SDK --> MCP --> Agents
SDK --> CLI
SDK --> App
Loading
The SDK talks to your Marzban panel. The MCP server and CLI are just clients of that same SDK — same auth, same retries, same typed errors — so they never drift from each other or from your own code.
Packages
| Package | npm | Docker | What it is |
|---|---|---|---|
packages/sdk |
marzban-sdk |
— | The TypeScript SDK — auth, retries, resilient WebSocket reconnects, webhooks, lifecycle |
packages/mcp |
marzban-mcp |
ilmar7786/marzban-mcp |
An MCP server exposing Marzban operations as tools for AI agents |
packages/cli |
— | — | A CLI on top of the SDK — WIP, unpublished |
apps/docs |
— | — | The documentation site |
Each publishable package has its own version, README.md, changelog and
release tags (sdk-v*, mcp-v*, cli-v*).
Documentation
Full guides, configuration reference and the complete typed API live at ilmar7786.github.io/marzban-sdk.
For how the repository itself is built — architecture, conventions, testing,
CI and releases — see docs/.
Contributing
Contributions are welcome — see CONTRIBUTING.md for how to submit a patch. Found a bug or have an idea? Open an issue.
License
If this project saves you time, consider giving it a ⭐ on GitHub.Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 26
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-10-02
- Forks
- 3
- MCP Registry
- io.github.Ilmar7786/marzban-mcp
- Homepage
- ilmar7786.github.io/marzban-sdk
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k