MCP Server Integration
Connect auto-social.io tools directly to Cursor, Claude Desktop, and AI agents via Model Context Protocol.
The Model Context Protocol (MCP) allows AI assistants like Cursor, Claude Desktop, and autonomous agents to discover and invoke auto-social.io actions directly.
Remote MCP Endpoint
auto-social.io exposes a standards-compliant Streamable HTTP MCP server:
Supported Protocols
- Transport: Streamable HTTP and JSON-RPC 2.0 POST.
- Authentication: Bearer token via
Authorization: Bearer ask_...or OAuth 2.0 PKCE. - OAuth client registration: Pre-registered clients (Cursor, Claude) or Client ID Metadata Documents (CIMD).
OAuth client registration
auto-social.io supports two MCP authorization client registration paths:
- Pre-registration for known integrations (Cursor, Claude).
- Client ID Metadata Documents (CIMD) for third-party MCP clients with no prior relationship.
Discovery endpoints:
The authorization server advertises client_id_metadata_document_supported: true.
Pre-registered client (Cursor and Claude)
Use this when your MCP host already ships with a fixed OAuth client.
| Field | Value |
|---|---|
client_id | auto-social-mcp |
| Scopes | mcp:tools |
| Token auth | Public client (token_endpoint_auth_method: none) + PKCE S256 |
Supported redirect URIs:
Cursor (OAuth, recommended) in .cursor/mcp.json:
Claude uses the same pre-registered client_id with redirect URI https://claude.ai/api/mcp/auth_callback.
Need another redirect URI for a pre-registered integration? Open a support request or PR adding it to the mcp_oauth_clients allowlist.
Client ID Metadata Documents (third-party clients)
If you build your own MCP client, host a JSON metadata document at an HTTPS URL and use that URL as client_id.
Requirements:
client_idURL useshttps://and includes a path (for examplehttps://your-app.com/oauth/mcp-client.json).- Document includes
client_id,client_name, andredirect_uris. - Document
client_idmatches the URL exactly. - Authorization request
redirect_uriis listed inredirect_uris.
Example metadata document:
On authorize, auto-social.io fetches the document, validates it, and caches it using HTTP cache headers when present.
Configuring Cursor
To use auto-social.io tools inside Cursor:
- Open Cursor Settings, Features, MCP Servers.
- Click Add New MCP Server.
- Choose
HTTPas transport type. - Set URL to
https://auto-social.io/api/mcp. - Click Authenticate (OAuth with pre-registered
auto-social-mcp) or setAuthorization: Bearer ask_your_api_key.
Alternatively, configure your project's .cursor/mcp.json with OAuth (recommended) or an API key:
API key fallback:
Configuring Claude Code
Complete the OAuth browser flow when prompted. You can also pass an API key with a Bearer header if your MCP host supports custom headers.
Available MCP Tools
When connected, your agent receives full schemas and descriptions for all registry tools (same set as REST and CLI). Highlights:
Brands
list_brands/get_brand/create_brand/update_brand/delete_brandanalyze_brand/get_brand_analysis_runassign_brand_integrations/set_brand_weekly_refresh
Prefer get_brand to read a profile. Call analyze_brand only when the user asked to analyze, or right after create_brand with URLs/accounts. See Brands.
Campaigns and account
list_campaigns/get_campaign_status/pause_campaign/resume_campaigncreate_campaign/update_campaignlist_integrations/get_accountsearch_docs: product help (credits, plans, formats, MCP/CLI). Short English keyword query.
Posts and media
list_posts/get_post/create_postgenerate_social_copy/generate_image_asset/generate_video_asset/generate_audio_assetpreview_publication/publish_postupdate_published_post/delete_published_postlist_account_posts/diagnose_publication_failure
All four media tools require post_id (from create_post or list_posts). They consume credits and do not use the sensitive confirmation_code flow. Image, video, and audio responses include a public CDN url in the compact payload (post_id, media_id, kind, url, status).
Typical content workflow: create_post → generate_* → preview_publication → publish_post.
Sensitive mutations (publish_post, campaign pause/resume/create/update, live update/delete, delete_brand) return a 6-digit confirmation_code on the first call. Retry with the same payload plus that code.
Full overview: Agent guide. OpenAPI: GET /api/v1/openapi.json.