Skip to main content
Hosted MCP + REST API

Connect Any AI Agent in Minutes

SocialLinks exposes a single Streamable HTTP MCP server supporting both 1-click OAuth 2.1 browser login and Bearer API Keys—plus a simple REST API.

Hosted MCP Endpoint

http://localhost:3000/api/mcp

In Claude or ChatGPT Custom Connectors, paste this URL to trigger automatic OAuth 2.1 login with an explicit approval screen. For CLI and custom agents (Claude Code, Gemini CLI, Hermes), pass Authorization: Bearer sl_live_YOUR_API_KEY.

Claude Code

claude mcp add --transport http sociallinks http://localhost:3000/api/mcp \
  --header "Authorization: Bearer sl_live_YOUR_KEY"

Hermes Agent

mcp_servers:
  sociallinks:
    transport: streamable_http
    url: "http://localhost:3000/api/mcp"
    headers:
      Authorization: "Bearer sl_live_YOUR_KEY"

Gemini MCP Config

{
  "mcpServers": {
    "sociallinks": {
      "httpUrl": "http://localhost:3000/api/mcp",
      "headers": { "Authorization": "Bearer sl_live_YOUR_KEY" }
    }
  }
}

Direct REST API

curl -X POST http://localhost:3000/api/v1/posts \
  -H "Authorization: Bearer sl_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"account_ids":["ID"],"text":"Hello!"}'

Available MCP Tools

list_connected_accounts

Returns your connected Facebook, Instagram, X, and LinkedIn accounts with limits and approval settings.

stage_media

Stages an image or video from a public HTTPS URL (or base64) and returns a media_id.

create_post

Publishes immediately, schedules for later, or queues for human approval if enabled on the account.

list_posts

Inspects recent, scheduled, pending-approval, and published posts with live URLs.

cancel_post

Cancels a scheduled post or a post waiting for human approval.

Ready to connect your accounts?

Create a workspace to link Facebook, Instagram, X, and LinkedIn and generate your API key.

Create Account