Koskamo

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.

Marzban MCP logo, by ilmar7786Community listingLocal stdioSource reviewed; not executedPublished by ilmar7786
Vendor documentation

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

Community listingRegistry 0.4.0
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

ocidocker
docker.io/ilmar7786/marzban-mcp:0.4.0 package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "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

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.