MCP Harnesses 4 min read

How to Post to X (Twitter) and LinkedIn Directly from Claude Code, Cursor & Grok Bot via MCP

Learn how to publish release notes, launch threads, and LinkedIn company updates straight from your IDE or AI agent without opening a social media dashboard.

QUICKSTART CODE / MCP CONFIGURATION
// ~/.cursor/mcp.json or .mcp.json
{
  "mcpServers": {
    "nuntior": {
      "url": "https://mcp.nuntior.com/mcp"
    }
  }
}

// Prompt inside Cursor / Claude Code / Grok Bot:
// "Register a Nuntior workspace for dev@company.com, connect my X and LinkedIn accounts,
//  and publish our v2.4 changelog with the link placed in the first X reply."

1. Zero-Browser Onboarding with account_register

Unlike traditional social APIs that force you to sign up in a browser first, Nuntior exposes the account_register MCP tool. Your agent calls account_register with your email and workspace name, immediately receiving a live nnt_live_... API key and default profileId.

2. Stage-Then-Auth OAuth Flow ("Return to your Agent")

When you ask your agent to publish to X or LinkedIn before connecting an account, Nuntior stages the post and returns a 1-Click OAuth link (https://nuntior.com/v1/oauth/x/start?...). As soon as you click Authorize, Nuntior automatically publishes the staged post and closes the browser tab so you never leave your agent conversation.

3. Cross-Posting to LinkedIn Personal & Organization Pages

Nuntior supports both LinkedIn Personal profiles and LinkedIn Organization Pages (Community Management API) out of the box, converting Markdown formatting and attaching canonical OpenGraph previews automatically.

Ready to run this workflow live?
Connect https://mcp.nuntior.com/mcp or mint an API key in 5 seconds.
Open Developer Console → ← All Guides