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/mcpThe 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
Open Settings, then Connectors
Choose Add custom connector.
Enter the name and address
Name it SocialWire and paste this address.
Server addresshttps://api.zaynstack.com/mcp
Approve access
A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.
Switch it on in a chat
In a new chat open the + menu, choose Connectors and turn SocialWire on.
Claude Code
Add the server
Add --scope user before the address to use it in every project.
Terminalclaude mcp add --transport http socialwire https://api.zaynstack.com/mcp
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.
Check it
Terminalclaude 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.
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.
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 URLhttps://api.zaynstack.com/mcp
Approve access
A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.
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
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" } } }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
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
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.
Terminalcodex mcp add social-hub --url https://api.zaynstack.com/mcp
Check it
To sign in again later, run codex mcp login social-hub.
Terminalcodex mcp list
Config file
Add the entry
~/.codex/config.toml[mcp_servers.social-hub] url = "https://api.zaynstack.com/mcp"
Sign in
Terminalcodex mcp login social-hub
Without a browser (CI, containers)
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"
Set the variable
Keep the key out of the config file and out of git.
Terminalexport 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
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" } } }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
Run MCP: Add Server
Pick HTTP as the type, paste this address, then choose Global or Workspace.
Server addresshttps://api.zaynstack.com/mcp
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
Add the server
~/.hermes/config.yamlmcp_servers: social-hub: url: "https://api.zaynstack.com/mcp" auth: oauthSign in
A browser window opens on SocialWire. Sign in if asked, check the app name, and choose Allow.
Terminalhermes mcp login social-hub
Start using it
Start a new hermes chat, or type /reload-mcp in a running one.
With an API key
Store the key
~/.hermes/.envSOCIAL_HUB_KEY=sh_live_xxxxxxxxxxxxxxxx
Reference it
Leave auth: oauth out.
~/.hermes/config.yamlmcp_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
Add the server
Keep the transport flag: without it OpenClaw falls back to SSE, which this server does not offer.
Terminalopenclaw mcp add social-hub \ --url https://api.zaynstack.com/mcp \ --transport streamable-http \ --auth oauth
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.
Terminalopenclaw mcp login social-hub
Check it
Terminalopenclaw mcp probe social-hub
With an API key
Set the variable
Terminalexport SOCIAL_HUB_KEY=sh_live_xxxxxxxxxxxxxxxx
Save the server without auth
Terminalopenclaw 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
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
List the tools
The server speaks Streamable HTTP: one JSON-RPC message per POST, answered as JSON.
Terminalcurl 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"}'Call one
Terminalcurl 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_capabilityneeds it, to say what no tool could do. - A failed call returns one JSON object:
{ code, error, status, ...meta }, with the samecodethe REST API uses (for exampleaccount.reconnection_requiredorpublishing.velocity_limit) andretry_afterwhen the agent should wait. social_hub_update_account_permissionstakes apermissionslist orunrestricted: 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.