https://api.social-api.ai/mcp and signs in with OAuth 2.1, so you create no API key and put no credentials in the config.
Prerequisites
- Cursor installed.
- A SocialAPI account with at least one connected account.
Set up with the config file
1
Add the server
Add this to the project config
.cursor/mcp.json or the global config ~/.cursor/mcp.json:2
Authorize
The first time you use a SocialAPI tool, Cursor opens your browser on the SocialAPI authorization page. Log in and click Authorize. Cursor stores and refreshes the token.
Set up with the Settings UI
1
Open MCP settings
Open Cursor Settings (gear icon) and go to Tools & Integrations.
2
Add the server
Under MCP Tools, click Add Custom MCP and enter
https://api.social-api.ai/mcp as the URL.3
Authorize
Click Needs login and authorize in the browser window that opens.
Try it
Open Agent mode and ask:social_api_list_accounts and answers with your connected accounts and their platforms.
Troubleshooting
The connection fails
The connection fails
Open the Output panel (
Cmd+Shift+U on macOS, Ctrl+Shift+U on Windows and Linux) and select MCP Logs in the dropdown. Check that the URL is exactly https://api.social-api.ai/mcp.The server shows Needs login
The server shows Needs login
Click Needs login to run the sign-in. Authorization has not happened yet, or the session expired.
Tool calls fail with HTTP 401
Tool calls fail with HTTP 401
The OAuth session expired. Remove the SocialAPI server from Cursor and add it again to sign in again.
Related
- SocialAPI MCP server: the server URL and the other supported clients.
- MCP tools reference: every tool Cursor can call.
- OAuth for MCP clients: how the sign-in works.
- Errors: every error code a tool can return.