MCP Server Studio
Form backend that routes: one tool per Postbag API operation, plus quickstart and explain.
Registry name: dev.postbag/mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@postbag/[email protected]"
],
"env": {
"POSTBAG_API_KEY": "<POSTBAG_API_KEY>",
"POSTBAG_API_URL": "<POSTBAG_API_URL>"
}
}
}
}Run in your terminal:
claude mcp add mcp -e POSTBAG_API_KEY='<POSTBAG_API_KEY>' -e POSTBAG_API_URL='<POSTBAG_API_URL>' -- npx -y @postbag/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@postbag/[email protected]"
],
"env": {
"POSTBAG_API_KEY": "<POSTBAG_API_KEY>",
"POSTBAG_API_URL": "<POSTBAG_API_URL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@postbag/[email protected]"
],
"env": {
"POSTBAG_API_KEY": "<POSTBAG_API_KEY>",
"POSTBAG_API_URL": "<POSTBAG_API_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@postbag/[email protected]"
],
"env": {
"POSTBAG_API_KEY": "<POSTBAG_API_KEY>",
"POSTBAG_API_URL": "<POSTBAG_API_URL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
POSTBAG_API_KEY | Yes | A Postbag API key (pb_live_… or pb_test_…). Mint one at https://postbag.dev/app or with `postbag login`. |
POSTBAG_API_URL | No | Base URL of the Postbag API. Defaults to https://postbag.dev — set this only for a self-hosted instance. |