Blueping gives AI agents their own email inboxes: an address, username@blueping.dev, in one call, and mail that arrives as clean JSON with its verification codes, links and attachments pulled out.
This package runs Blueping's email MCP server on your machine, over stdio, for MCP clients that start local servers. It carries Blueping's hosted server, https://blueping.dev/mcp, so the tools, their descriptions and every rule are the hosted server's own: the agent creates inboxes, reads mail, waits for verification codes, sends, replies and forwards. It has no dependency.
A client that connects to remote servers needs nothing installed. It signs in through the browser, with no key in any file. With Claude Code:
claude mcp add --transport http blueping https://blueping.dev/mcp
claude mcp login bluepingEvery other client, with OAuth or with a key: blueping.dev/agents.
Use this package when your client starts local (stdio) servers, or when it should use an API key you keep on your machine.
- Get a key. An agent signs itself up with
npx blueping signup, which saves its key. A person runsnpx blueping login, or signs up at blueping.dev/signup and copies the key from the dashboard. Keys start withbp_live_. - Install Node.js 18 or later. MCP clients start this server with
npx, which comes with Node.
The server reads BLUEPING_API_KEY, and without it the key that npx blueping login or npx blueping signup saved in ~/.config/blueping/config.json.
In every snippet, replace bp_live_your_key with your key, or leave the env block out to use the saved key.
claude mcp add --scope user --env BLUEPING_API_KEY=bp_live_your_key --transport stdio blueping -- npx -y blueping-mcp--scope user makes the server available in all your projects. Leave it out to add it to the current project alone.
Claude Desktop reads claude_desktop_config.json (Settings, Developer, Edit Config), Cursor reads ~/.cursor/mcp.json or .cursor/mcp.json, and Windsurf its MCP config file:
{
"mcpServers": {
"blueping": {
"command": "npx",
"args": ["-y", "blueping-mcp"],
"env": {
"BLUEPING_API_KEY": "bp_live_your_key"
}
}
}
}Add this to ~/.copilot/mcp-config.json to use it in every workspace:
{
"mcpServers": {
"blueping": {
"type": "stdio",
"command": "npx",
"args": ["-y", "blueping-mcp"],
"env": {
"BLUEPING_API_KEY": "${BLUEPING_API_KEY}"
},
"tools": ["*"]
}
}
}The file holds no key: ${BLUEPING_API_KEY} is read from the environment VS Code starts in. On macOS and Linux, add export BLUEPING_API_KEY=bp_live_your_key to your shell profile; on Windows, run setx BLUEPING_API_KEY bp_live_your_key. Then restart VS Code.
Any client that runs local MCP servers works. The command is npx -y blueping-mcp, with BLUEPING_API_KEY in its environment. The blueping CLI carries the same server as npx -y blueping mcp.
- "Make an inbox called acme-signups and sign up to the staging app with it."
- "I asked GitHub to email a code to my agent's inbox. Wait for it and tell me the code."
- "Did my agent get any email today? Summarize the new messages."
- "Reply to the last email from Northwind: we accept the quote."
- "How many emails can my agent still send today?"
Each message the client writes on stdin goes to https://blueping.dev/mcp as one HTTPS request, with your key as Authorization: Bearer, and each answer comes back on stdout as one line. Requests run side by side, so a call that waits for mail never holds up the others, and a cancellation from the client stops its call. The key goes to BLUEPING_BASE_URL alone, over HTTPS (plain HTTP to localhost for a local server). Logs go to stderr and never hold the key.
Without a key, the server still lists the tools, and every call answers with where to get one.
| Variable | Required | Description |
|---|---|---|
BLUEPING_API_KEY |
No, when a key is saved | Your API key, bp_live_.... |
BLUEPING_BASE_URL |
No | The API address. Defaults to https://blueping.dev. Use http://localhost:8787 for a local Blueping server. |
-
The client says Blueping refused the API key. The key is wrong or was revoked: make a new one in the dashboard, or run
npx blueping login. -
The server does not start. Your client may not find Node. Run
which npxin a terminal and use that full path as thecommand. On Windows, use"command": "cmd"with"args": ["/c", "npx", "-y", "blueping-mcp"]. -
To test it by hand, open it in the MCP Inspector:
npx @modelcontextprotocol/inspector -e BLUEPING_API_KEY=bp_live_your_key -- npx -y blueping-mcp
npm install
npm testnpm test type-checks the code, builds dist/ and runs the tests: the official MCP SDK's client talks to the built command over stdio, and the command talks to a local stand-in for the hosted server. The tests run the TypeScript files directly, so they need Node.js 22.18 or later.
The package also exports runBridge(options), to carry the hosted server over another pair of streams.
To release, bump version here and PLUGIN_VERSION in src/content/agent-files.ts at the repository root, run npm run build:plugin there to write server.json, then run npm publish here.
MIT