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.

📄

AI-readable version: mcp.md — plain Markdown for agents and LLMs. Index: llms.txt

🔗

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:

Setup

The hosted MCP server at mcp.onlypult.com requires no local installation. Configure your AI client to connect over HTTP, then authenticate.

1

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/settingsAPI Keys.

2

Configure your client

Pick your client below. Hosted HTTP needs no install; local stdio (@onlypult/mcp) adds media_upload_file from disk paths.

3

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

AI client Discovers OAuth server at GET /.well-known/oauth-authorization-server
AI client Starts flow: GET /authorize?client_id=claude&code_challenge=...&state=...
MCP server Redirects user to app.onlypult.com/mcp-oauth/authorize?session_id=...
Dashboard User logs in (if needed) and clicks Allow access
Dashboard Redirects to mcp.onlypult.com/callback?code=AUTH_CODE&session_id=...
MCP server Forwards AUTH_CODE to AI client via redirect_uri?code=...&state=...
AI client Exchanges code: POST /token {code, code_verifier}
MCP server Calls POST /v1/oauth/mcp/exchange-code {code} on Onlypult API (internal, protected by shared secret)
Onlypult API Returns omt_... access token + opr_... refresh — MCP server returns OAuth token response (expires_in: 30 days)
AI client All subsequent requests use Authorization: Bearer omt_... — refresh via POST /token when access expires

OAuth endpoints

MethodPathDescription
GET/authorizeStart OAuth flow, redirect to consent page
GET/callbackReceive auth code from dashboard after consent
POST/tokenExchange code + PKCE verifier for access token
POST/registerDynamic client registration (RFC 7591)

Pre-registered clients

These clients are pre-registered and don't need dynamic registration:

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.

SetupBest forMedia from disk
@onlypult/mcp (stdio)Posting images/videos by file path (./assets/photo.jpg)media_upload_file
Hosted HTTPProfiles, posts, scheduling — no local pathsBrowser 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.

GoalConfig
No install — posts, scheduling, browser media uploadHosted 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:

  1. Settings → Connectors — click Add → Add custom connector
  2. Name Onlypult, URL https://mcp.onlypult.com/mcpAdd
  3. Click Connect → sign in with Onlypult → Allow access
  4. 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.

1

Open ChatGPT Connectors

Go to Settings → Connectors → Add custom connector.

2

Enter the server URL

https://mcp.onlypult.com/mcp
3

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:

  1. Settings → App Preferences → Apps — enable Developer mode in Advanced settings
  2. Create app — name Onlypult, Server URL https://mcp.onlypult.com/mcp, Authentication OAuth
  3. ConnectSign in with Onlypult → Allow access
  4. In chat, type @Onlypult before your request (e.g. @Onlypult Show my connected social profiles)

Available Tools

The tool reference is split in two — pick the one you need:

All tools share the same connection and credentials described above — connect once, and both groups are available in the same MCP session.