5 min read
Postel MCP Server: Manage Social Posts From Your AI Assistant
The Postel MCP server lets Claude, Claude Code, Cursor and other MCP clients use your Postel account: draft posts for LinkedIn and X in your voice, schedule and publish them, and look up high-performing posts. It is a hosted remote server, so there is nothing to install. Sign in with OAuth or use an API key.
Listed in Claude's connector directory. Sign in to Postel when Claude asks.
Getting Your API Key
- Go to Settings > API Keys in your organization settings (requires admin access)
- Click Create API Key and enter a name
- Copy the key immediately - it's only shown once
- Keys have a
pstl_prefix (e.g.,pstl_abc123...)
The creation dialog also shows ready-to-copy MCP config snippets for different clients.
Alternatively, running the OAuth setup command below will open your browser and guide you through the authentication flow.
Setup Guides
General
Our MCP server supports Streamable HTTP transport with OAuth 2.1 and API key authentication:
| Property | Value |
|---|---|
| Server URL | https://www.postel.app/api/mcp |
| Transport | Streamable HTTP |
| Authentication | OAuth 2.1 or API key (Bearer token) |
Claude (web and desktop)
Open Postel in Claude's connector directory, click Connect to Claude and sign in to Postel. You can also add it by hand: open Customize > Connectors, click +, choose Add custom connector and enter https://www.postel.app/api/mcp.
Claude Code
With OAuth (recommended):
claude mcp add --transport http postel https://www.postel.app/api/mcp
Then run /mcp once you've opened a Claude Code session to go through the browser-based OAuth flow.
With API Key:
Add to your ~/.claude/settings.json or project .mcp.json:
{
"mcpServers": {
"postel": {
"type": "url",
"url": "https://www.postel.app/api/mcp",
"headers": {
"Authorization": "Bearer pstl_YOUR_API_KEY"
}
}
}
}
Scope Options:
--scope user- Available in all your projects--scope project- Shared with your team via.mcp.json- Default (no flag) - Current project only
Cursor
To add the MCP to Cursor:
- Open File > Preferences > Cursor Settings > MCP
- Or press
Cmd+Shift+P(Mac) /Ctrl+Shift+P(Windows/Linux) and type "View: Open MCP Settings" - Add the following configuration:
{
"mcpServers": {
"postel": {
"type": "url",
"url": "https://www.postel.app/api/mcp",
"headers": {
"Authorization": "Bearer pstl_YOUR_API_KEY"
}
}
}
}
Visual Studio Code
Ctrl/Cmd+P and search for MCP: Add Server.
Select HTTP and enter the following configuration:
{
"mcpServers": {
"postel": {
"type": "url",
"url": "https://www.postel.app/api/mcp",
"headers": {
"Authorization": "Bearer pstl_YOUR_API_KEY"
}
}
}
}
Activate the server using MCP: List Servers, selecting Postel, and selecting Start Server.
Windsurf
Open Windsurf Settings and navigate to Cascade > MCP.
Click Add Server and paste the following configuration:
{
"mcpServers": {
"postel": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://www.postel.app/api/mcp"],
"env": {
"MCP_API_KEY": "pstl_YOUR_API_KEY"
}
}
}
}
Note: Windsurf uses mcp-remote to connect to HTTP MCP servers. The API key is passed via environment variable.
Others
Many other tools now support MCP servers. You can configure them to use Postel's MCP server with the following settings:
| Property | Value |
|---|---|
| Server URL | https://www.postel.app/api/mcp |
| Transport | Streamable HTTP |
| Authentication | Bearer token (Authorization: Bearer pstl_YOUR_API_KEY) |
Capabilities
The Postel MCP server exposes 17 tools across five groups.
Post Management (7 tools)
| Tool | Description |
|---|---|
list-posts | Get all posts with optional status filter |
get-post | Get a specific post by ID |
create-post | Create a new post draft |
update-post | Edit an existing post |
delete-post | Remove a post |
schedule-post | Schedule a post for a specific time |
publish-post | Publish a post immediately |
Bulk and Media (2 tools)
| Tool | Description |
|---|---|
create-posts | Create up to 25 drafts in one call, each optionally scheduled |
attach-media | Attach an image or video from a public URL to a draft |
AI Generation (2 tools)
| Tool | Description |
|---|---|
generate-post | Generate a new post using AI based on your brand voice |
refine-post | Suggest a rewrite of an existing draft, without saving it |
Research (1 tool)
| Tool | Description |
|---|---|
search-viral-tweets | Find high-performing X posts by topic. Works without signing in |
Data and Context (5 tools)
| Tool | Description |
|---|---|
list-brands | Get all your brand profiles |
get-brand-sources | Get content sources for a brand |
get-x-profiles | Get connected X/Twitter profiles |
get-schedule | Get your posting schedule |
get-usage | Check your usage and limits |
X and LinkedIn
The server works for both platforms Postel publishes to. generate-post takes a platform of x or linkedin, and schedule-post and publish-post send each draft to the platform it was written for.
- X (Twitter) MCP server: research viral posts, draft tweets and threads, schedule them
- LinkedIn MCP server: draft LinkedIn posts in your voice and schedule them
- Connect Claude to LinkedIn: step-by-step guide
Frequently Asked Questions
Which AI assistants support the Postel MCP server?
Any client that supports remote MCP servers: Claude on the web and desktop, Claude Code, Cursor, VS Code, Windsurf, Zed and others. Claude users can add Postel from Claude's connector directory.
Do I need a paid Postel plan to use the MCP server?
You can connect on any plan and read, create and edit drafts. Scheduling and publishing need a plan that includes scheduling, which every paid plan and the 7-day trial do. generate-post and refine-post use 1 AI credit each from your plan.
Is my data secure when using the MCP server?
The MCP server uses the same checks as the Postel web app: encrypted connections, authorization on every request, and rate limits. API keys are stored hashed, and the full key is only shown once, when you create it.
Can I use the MCP server with multiple organizations?
Yes. API keys belong to one organization, so create a key in each organization you want to use. OAuth connects to your most recent organization.
What happens if I run out of AI credits?
generate-post and refine-post switch to Lite mode, with a daily cap, until your credits renew or you top up. Every other tool keeps working. Use get-usage to check where you stand.