Skip to main content
Connect SocialAPI to Cursor and ask Agent mode to list your connected accounts, reply to comments, send direct messages (DMs), and publish posts. Cursor connects to SocialAPI’s MCP server at 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.
Cursor supports both the SSE and Streamable HTTP transports for remote servers.

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:
SocialAPI tools appear under Available Tools, and Cursor calls them when a request needs them. You can also name a tool in your prompt. Cursor calls social_api_list_accounts and answers with your connected accounts and their platforms.

Troubleshooting

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.
Click Needs login to run the sign-in. Authorization has not happened yet, or the session expired.
The OAuth session expired. Remove the SocialAPI server from Cursor and add it again to sign in again.
Last modified on October 13, 2026