Manage Social Media From Your AI

Use SociaHive via CLI, MCP Server, or REST API. Control posts, flows, and analytics from your terminal or AI agent.

Comparing AI agents and MCP servers for marketing? See the hub: MCP for social media automation.

Get started in three steps

Step 01

Create an API Key

Go to Settings → API Keys, create a key with the scopes you need, and copy it. The key starts with sk_ and is shown only once.

Step 02

Connect Your Tool

Set the SOCIAHIVE_API_KEY environment variable, then configure your CLI, MCP client, or HTTP headers.

Step 03

Start Building

Manage posts, automate flows, view analytics, and more — all programmatically from your terminal or AI agent.

Command-Line Interface

The sociahive CLI lets you manage everything from your terminal. List accounts, create posts, schedule content, and build automation flows — all with simple commands that output JSON for easy piping and scripting.

Perfect for shell scripts, CI/CD pipelines, and quick ad-hoc operations.

Terminal
# Set your API key (needs the 'agent:execute' scope)
export SOCIAHIVE_API_KEY="sk_your_key_here"
export SOCIAHIVE_API_URL="https://sociahive.com"

# Authenticated identity
sociahive whoami

# List connected accounts
sociahive accounts list

# Schedule a post for tomorrow at 9am
sociahive posts create \
  --text "Hello from the CLI!" \
  --platforms '[{"platform":"instagram","accountId":"..."}]' \
  --scheduled-at "2026-05-07T09:00:00Z"

# Publish a draft right now (irreversible — --yes auto-confirms)
sociahive posts publish 64f8aa6e... --yes

# Generate a flow with AI
sociahive flows generate \
  --description "Auto-reply to comments containing 'price'" \
  --account-id <account_id> \
  --platform-user-id <platform_user_id>

Install in one click

Pick the AI assistant you already use. Cursor installs via deep-link; Claude and ChatGPT discover our OAuth server and walk you through consent.

Add to Cursor

One-click deep-link install. Cursor opens, populates the MCP config, and you replace the placeholder API key.

Open Cursor

Requires Cursor v0.45 or newer

Add to Claude Desktop

Copy the MCP server config, paste into Claude Desktop → Settings → MCP Servers, and restart.

Then restart Claude Desktop

Add to Claude.ai

Connect via Custom Connectors with OAuth — no API key paste, scoped consent screen. Approve and you're in.

Open Claude.ai

Server URL: https://www.sociahive.com/api/mcp

Add to ChatGPT

ChatGPT Custom Connectors discover our OAuth server automatically. Paste the URL, approve scopes, done.

Open ChatGPT

Server URL: https://www.sociahive.com/api/mcp

MCP Server for AI Agents

Connect SociaHive to Claude Code, Claude Desktop, Cursor, or any MCP-compatible AI agent. Your AI can create posts, build flows, and check analytics through natural language.

40+ tools available — posts, flows, analytics, connected accounts, contacts, and more. Every tool runs as the authenticated user, so your tier limits and billing apply automatically.

claude_desktop_config.json
{
  "mcpServers": {
    "sociahive": {
      "url": "https://sociahive.com/api/mcp",
      "headers": {
        "X-API-Key": "sk_your_key_here"
      }
    }
  }
}

Direct HTTP / Custom Clients

Every tool is reachable as a JSON-RPC tools/call against /api/mcp. Authenticate with X-API-Key. Works with any language or HTTP client.

Build custom integrations, connect to Zapier or Make, or integrate SociaHive into your existing workflow tools — same path, same audit trail, same tier enforcement as the CLI and Claude Desktop.

Terminal
# Every tool call goes through the unified MCP endpoint.
# The CLI and Claude Desktop both use this transport.

# Initialize a session, then call a tool (JSON-RPC over HTTP):
curl -X POST \
  -H "X-API-Key: sk_your_key_here" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"list_flows","arguments":{}}}' \
  https://sociahive.com/api/mcp

# Tip: the 'sociahive' CLI handles session lifecycle for you —
# prefer it over raw HTTP for one-shot scripts.

What you can do

Manage Posts

Create, schedule, publish, and cancel posts across platforms.

Automate Flows

Build and manage DM automation flows with triggers and actions.

Schedule Content

Plan your content calendar and schedule posts for optimal times.

View Analytics

Track post performance and engagement metrics programmatically.

AI Flow Generation

Describe what you need in plain English and let AI build the flow.

Connected Accounts

List and manage connected social media accounts and platforms.

Ready to automate?

Get Your API Key