Connect PubNio MCP to Grok & Grok Bot

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.

Hosted MCP: https://pubnio.com/mcpView as MarkdownFull MCP docs

Install in one step.

PubNio uses remote Streamable HTTP with browser OAuth, so there is no local MCP server to build or static API key to rotate.

Grok Connector · xAI Responses API
{
  "tools": [
    {
      "type": "mcp",
      "server_label": "pubnio",
      "server_url": "https://pubnio.com/mcp",
      "authorization": "Bearer pubnio_sk_..."
    }
  ]
}
Streamable HTTP · Browser OAuthHosted MCP reference
  1. 1. Add PubNio in Grok Connectors or the xAI API

    In Grok or Grok Bot, open grok.com/connectors, choose New Connector -> Custom, and paste https://pubnio.com/mcp. For automated xAI SDK loops, pass the MCP tool config above with a scoped workspace API key.

  2. 2. Authorize workspace access

    Approve the OAuth 2.1 consent prompt in your browser (or attach a workspace-scoped API key for headless API runs). Social platform tokens stay encrypted inside PubNio.

  3. 3. Run always-on social publishing from Grok Bot

    Ask Grok or Grok Bot to inspect connected accounts, stage media, publish or assign weekly queue slots, and confirm terminal delivery outcomes with idempotency keys.

Example prompt & Code Mode flow.

Once signed in, ask Grok to stage media, publish, and wait for delivery in plain language.

  • "Check my ready PubNio accounts, publish today's product release thread to X and a short update to LinkedIn, then wait until both targets confirm."
Code Mode flow · https://pubnio.com/mcp
search   -> find account and post operations
execute  -> list ready accounts => { accounts: [x: ready, linkedin: ready] }
execute  -> create post { text, platforms: ["x", "linkedin"] } => { postId: "pst_01j9..." }
execute  -> read post until settled => x: published, linkedin: published

Frequently asked questions.

Does PubNio work with both Grok web and always-on Grok Bot?

Yes. Both Grok's web connectors and always-on Grok Bot cloud VM agents speak standard remote Streamable HTTP MCP, so the same https://pubnio.com/mcp endpoint works across interactive chats and persistent background runs.

How does PubNio keep automated Grok Bot posts safe?

Every publish call supports idempotency keys, preflight validation before hitting provider APIs, and isolated per-target retries. You can also connect https://pubnio.com/mcp?readOnly=1 for read-only analytics and draft audits.

Start publishing from Grok free.

100 free confirmed publishes per month, unlimited connected accounts at $0, and zero monthly minimum.