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.

Joschua SünnekeUpdated
Connect in Claude

Listed in Claude's connector directory. Sign in to Postel when Claude asks.

Getting Your API Key

  1. Go to Settings > API Keys in your organization settings (requires admin access)
  2. Click Create API Key and enter a name
  3. Copy the key immediately - it's only shown once
  4. 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:

PropertyValue
Server URLhttps://www.postel.app/api/mcp
TransportStreamable HTTP
AuthenticationOAuth 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:

  1. Open File > Preferences > Cursor Settings > MCP
  2. Or press Cmd+Shift+P (Mac) / Ctrl+Shift+P (Windows/Linux) and type "View: Open MCP Settings"
  3. 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:

PropertyValue
Server URLhttps://www.postel.app/api/mcp
TransportStreamable HTTP
AuthenticationBearer token (Authorization: Bearer pstl_YOUR_API_KEY)

Capabilities

The Postel MCP server exposes 17 tools across five groups.

Post Management (7 tools)

ToolDescription
list-postsGet all posts with optional status filter
get-postGet a specific post by ID
create-postCreate a new post draft
update-postEdit an existing post
delete-postRemove a post
schedule-postSchedule a post for a specific time
publish-postPublish a post immediately

Bulk and Media (2 tools)

ToolDescription
create-postsCreate up to 25 drafts in one call, each optionally scheduled
attach-mediaAttach an image or video from a public URL to a draft

AI Generation (2 tools)

ToolDescription
generate-postGenerate a new post using AI based on your brand voice
refine-postSuggest a rewrite of an existing draft, without saving it

Research (1 tool)

ToolDescription
search-viral-tweetsFind high-performing X posts by topic. Works without signing in

Data and Context (5 tools)

ToolDescription
list-brandsGet all your brand profiles
get-brand-sourcesGet content sources for a brand
get-x-profilesGet connected X/Twitter profiles
get-scheduleGet your posting schedule
get-usageCheck 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.

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.