SocialWire

Connect your AI agent to SocialWire

SocialWire has a built-in MCP server. Add one address to your AI client and it can list your accounts, publish and schedule posts, and answer comments, messages and reviews: 90 tools, the same operations as the HTTP API.

MCP server address

https://api.zaynstack.com/mcp

The same address works in every client. Clients with a sign-in step open SocialWire in your browser and ask you to allow access, so there is no key to paste. Clients without one send an API key from your dashboard instead.

Set up Claude

Ask Claude on the web, desktop, phone or in Claude Code to draft, schedule and answer for you.

Signs in through your browser. No API key.

Claude on the web, desktop and mobile

  1. Open Settings, then Connectors

    Choose Add custom connector.

  2. Enter the name and address

    Name it SocialWire and paste this address.

    Server address
    https://api.zaynstack.com/mcp
  3. Approve access

    A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

  4. Switch it on in a chat

    In a new chat open the + menu, choose Connectors and turn SocialWire on.

Claude Code

  1. Add the server

    Add --scope user before the address to use it in every project.

    Terminal
    claude mcp add --transport http socialwire https://api.zaynstack.com/mcp
  2. Approve access

    Type /mcp in Claude Code, pick socialwire and sign in. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

  3. Check it

    Terminal
    claude mcp list

Set up ChatGPT

Add SocialWire as a custom connector and manage posts and replies from any chat.

Signs in through your browser. No API key.

  1. Turn on developer mode

    Open Settings, then Apps & Connectors, then Advanced settings, and switch Developer mode on. Custom connectors need a plan that includes them; in a workspace an admin may have to allow it.

  2. Create the connector

    Back in Apps & Connectors choose Create. Name it SocialWire, paste this address and keep OAuth as the sign-in method.

    MCP server URL
    https://api.zaynstack.com/mcp
  3. Approve access

    A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

  4. Use it in a chat

    Open the + menu next to the message box and pick SocialWire, then ask for what you need.

Set up Cursor

Let Cursor's agent publish release notes or check comments without leaving the editor.

Signs in through your browser. No API key.

Config file

  1. Add the server

    Put this in .cursor/mcp.json in a project, or in ~/.cursor/mcp.json for every project.

    .cursor/mcp.json
    {
      "mcpServers": {
        "social-hub": {
          "url": "https://api.zaynstack.com/mcp"
        }
      }
    }
  2. Approve access

    Open Cursor Settings, find social-hub under MCP and choose Needs login. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

With an API key instead

  1. Send the key as a header

    Create a key on the API & webhooks screen and use it in place of the placeholder.

    .cursor/mcp.json
    {
      "mcpServers": {
        "social-hub": {
          "url": "https://api.zaynstack.com/mcp",
          "headers": {
            "Authorization": "Bearer sh_live_xxxxxxxxxxxxxxxx"
          }
        }
      }
    }

Set up Codex

One command gives the Codex CLI, IDE extension and desktop app the SocialWire tools.

Browser sign-in, or an API key on machines without a browser.

Command line

  1. Add the server

    Codex saves it and opens your browser. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

    Terminal
    codex mcp add social-hub --url https://api.zaynstack.com/mcp
  2. Check it

    To sign in again later, run codex mcp login social-hub.

    Terminal
    codex mcp list

Config file

  1. Add the entry

    ~/.codex/config.toml
    [mcp_servers.social-hub]
    url = "https://api.zaynstack.com/mcp"
  2. Sign in

    Terminal
    codex mcp login social-hub

Without a browser (CI, containers)

  1. Point Codex at an environment variable

    ~/.codex/config.toml
    [mcp_servers.social-hub]
    url = "https://api.zaynstack.com/mcp"
    bearer_token_env_var = "SOCIAL_HUB_KEY"
  2. Set the variable

    Keep the key out of the config file and out of git.

    Terminal
    export SOCIAL_HUB_KEY=sh_live_xxxxxxxxxxxxxxxx

Set up VS Code

Use SocialWire from GitHub Copilot's agent mode in VS Code 1.101 or later.

Signs in through your browser. No API key.

Config file

  1. Add the server

    Create .vscode/mcp.json in your workspace, or add the entry to your user profile.

    .vscode/mcp.json
    {
      "servers": {
        "social-hub": {
          "type": "http",
          "url": "https://api.zaynstack.com/mcp"
        }
      }
    }
  2. Approve access

    Choose Auth above the server entry. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

Command Palette

  1. Run MCP: Add Server

    Pick HTTP as the type, paste this address, then choose Global or Workspace.

    Server address
    https://api.zaynstack.com/mcp
  2. Approve access

    Choose Auth above the new entry. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

Set up Hermes

Give a Hermes Agent gateway the tools, and post or reply from any chat it is wired to.

Browser sign-in, or an API key for a gateway without a browser.

Sign in with your browser

  1. Add the server

    ~/.hermes/config.yaml
    mcp_servers:
      social-hub:
        url: "https://api.zaynstack.com/mcp"
        auth: oauth
  2. Sign in

    A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

    Terminal
    hermes mcp login social-hub
  3. Start using it

    Start a new hermes chat, or type /reload-mcp in a running one.

With an API key

  1. Store the key

    ~/.hermes/.env
    SOCIAL_HUB_KEY=sh_live_xxxxxxxxxxxxxxxx
  2. Reference it

    Leave auth: oauth out.

    ~/.hermes/config.yaml
    mcp_servers:
      social-hub:
        url: "https://api.zaynstack.com/mcp"
        headers:
          Authorization: "Bearer ${SOCIAL_HUB_KEY}"

Set up OpenClaw

Let the agents behind every channel of your OpenClaw gateway publish and answer.

Browser sign-in, or an API key for a gateway without a browser.

Sign in with your browser

  1. Add the server

    Keep the transport flag: without it OpenClaw falls back to SSE, which this server does not offer.

    Terminal
    openclaw mcp add social-hub \
      --url https://api.zaynstack.com/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    OpenClaw prints an address to open. A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.

    Terminal
    openclaw mcp login social-hub
  3. Check it

    Terminal
    openclaw mcp probe social-hub

With an API key

  1. Set the variable

    Terminal
    export SOCIAL_HUB_KEY=sh_live_xxxxxxxxxxxxxxxx
  2. Save the server without auth

    Terminal
    openclaw mcp set social-hub '{"url":"https://api.zaynstack.com/mcp","transport":"streamable-http","headers":{"Authorization":"Bearer ${SOCIAL_HUB_KEY}"}}'

Any MCP client

Anything that speaks the Model Context Protocol over HTTP can connect with an API key.

API key in the Authorization header, or OAuth 2.1 if the client supports it.

Config file

  1. Add the server with your key

    Most clients take a block like this. Some name the field differently: check your client's MCP settings.

    MCP config
    {
      "mcpServers": {
        "social-hub": {
          "url": "https://api.zaynstack.com/mcp",
          "headers": {
            "Authorization": "Bearer sh_live_xxxxxxxxxxxxxxxx"
          }
        }
      }
    }

Plain HTTP

  1. List the tools

    The server speaks Streamable HTTP: one JSON-RPC message per POST, answered as JSON.

    Terminal
    curl https://api.zaynstack.com/mcp \
      -H "Authorization: Bearer $SOCIAL_HUB_KEY" \
      -H "Content-Type: application/json" \
      -H "Accept: application/json, text/event-stream" \
      -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
  2. Call one

    Terminal
    curl https://api.zaynstack.com/mcp \
      -H "Authorization: Bearer $SOCIAL_HUB_KEY" \
      -H "Content-Type: application/json" \
      -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"social_hub_list_accounts","arguments":{}}}'

Try it

Once the client is connected, ask it:

List my connected social accounts

The agent calls social_hub_list_accounts and answers with your accounts. Publishing, replying and deleting act on your real accounts: most clients ask you to confirm those calls first. To limit an agent to some operations or brands, connect it with a scoped API key.

How the tools behave

  • Every tool takes an optional context: one short sentence on why the call is made. It is never sent on to the API. Describe people by role, not by name. social_hub_report_missing_capability needs it, to say what no tool could do.
  • A failed call returns one JSON object: { code, error, status, ...meta }, with the same code the REST API uses (for example account.reconnection_required or publishing.velocity_limit) and retry_after when the agent should wait.
  • social_hub_update_account_permissions takes a permissions list or unrestricted: true.
  • Signing in uses OAuth with PKCE: the code from the sign-in page is valid for 10 minutes. Clients that read server cards find this server at https://api.zaynstack.com/.well-known/mcp/server-card.json.

MCP server reference: sign-in details, the error shape and every tool.

If something does not work

The sign-in window does not open
Allow pop-ups for the client, or copy the address it prints into your browser. Ad blockers can stop the trip back to the client.
Tool calls answer 401
The sign-in has expired or the key was deleted. Remove the server from the client and add it again, or create a new key.
A tool answers account.reconnection_required
The platform stopped accepting that account's sign-in. Reconnect the account in the dashboard, then ask again.
The client says the server does not respond
Check that the address is exactly the one above and that the client uses the HTTP (streamable) transport, not SSE or stdio.