MCP Server Setup
Connect Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, and other MCP clients to Postcapy with OAuth 2.1.
Claude Directory
https://postcapy.com/mcp/claude
Full MCP server
https://postcapy.com/mcp
Connect any Model Context Protocol (MCP) client to Postcapy to inspect connected social channels, find open posting slots, draft and schedule posts, manage your media library, and review analytics directly from your AI assistant.
Postcapy's remote MCP server uses Streamable HTTP transport and OAuth 2.1 with PKCE so you never need to paste static API keys into an AI app.
Endpoints#
Postcapy exposes two hosted MCP endpoints:
| Endpoint | URL | Included tools | Recommended for |
|---|---|---|---|
| Claude Directory | https://postcapy.com/mcp/claude |
22 tools (omits AI image generation) | Claude Directory connector, Claude web & desktop |
| Full MCP Server | https://postcapy.com/mcp |
All 23 tools (includes generate_image) |
ChatGPT, Claude Code, Codex, Cursor, VS Code, and custom MCP clients |
Note
Both endpoints share the same OAuth 2.1 flow and safety guarantees. https://postcapy.com/mcp/claude omits generate_image and does not request the media:generate scope to match Claude's directory policies. If you add Postcapy to Claude manually as a custom connector using https://postcapy.com/mcp, all 23 tools are available.
How authentication works#
Postcapy implements the standard MCP authorization specification so compliant clients connect automatically:
- OAuth 2.1 Authorization Code + PKCE: Only
S256code challenges are accepted; passwords are never shared with the client. - Automatic discovery: Unauthenticated requests advertise Protected Resource Metadata (RFC 9728) at
/.well-known/oauth-protected-resource/mcp(and/mcp/claude), pointing clients to Authorization Server Metadata (RFC 8414) at/.well-known/oauth-authorization-server. - Dynamic Client Registration: MCP clients can register automatically via
POST https://postcapy.com/oauth/register. - Resource Indicators (RFC 8707): Issued access tokens are bound to the requested MCP resource (
https://postcapy.com/mcp,https://postcapy.com/mcp/claude, or the origin) and rejected elsewhere. - Workspace consent & refresh tokens: During sign-in you pick one workspace, review the exact scopes, and approve. Access tokens (
pos_...) are valid for 30 days and refresh tokens (por_...) for 90 days; both can be revoked immediately in Postcapy.
Setup by client#
Claude (web & desktop)#
- Open Claude Connectors in your browser.
- Select Postcapy from the connector directory, or choose Add → Add custom connector and enter:
- Name:
Postcapy - Server URL:
https://postcapy.com/mcp/claude(orhttps://postcapy.com/mcpto include image generation)
- Name:
- Keep the OAuth settings Claude detects and choose Add.
- Choose Connect. Postcapy opens in your browser: sign in, pick a workspace, review the permissions, and select Authorize application.
Important
On Claude Team and Enterprise plans, an organization owner must enable or add the connector first under Organization settings → Connectors.
ChatGPT#
- Open ChatGPT Connectors / Plugins in your browser.
- Choose + and select Add custom MCP server.
- Enter the connection details:
- Name:
Postcapy - Server URL:
https://postcapy.com/mcp
- Name:
- Select OAuth for authentication and complete the creation prompt.
- Install the connector and sign in. Postcapy opens in your browser: choose your workspace and approve access.
- In a chat, type
@and pick Postcapy to call its tools.
Note
Custom MCP servers in ChatGPT require a supported workspace plan (Business, Enterprise, or Edu) or an approved directory listing.
Claude Code#
Add Postcapy from your terminal using Streamable HTTP transport:
claude mcp add --transport http postcapy https://postcapy.com/mcpThen start Claude Code, run /mcp, pick postcapy, and complete the browser sign-in flow.
Tip
The command above registers Postcapy for the current project. Add --scope user to make it available across all of your projects.
Codex#
Register the server from your terminal:
codex mcp add postcapy --url https://postcapy.com/mcpCodex opens your browser to authorize Postcapy. Start a new Codex session and the Postcapy tools are ready to use.
Cursor#
Add Postcapy to your Cursor MCP configuration at ~/.cursor/mcp.json:
{
"mcpServers": {
"postcapy": {
"url": "https://postcapy.com/mcp"
}
}
}Open Cursor's MCP settings, click Sign in next to postcapy, pick your workspace, and approve the permissions.
VS Code#
- Open the Command Palette (
Cmd+Shift+PorCtrl+Shift+P) and run MCP: Add Server. - Choose HTTP.
- Paste
https://postcapy.com/mcpas the server URL and name itpostcapy. - Sign in when VS Code prompts you, then select your workspace and approve in Postcapy.
Other MCP clients#
Point any MCP client that supports Streamable HTTP and OAuth 2.1 discovery to:
https://postcapy.com/mcpYour client will discover the OAuth metadata automatically from the WWW-Authenticate challenge and open the Postcapy authorization screen.
Verify your connection#
Once connected, try a read-only prompt first to confirm workspace access:
Show my Postcapy workspace overview, connected channels, and open posting times for the next 7 days.Then test a safe draft workflow:
Draft a post for my LinkedIn channel announcing our v2 launch and save it as a draft so I can review it in Postcapy.Disconnecting & revoking access#
You can revoke any connected AI app at any time:
- In Postcapy, open Settings → Approved apps (under Developers).
- Review each approved app, its granted permissions, and when it was last used.
- Click Revoke access. Every access token and refresh token for that grant stops working immediately.
If you connected apps across multiple workspaces, switch to each workspace to review its approved apps.