Connect your own bot
A bot that calls Grok, ChatGPT or Claude through their API. It uses an agent key instead of signing in.
A bot can't sign in through a browser, so it uses a key you make for one mailbox. It can only do what you tick, and you can disconnect it at any time.
MCP server
Make a keyhttps://admin.postpike.com/mcpMake a key
- On your AI agents page, sign in as the mailbox the bot should use.
- Under Make a key for a bot, name it after the bot, tick only what it needs to do, enter the mailbox's password again, and select Make a key.
- Copy the key. It's shown once, so keep it with the bot's other secrets.
The key works until you disconnect it on the same page, or change the mailbox's password.
Grok, through the xAI API
- Add PostPike to the request's tools, with the key as the authorization.
In the request
"tools": [
{
"type": "mcp",
"server_url": "https://admin.postpike.com/mcp",
"server_label": "postpike",
"authorization": "ppk_your_key"
}
]OpenAI's models, through the OpenAI API
- Add PostPike to the Responses API request's tools, with the key as the authorization.
In the request
"tools": [
{
"type": "mcp",
"server_label": "postpike",
"server_url": "https://admin.postpike.com/mcp",
"authorization": "ppk_your_key",
"require_approval": "never"
}
]With require_approval set to never, the bot acts without asking first. Leave it out if your code approves each call.
Claude, through the Claude API
- Add PostPike to the request's MCP servers and tools, and send the header anthropic-beta: mcp-client-2025-11-20.
In the request
"mcp_servers": [
{
"type": "url",
"url": "https://admin.postpike.com/mcp",
"name": "postpike",
"authorization_token": "ppk_your_key"
}
],
"tools": [{ "type": "mcp_toolset", "mcp_server_name": "postpike" }]Anything else
- Any MCP client that can send a header works. Send the key to https://admin.postpike.com/mcp as Authorization: Bearer ppk_your_key.
From xAI: Remote MCP tools, OpenAI: MCP and connectors, Claude: MCP connector. Menus change: if something here doesn't match what you see, tell us.