{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ilodezis/gramcp",
  "slug": "io.github.ilodezis.gramcp",
  "title": "gramcp",
  "summary": "Multi-account Telegram MCP server in Rust with 68 MTProto tools, /settings web UI, and OAuth 2.1",
  "version": "0.2.0",
  "serverKey": "gramcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.ilodezis.gramcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.ilodezis.gramcp/install.md",
  "trust": {
    "score": 85,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T20:47:12.838147389Z"
  },
  "methods": [
    {
      "id": "oci",
      "label": "Docker",
      "transport": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "TELEGRAM_API_HASH",
        "-e",
        "TELEGRAM_API_ID",
        "ghcr.io/ilodezis/gramcp:0.2.0",
        "serve",
        "--stdio"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add gramcp -e 'TELEGRAM_API_HASH=<TELEGRAM_API_HASH>' -e 'TELEGRAM_API_ID=<TELEGRAM_API_ID>' -- docker run -i --rm -e TELEGRAM_API_HASH -e TELEGRAM_API_ID ghcr.io/ilodezis/gramcp:0.2.0 serve --stdio"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"gramcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TELEGRAM_API_HASH\",\n        \"-e\",\n        \"TELEGRAM_API_ID\",\n        \"ghcr.io/ilodezis/gramcp:0.2.0\",\n        \"serve\",\n        \"--stdio\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TELEGRAM_API_HASH\": \"<TELEGRAM_API_HASH>\",\n        \"TELEGRAM_API_ID\": \"<TELEGRAM_API_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"gramcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TELEGRAM_API_HASH\",\n        \"-e\",\n        \"TELEGRAM_API_ID\",\n        \"ghcr.io/ilodezis/gramcp:0.2.0\",\n        \"serve\",\n        \"--stdio\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TELEGRAM_API_HASH\": \"<TELEGRAM_API_HASH>\",\n        \"TELEGRAM_API_ID\": \"<TELEGRAM_API_ID>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"TELEGRAM_API_HASH\",\n      \"id\": \"telegram-api-hash\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"TELEGRAM_API_ID\",\n      \"id\": \"telegram-api-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"gramcp\": {\n      \"args\": [\n        \"run\",\n        \"-i\",\n        \"--rm\",\n        \"-e\",\n        \"TELEGRAM_API_HASH\",\n        \"-e\",\n        \"TELEGRAM_API_ID\",\n        \"ghcr.io/ilodezis/gramcp:0.2.0\",\n        \"serve\",\n        \"--stdio\"\n      ],\n      \"command\": \"docker\",\n      \"env\": {\n        \"TELEGRAM_API_HASH\": \"${input:telegram-api-hash}\",\n        \"TELEGRAM_API_ID\": \"${input:telegram-api-id}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.gramcp]\ncommand = \"docker\"\nargs = [\"run\", \"-i\", \"--rm\", \"-e\", \"TELEGRAM_API_HASH\", \"-e\", \"TELEGRAM_API_ID\", \"ghcr.io/ilodezis/gramcp:0.2.0\", \"serve\", \"--stdio\"]\nenv = { \"TELEGRAM_API_HASH\" = \"<TELEGRAM_API_HASH>\", \"TELEGRAM_API_ID\" = \"<TELEGRAM_API_ID>\" }"
        }
      ],
      "requires": [
        "Docker"
      ]
    }
  ],
  "env": [
    {
      "name": "TELEGRAM_API_ID",
      "required": true,
      "secret": false,
      "description": "Telegram api_id from my.telegram.org",
      "help": "Telegram api_id from my.telegram.org",
      "placeholder": "<TELEGRAM_API_ID>"
    },
    {
      "name": "TELEGRAM_API_HASH",
      "required": true,
      "secret": true,
      "description": "Telegram api_hash from my.telegram.org",
      "help": "Telegram api_hash from my.telegram.org",
      "placeholder": "<TELEGRAM_API_HASH>"
    },
    {
      "name": "GRAMCP_TRANSPORT",
      "required": false,
      "secret": false,
      "description": "Transport mode inside the container; keep stdio for local MCP clients",
      "help": "Transport mode inside the container; keep stdio for local MCP clients",
      "default": "stdio",
      "placeholder": "stdio"
    }
  ],
  "expectedTools": [
    "status",
    "list_accounts",
    "get_updates",
    "list_chats",
    "search_chats",
    "get_chat_info",
    "get_chat_members",
    "get_contacts",
    "get_user",
    "read_messages",
    "search_messages",
    "get_message_meta",
    "get_media",
    "transcribe_audio",
    "translate_message",
    "send_message",
    "send_media",
    "send_structured",
    "edit_message",
    "forward_messages",
    "send_typing",
    "get_drafts",
    "manage_draft",
    "send_reaction",
    "get_reaction_catalog",
    "get_poll",
    "transform_message",
    "inline_query",
    "inline_query_send",
    "organize_chat",
    "mark_as_read",
    "pin_message",
    "get_folders",
    "save_folder",
    "list_topics",
    "get_chat_admin",
    "get_stories",
    "interact_story",
    "get_stickers",
    "get_boosts",
    "get_group_call",
    "get_business"
  ],
  "agentSteps": [
    "Ask the user for: TELEGRAM_API_ID, TELEGRAM_API_HASH. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: status, list_accounts, get_updates, list_chats, search_chats, get_chat_info, get_chat_members, get_contacts, ….",
    "If it fails, check that the required runtime is installed (Docker) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T20:47:12.838147389Z"
}
