# PubNio Hosted MCP for AI Agents

Connect Claude Code, OpenAI Codex, OpenAI Dots, Cursor, OpenCode, Grok & Grok Bot, Muse & Muse Code, or any OAuth-capable MCP client to https://pubnio.com/mcp. The server exposes two Code Mode tools, search and execute, which reach the same workspace, account, media, and publishing operations as the HTTP API, with $0 per connected account.

- Human page: https://pubnio.com/agents
- Hosted MCP endpoint: https://pubnio.com/mcp
- OAuth protected resource metadata: https://pubnio.com/.well-known/oauth-protected-resource/mcp
- Pricing: https://pubnio.com/pricing.md ($0/account, 100 free confirmed publishes/mo)

## Client setup guides

- [Claude & Claude Code](https://pubnio.com/claude) ([Markdown](https://pubnio.com/claude.md)): Run claude mcp add --transport http pubnio https://pubnio.com/mcp, open /mcp in Claude Code to complete browser OAuth sign-in, and Claude can use PubNio's search and execute tools to import media, publish from text plus an account or platform, and confirm delivery to Facebook Pages, Instagram, LinkedIn, Pinterest, TikTok, X, and YouTube.
- [OpenAI Codex](https://pubnio.com/codex) ([Markdown](https://pubnio.com/codex.md)): Add PubNio to OpenAI Codex with codex mcp add pubnio --url https://pubnio.com/mcp followed by codex mcp login pubnio. Once browser OAuth finishes, Codex can use the search and execute tools to list workspaces and connected accounts, publish from text plus an account or platform, and verify confirmed delivery outcomes.
- [Cursor](https://pubnio.com/cursor) ([Markdown](https://pubnio.com/cursor.md)): Add https://pubnio.com/mcp under mcpServers.pubnio in .cursor/mcp.json, then open Cursor's MCP settings to complete browser OAuth sign-in. Cursor agents can then use the search and execute tools to publish and verify social posts across Facebook, Instagram, LinkedIn, Pinterest, TikTok, X, and YouTube directly from your repo.
- [OpenCode](https://pubnio.com/opencode) ([Markdown](https://pubnio.com/opencode.md)): Register PubNio in OpenCode with opencode mcp add pubnio --url https://pubnio.com/mcp and opencode mcp auth pubnio. After browser OAuth completes, OpenCode can use the search and execute tools to inspect workspace accounts, publish from text plus an account or platform, and confirm live social deliveries across 7 platforms.
- [Grok & Grok Bot](https://pubnio.com/grok) ([Markdown](https://pubnio.com/grok.md)): Add https://pubnio.com/mcp as a custom remote MCP connector in Grok (grok.com/connectors) or pass it in the xAI API tools array, complete OAuth sign-in, and Grok or Grok Bot can use the search and execute tools to draft, schedule, and verify live social posts across Facebook, Instagram, LinkedIn, Pinterest, TikTok, X, and YouTube.
- [OpenAI Dots](https://pubnio.com/dots) ([Markdown](https://pubnio.com/dots.md)): Add https://pubnio.com/mcp as a custom remote MCP server in your ChatGPT workspace connector settings and complete OAuth sign-in. Your always-on OpenAI Dots automatically inherit PubNio's search and execute tools for publishing, scheduling, and analytics across long-running background workflows.
- [Muse & Muse Code](https://pubnio.com/muse) ([Markdown](https://pubnio.com/muse.md)): Add PubNio's Streamable HTTP endpoint (https://pubnio.com/mcp) under mcp_servers in ~/.config/muse/settings.json, run muse mcp login pubnio to finish browser OAuth, and verify with /mcp. Meta Muse and Muse Code can then use the search and execute tools to publish, schedule, and verify delivery across 7 platforms.

## Install the skill

- skills.sh: `npx skills add pubnio/agent-skills`
- Claude Code: `claude plugin marketplace add pubnio/agent-skills` then `claude plugin install pnio@pubnio`
- ClawHub: https://clawhub.ai/pubnio/skills/pnio
- Official MCP Registry: https://registry.modelcontextprotocol.io/v0.1/servers?search=com.pubnio/pubnio
- MCP server card: https://pubnio.com/.well-known/mcp/server-card.json

## MCP interface

`tools/list` exposes exactly two tools: `search` and `execute`. `search` finds the exact operation and schema; `execute` runs the job. The rows below are publishing jobs, not separate MCP tools.

### Discover & run

- `search`: Filter the caller's permission-scoped OpenAPI contract to find the exact operation, parameters, and schema. No network access.
- `execute`: Send authenticated operations and bounded waits inside a 30-second sandbox.

### Workspaces & accounts

- List workspaces and ready accounts: Choose the workspace and exact publishing accounts. API keys already know their workspace.
- Start or check an account connection: Return a browser OAuth URL for a person, then check the attempt when consent finishes.

### Capabilities

- Read capabilities and limits: Inspect providers, placements, media rules, scopes, and limits before publishing.

### Media

- Import or upload media: Stage an HTTPS asset or a small base64 file in the workspace for delivery.
- Check media readiness: Wait for ready or failed media before submitting a post.

### Posts & delivery

- Create, draft, or schedule a post: Submit from text plus a platform or account, save a draft, or schedule a future delivery.
- Read delivery status: Read per-destination status, provider reference, URL, issue, retry, and reconcile state.
- Validate a saved draft: Dry-run a draft for readiness, captions, media, and settings without submitting.
- Retry a failed target: Retry a failed target with evidence that the provider did not publish it.
- Reconcile an unresolved target: Recheck a recorded provider receipt without submitting again.

## FAQs

### What is the PubNio MCP endpoint?

PubNio serves Streamable HTTP MCP at https://pubnio.com/mcp. Connect an OAuth-capable client, complete browser sign-in, and use the search and execute tools to inspect the filtered OpenAPI contract and run authenticated publishing calls.

### How do I install the PubNio skill?

Run npx skills add pubnio/agent-skills for Claude Code, Codex, Cursor, OpenCode, and other skill-compatible agents. Claude Code can also add the plugin marketplace with claude plugin marketplace add pubnio/agent-skills, then install pnio@pubnio. The same skill is published on ClawHub for OpenClaw.

### Which agents and clients are supported?

Claude Code, OpenAI Codex, OpenAI Dots, Cursor, OpenCode, Grok and Grok Bot, Meta Muse and Muse Code, and any other OAuth-capable MCP client. The skill is also installable in agents that support the open Agent Skills format.

### Is hosted MCP included on every plan?

Yes. REST API, TypeScript SDK, Python SDK, CLI, and hosted MCP access are included on every plan. Connected accounts are $0 and Pay as you go includes 100 free confirmed publishes per month.
