Onlypult MCP Server
Connect AI agents — Claude, Cursor, ChatGPT, Windsurf, Codex, Antigravity, and any MCP-compatible client — directly to your Onlypult account via Model Context Protocol. Let AI publish, schedule, and manage your social content.
Hosted MCP URL: https://mcp.onlypult.com/mcp (Streamable HTTP — no install)
Local package (disk uploads): npx -y @onlypult/mcp@latest — stdio on your machine; works in any client that supports command + args MCP config (Cursor, Claude Desktop, Windsurf, Codex, Antigravity, …).
What you can do
Ask your AI assistant things like:
- "Show my connected social profiles"
- "Post 'Hello world!' to Instagram now"
- "Schedule a LinkedIn post for tomorrow at 9am"
- "Cross-post this to Instagram and Facebook"
- "Post this image to Instagram" (with browser upload flow)
- "List my failed posts and retry them"
- "Create an Instagram Reels post with this video"
Setup
The hosted MCP server at mcp.onlypult.com requires no local installation. Configure your AI client to connect over HTTP, then authenticate.
Get your API key
Create a personal API key in Onlypult. See the Authentication guide for step-by-step instructions.
Quick link: app.onlypult.com/settings → API Keys.
Configure your client
Pick your client below. Hosted HTTP needs no install; local stdio (@onlypult/mcp) adds media_upload_file from disk paths.
Restart your client
After saving MCP config, restart the client completely so the integration loads.
OAuth path: For Claude.ai and ChatGPT, skip the API key — add the MCP URL and sign in via the browser consent page. See OAuth 2.1.
Authentication
The MCP server supports two authentication methods depending on how your AI client connects.
| Method | When to use | How it works |
|---|---|---|
| API Key | Hosted HTTP (Cursor, Windsurf, …) or local stdio (@onlypult/mcp) |
Authorization: Bearer op_... header, or ONLYPULT_API_KEY in stdio env |
| OAuth 2.1 | Claude.ai, ChatGPT, Claude Desktop (Connectors) | OAuth Authorization Code + PKCE — user logs in once via browser |
OAuth 2.1
When adding the hosted MCP server to Claude.ai, ChatGPT or other cloud AI platforms, authentication happens via OAuth 2.1 Authorization Code + PKCE. The AI client redirects the user to the Onlypult consent page — no manual API key setup required.
How the flow works
GET /.well-known/oauth-authorization-server
GET /authorize?client_id=claude&code_challenge=...&state=...
app.onlypult.com/mcp-oauth/authorize?session_id=...
mcp.onlypult.com/callback?code=AUTH_CODE&session_id=...
AUTH_CODE to AI client via redirect_uri?code=...&state=...
POST /token {code, code_verifier}
POST /v1/oauth/mcp/exchange-code {code} on Onlypult API (internal, protected by shared secret)
omt_... access token + opr_... refresh — MCP server returns OAuth token response (expires_in: 30 days)
Authorization: Bearer omt_... — refresh via POST /token when access expires
OAuth endpoints
| Method | Path | Description |
|---|---|---|
| GET | /authorize | Start OAuth flow, redirect to consent page |
| GET | /callback | Receive auth code from dashboard after consent |
| POST | /token | Exchange code + PKCE verifier for access token |
| POST | /register | Dynamic client registration (RFC 7591) |
Pre-registered clients
These clients are pre-registered and don't need dynamic registration:
claude— redirect tohttps://claude.ai/api/mcp/auth_callbackchatgpt— redirect tohttps://chatgpt.com/aip/p/mcp/auth_callback
Any other client can register dynamically via POST /register per RFC 7591.
Connect Cursor
Cursor supports two setups. Pick based on whether you need local file upload (media_upload_file) from disk paths in your project.
| Setup | Best for | Media from disk |
|---|---|---|
@onlypult/mcp (stdio) | Posting images/videos by file path (./assets/photo.jpg) | media_upload_file |
| Hosted HTTP | Profiles, posts, scheduling — no local paths | Browser flow (media_get_upload_url) |
Option A — Local package (recommended for file uploads)
Installs automatically via npx. The MCP server runs on your machine (stdio), so it can read workspace files and upload them with media_upload_file.
Add to .cursor/mcp.json in your project root, or to global Cursor MCP settings:
{
"mcpServers": {
"onlypult": {
"command": "npx",
"args": ["-y", "@onlypult/mcp@latest"],
"env": {
"ONLYPULT_API_KEY": "op_your_api_key_here"
}
}
}
}
Requires Node.js 18+. No separate npm install — Cursor runs the package on first use.
Option B — Hosted HTTP (no install)
Connect directly to mcp.onlypult.com. Same tools except local disk upload — use the browser upload flow for images and videos.
{
"mcpServers": {
"onlypult": {
"type": "http",
"url": "https://mcp.onlypult.com/mcp",
"headers": {
"Authorization": "Bearer op_your_api_key_here"
}
}
}
}
Get your API key — see Authentication guide.
Connect Claude Desktop
Claude Desktop supports the same two modes as Cursor. claude_desktop_config.json is stdio-only (command + args) — use the local package there. For the hosted server, add a connector in the app UI (not type: http in the JSON file).
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"onlypult": {
"command": "npx",
"args": ["-y", "@onlypult/mcp@latest"],
"env": {
"ONLYPULT_API_KEY": "op_your_api_key_here"
}
}
}
}
Requires Node.js 18+. Enables media_upload_file from paths on your machine.
Open Claude Desktop → Settings → Connectors → Add custom connector:
- Name:
Onlypult - URL:
https://mcp.onlypult.com/mcp
Click Connect → sign in with Onlypult → Allow access (OAuth). No API key paste. Use browser upload for media (media_get_upload_url).
Same flow as Claude.ai — see step-by-step guide if Connectors look different on your build.
Restart Claude Desktop after saving the config file or adding a connector.
Other MCP clients
Any MCP-compatible app can connect to Onlypult. Config file location varies; the JSON shape is the same.
| Goal | Config |
|---|---|
| No install — posts, scheduling, browser media upload | Hosted https://mcp.onlypult.com/mcp + API key header or OAuth (if the client supports remote MCP) |
Upload files by disk path (media_upload_file) | Local stdio — npx -y @onlypult/mcp@latest + ONLYPULT_API_KEY |
Examples: Windsurf (.windsurf/mcp.json), Cursor (.cursor/mcp.json), Claude Desktop (claude_desktop_config.json), OpenAI Codex, Google Antigravity — check your app's MCP / Integrations settings and paste the same block as in Cursor local setup or hosted HTTP setup, depending on whether the client supports remote servers.
Local stdio template (copy into your client's MCP config):
{
"mcpServers": {
"onlypult": {
"command": "npx",
"args": ["-y", "@onlypult/mcp@latest"],
"env": {
"ONLYPULT_API_KEY": "op_your_api_key_here"
}
}
}
}
Connect Claude.ai
Claude.ai connects to Onlypult via OAuth 2.1 — no API key needed. Add a custom connector in settings, authorize once, then use MCP tools directly in chat.
Step-by-step guide with screenshots: Connect Onlypult to Claude.ai →
Quick summary:
- Settings → Connectors — click Add → Add custom connector
- Name
Onlypult, URLhttps://mcp.onlypult.com/mcp→ Add - Click Connect → sign in with Onlypult → Allow access
- In chat, ask e.g. Show my connected social profiles — approve tool calls when prompted
Free plan: Claude.ai allows one custom connector on the free tier. Remove an existing connector first if the slot is taken.
Connect ChatGPT
ChatGPT connects to Onlypult via OAuth 2.1 — no API key paste. There are two ways to add the MCP server, depending on your ChatGPT plan and available settings.
Option A — Custom Connectors (Plus / Pro)
Available on paid plans: Settings → Connectors → Add custom connector.
Open ChatGPT Connectors
Go to Settings → Connectors → Add custom connector.
Enter the server URL
https://mcp.onlypult.com/mcp
Complete authorization
ChatGPT will redirect you to the Onlypult login and consent page. After approval the integration is active.
Option B — Developer mode (free)
No Connectors menu? Use ChatGPT Developer mode instead — enable it under Settings → App Preferences → Apps, create a private app with the MCP URL, authorize via OAuth, then mention @Onlypult in chat.
Step-by-step guide with screenshots: Connect Onlypult to ChatGPT →
Quick summary:
- Settings → App Preferences → Apps — enable Developer mode in Advanced settings
- Create app — name
Onlypult, Server URLhttps://mcp.onlypult.com/mcp, Authentication OAuth - Connect → Sign in with Onlypult → Allow access
- In chat, type
@Onlypultbefore your request (e.g. @Onlypult Show my connected social profiles)
Available Tools
The tool reference is split in two — pick the one you need:
Publishing tools
Profiles, posts, scheduling, hashtags and media uploads — everything for putting content out.
Analytics tools
Followers, reach, engagement, top posts and posting times for Instagram, Facebook, LinkedIn, TikTok and X.
All tools share the same connection and credentials described above — connect once, and both groups are available in the same MCP session.