Skip to main content
Connect SocialAPI to VS Code and ask Copilot Chat in Agent mode to list your connected accounts, reply to comments, send direct messages (DMs), and publish posts. VS Code 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.

Prerequisites

  • VS Code 1.101 or later with the GitHub Copilot extension.
  • A GitHub Copilot subscription: Individual, Business, or Enterprise.
  • A SocialAPI account with at least one connected account.

Set up with the config file

1

Add the server

Create or edit .vscode/mcp.json in your workspace, or add the entry to your user profile for all workspaces:
2

Authorize

VS Code shows a CodeLens above the server entry. Click Auth and authorize in the browser window that opens.

Set up with the Command Palette

1

Add the server

Open the Command Palette (Ctrl+Shift+P on Windows and Linux, Cmd+Shift+P on macOS) and run MCP: Add Server. Select HTTP as the server type and enter https://api.social-api.ai/mcp.
2

Choose a scope

Choose Global for your user profile or Workspace for this workspace.
3

Authorize

Click the Auth CodeLens and authorize in the browser window that opens.

Try it

Open Copilot Chat, switch to Agent mode, and ask:
Copilot calls social_api_list_accounts and answers with your connected accounts and their platforms.

Troubleshooting

Check that VS Code is version 1.101 or later and that the GitHub Copilot extension is installed and active. The CodeLens appears above the server entry in .vscode/mcp.json.
Check that the url is exactly https://api.social-api.ai/mcp and that type is http.
The OAuth session expired. Click Auth above the server entry again to sign in again.
Last modified on October 13, 2026