mcp

v0.1.1
dev.postbag/mcp Checked 3 days ago Published 3 months ago

Form backend that routes: one tool per Postbag API operation, plus quickstart and explain.

Values you need

VariableWhat it is
POSTBAG_API_KEYrequired secret A Postbag API key (pb_live_… or pb_test_…). Mint one at https://postbag.dev/app or with `postbag login`.
POSTBAG_API_URLoptional Base URL of the Postbag API. Defaults to https://postbag.dev — set this only for a self-hosted instance. Default: https://postbag.dev

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'POSTBAG_API_KEY=<POSTBAG_API_KEY>' -- npx -y --package=@postbag/mcp@0.1.1 postbag-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@postbag/mcp@0.1.1",
        "postbag-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBAG_API_KEY": "<POSTBAG_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@postbag/mcp@0.1.1",
        "postbag-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBAG_API_KEY": "<POSTBAG_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "POSTBAG_API_KEY",
      "id": "postbag-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@postbag/mcp@0.1.1",
        "postbag-mcp"
      ],
      "command": "npx",
      "env": {
        "POSTBAG_API_KEY": "${input:postbag-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@postbag/mcp@0.1.1", "postbag-mcp"]
env = { "POSTBAG_API_KEY" = "<POSTBAG_API_KEY>" }

For AI agents

  1. Ask the user for: POSTBAG_API_KEY. 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: auth_providers, auth_request_code, auth_verify_code, me_get, api_keys_list, api_keys_create, api_keys_revoke, quickstart, ….
  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