Postbot

v0.1.0
cz.postbot/postbot Checked 1 day ago Published 1 month ago

Send real paper letters in the Czech Republic, ordinary or registered, via Česká pošta.

Values you need

VariableWhat it is
POSTBOT_CP_USERrequired Česká pošta DopisOnline (PostServis) account username.
POSTBOT_CP_PASSWDrequired secret Česká pošta DopisOnline (PostServis) account password.
POSTBOT_TESTrequired No default. "1" = Sandbox (Česká pošta test endpoint, no real letters). "0" = live, billable letters.
POSTBOT_FROM_NAMEoptional Default sender name. If unset, letters carry no default return address.
POSTBOT_FROM_COMPANYoptional Default sender company (optional).
POSTBOT_FROM_STREEToptional Default sender street. Used only when POSTBOT_FROM_NAME is set.
POSTBOT_FROM_HOUSEoptional Default sender house number. Used only when POSTBOT_FROM_NAME is set.
POSTBOT_FROM_CITYoptional Default sender city. Used only when POSTBOT_FROM_NAME is set.
POSTBOT_FROM_ZIPoptional Default sender postal code (PSČ). Used only when POSTBOT_FROM_NAME is set.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add postbot -e 'POSTBOT_CP_PASSWD=<POSTBOT_CP_PASSWD>' -e 'POSTBOT_CP_USER=<POSTBOT_CP_USER>' -e 'POSTBOT_TEST=<POSTBOT_TEST>' -- npx -y --package=@postbotcz/mcp@0.1.0 postbot-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "postbot": {
      "args": [
        "-y",
        "--package=@postbotcz/mcp@0.1.0",
        "postbot-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBOT_CP_PASSWD": "<POSTBOT_CP_PASSWD>",
        "POSTBOT_CP_USER": "<POSTBOT_CP_USER>",
        "POSTBOT_TEST": "<POSTBOT_TEST>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postbot": {
      "args": [
        "-y",
        "--package=@postbotcz/mcp@0.1.0",
        "postbot-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBOT_CP_PASSWD": "<POSTBOT_CP_PASSWD>",
        "POSTBOT_CP_USER": "<POSTBOT_CP_USER>",
        "POSTBOT_TEST": "<POSTBOT_TEST>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "POSTBOT_CP_PASSWD",
      "id": "postbot-cp-passwd",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "POSTBOT_CP_USER",
      "id": "postbot-cp-user",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "POSTBOT_TEST",
      "id": "postbot-test",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "postbot": {
      "args": [
        "-y",
        "--package=@postbotcz/mcp@0.1.0",
        "postbot-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBOT_CP_PASSWD": "${input:postbot-cp-passwd}",
        "POSTBOT_CP_USER": "${input:postbot-cp-user}",
        "POSTBOT_TEST": "${input:postbot-test}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postbot]
command = "npx"
args = ["-y", "--package=@postbotcz/mcp@0.1.0", "postbot-mcp"]
env = { "POSTBOT_CP_PASSWD" = "<POSTBOT_CP_PASSWD>", "POSTBOT_CP_USER" = "<POSTBOT_CP_USER>", "POSTBOT_TEST" = "<POSTBOT_TEST>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http postbot https://postbot.cz/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "postbot": {
      "args": [
        "-y",
        "mcp-remote",
        "https://postbot.cz/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "postbot": {
      "url": "https://postbot.cz/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "postbot": {
      "type": "http",
      "url": "https://postbot.cz/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.postbot]
command = "npx"
args = ["-y", "mcp-remote", "https://postbot.cz/mcp"]

For AI agents

  1. Ask the user for: POSTBOT_CP_USER, POSTBOT_CP_PASSWD, POSTBOT_TEST. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: send_letter_cz, get_letter_status.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json