MCP server
Connect Claude, Codex, Antigravity or any MCP client to Postalu so your assistant can read your accounts, posts and insights.
The Postalu MCP server lets an AI assistant read your workspace. Add one address to your client, sign in to Postalu in your browser, and ask in plain language: What is scheduled for next week? Which of my posts did best this month? Grade this caption for Instagram and X.
https://postalu.com/mcpIt is hosted, so there is nothing to install. It speaks the Model Context Protocol over Streamable HTTP, which current MCP clients support. An assistant reads by default. Saving drafts, scheduling and publishing are separate scopes that you tick when you approve it, and every change needs a confirmation. It is part of the paid plans.
What the assistant can do
| Job | Tools |
|---|---|
| Know where it is working | whoami |
| Accounts | list_channels |
| Posts | list_posts, get_post |
| Insights | get_insights, get_best_times |
| Writing help | check_caption |
| Queues and files | list_queues, start_media_upload |
| Draft and schedule (if allowed) | create_draft, schedule_post, update_scheduled_post, cancel_scheduled_post |
| Publish (if allowed, each post approved by you) | publish_post |
Tools lists every argument and a sample answer.
Connect in a minute
In Claude Code it is two steps:
claude mcp add --transport http postalu https://postalu.com/mcpThen type /mcp inside Claude Code, pick postalu and choose Authenticate. Your browser opens Postalu: sign in with your password and two-factor code, read what the app asks for, and press Approve. Connect a client has the steps for Codex, Antigravity, Claude Desktop and the web apps, and other clients.
How sign-in works
| Method | Best for | How |
|---|---|---|
| OAuth 2.1 | People using an assistant | Add the address. The client opens a browser, you sign in to Postalu with two-factor and approve. Nothing to copy. |
| Access token | Agents and clients without a browser | Make one in Settings, Connected apps (password and a fresh code, shown once, 1 to 90 days). Send it as Authorization: Bearer pl_…. |
OAuth explains what happens during the sign-in, the scopes and how to revoke a client.
Safety
- Every tool runs inside your own workspace, with your own permissions. Reading is the default; each write scope is a box you tick.
- Writing tools need
confirm: true, which the assistant may set only after it has shown you the text, the accounts and the time. Every one also takes anidempotency_key, so a retried call never posts twice, andcreate_draftandschedule_posttakedry_run: trueto check a post without saving it. - Publishing a draft needs its own scope, and approving that scope asks for your password and a fresh authenticator code. On top of that, every post needs your own yes: the assistant asks, Postalu gives it a link, and you open it, read the post and approve it with your password and a fresh code. That approval works for one post, once, for 15 minutes. An access token can never publish.
- YouTube and TikTok posts use the choices you saved in the studio (who can see it, interactions, Short). Your confirmation of the post is TikTok's consent. If you never saved TikTok settings, the assistant has to say who can view it.
- The assistant never sees your password or your two-factor code: you sign in on postalu.com.
- Each tool is labelled read-only or write to your client, and text from your posts is returned marked as data, not instructions.
- You choose what each app may read when you approve it, and you can disconnect it any time in Settings, Connected apps. Changing your password or two-factor setup disconnects every app.
Agents without a person at the keyboard
An autonomous agent has nobody to sign in, so it sends an access token and calls tools directly. Plain HTTP works:
curl https://postalu.com/mcp \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $POSTALU_TOKEN" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"whoami","arguments":{}}}'The reply is a JSON-RPC result. The tool's answer is in result.structuredContent, and as text in result.content[0].text. Make one token per agent so you can delete it on its own, and keep it in a secrets store, not in code.
Discovery documents
| Document | Address |
|---|---|
| Protected resource metadata (RFC 9728) | /.well-known/oauth-protected-resource |
| Authorization server metadata (RFC 8414) | /.well-known/oauth-authorization-server |
| OpenAPI description of the endpoints | /openapi.json |
| Plain-text overview for AI assistants | /llms.txt |