Postel MCP Server: Manage Social Posts From Your AI Assistant

Joschua Sunneke
Joschua SunnekeFeb 21, 2025

The Model Context Protocol (MCP) server provides a standardized interface that allows any compatible AI model or agent to access your Postel account and features in a simple and secure way. Connect to our MCP server natively in Claude, Cursor, and other clients. Postel's MCP server follows the authenticated remote MCP spec, so the server is centrally hosted and managed. The Postel MCP server has tools for creating, scheduling, and publishing posts, generating AI content, and retrieving your account data. Feedback on its functionality is welcomed.

By the founders ofLogo Icon

Join 1,500+ creators supercharging their growth on X

Streamline your content creation and grow your business with valuable content

Start Your 7-Day Trial • Cancel anytime
Avatar 1Avatar 2Avatar 3Avatar 4Avatar 5Avatar 6Avatar 7Avatar 8Avatar 9Avatar 10Avatar 11

Join 1,500+ creators & companies

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 Code

With OAuth (recommended):

claude mcp add postel --transport http --url "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 15 tools across three categories.

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

AI Generation (3 tools)

ToolDescription
generate-postGenerate a new post using AI based on your brand voice
refine-postImprove an existing draft with AI suggestions
search-viral-tweetsFind viral tweets for inspiration

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

FAQ

Get started with Postel

Join 1500+ creators who use Postel to turn their ideas into high-performing posts that grow their audience.

Start Your 7-Day Trial • Cancel anytime