mcp
v0.1.1Form backend that routes: one tool per Postbag API operation, plus quickstart and explain.
Values you need
| Variable | What it is | |
|---|---|---|
POSTBAG_API_KEY | required secret | A Postbag API key (pb_live_… or pb_test_…). Mint one at https://postbag.dev/app or with `postbag login`. |
POSTBAG_API_URL | optional | 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-mcpAdd 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
- Ask the user for: POSTBAG_API_KEY. 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: auth_providers, auth_request_code, auth_verify_code, me_get, api_keys_list, api_keys_create, api_keys_revoke, quickstart, ….
- 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