Connect Instagram, TikTok and more social media to VS Code
To connect Instagram, TikTok and more social media to VS Code, run MCP: Add Server from the Command Palette, choose HTTP, enter https://easycoexistence.com/api/mcp and approve the OAuth sign-in in your browser. Choosing Global, then Copilot Global, keeps the server in ~/.copilot/mcp-config.json for all your workspaces, and GitHub Copilot's agent publishes, schedules, replies to comments and DMs and reads analytics through each network's official API.
Where VS Code's Global, then Copilot Global, destination saves a server for all your workspaces, unless COPILOT_HOME points elsewhere.
How VS Code signs in to identity providers other than GitHub and Microsoft Entra: Dynamic Client Registration, then client credentials if unsupported.
VS Code tries the HTTP Stream transport before falling back to SSE; easyCoexistence's endpoint answers over streamable HTTP.
The most tools one VS Code chat request can have enabled; the tools picker deselects whole MCP servers to stay under it.
Tools behind the one easyCoexistence address for publishing, comments, DMs, automations and analytics, listed for the networks you connect.
How do you add easyCoexistence to VS Code?
Through the guided flow, by URL. With the Copilot harness chosen in the Session Target dropdown, run Chat: Open Customizations from the Command Palette, select MCP Servers and choose Add Server (+). Pick HTTP (HTTP or Server-Sent Events), enter https://easycoexistence.com/api/mcp and give it the ID easycoexistence. For a personal setup, choose Global and then Copilot Global, which keeps the server out of your project, in ~/.copilot/mcp-config.json. Running MCP: Add Server from the Command Palette starts the same flow, and written by hand the entry looks like the one below, where "tools": ["*"] turns on all its tools, as in GitHub's examples for that file.
Then check that it works, as VS Code's docs advise: ask for something harmless that names the server, such as listing your connected accounts with easyCoexistence, and expand the tool call to see that list_social_accounts answered.
{
"mcpServers": {
"easycoexistence": {
"type": "http",
"url": "https://easycoexistence.com/api/mcp",
"tools": ["*"]
}
}
}Which file should hold the server?
The one your harness reads. Copilot harness sessions read the portable format, with a top-level mcpServers object, from ~/.copilot/mcp-config.json for you or from .mcp.json at the workspace root for a team; the guided flow offers that second destination when the experimental chat.mcp.workspaceRootConfig.enabled setting is on. The older VS Code format, with a servers object in .vscode/mcp.json or your user profile, serves Local harness sessions and is labeled deprecated in the guided flow.
VS Code still forwards a server from the older format to Copilot sessions unless it needs input variables, and easyCoexistence needs none, since it signs in with OAuth. From a shell, code --add-mcp writes the same entry to your user profile.
{
"servers": {
"easycoexistence": {
"type": "http",
"url": "https://easycoexistence.com/api/mcp"
}
}
}
code --add-mcp '{"name":"easycoexistence","type":"http","url":"https://easycoexistence.com/api/mcp"}'How does the sign-in work?
VS Code runs OAuth for you. When it first connects, easyCoexistence answers with the address of its sign-in; VS Code then registers itself through Dynamic Client Registration, which easyCoexistence supports, and a browser window opens for you to approve the easyCoexistence sign-in. No client ID, secret or key goes into any file.
Afterwards the Accounts menu shows the sign-in, and the command Authentication: Remove Dynamic Authentication Providers removes the registration if you want to start over. VS Code treats trust, sign-in and approval separately: trusting a server lets it start, signing in opens its service, and approvals cover each tool call. Settling one leaves the others open, so review any trust prompt before the server starts.
What can Copilot do on each network?
Whatever the tools cover on the accounts you connect, through each network's official API. Copilot sees the tools for the networks on your easyCoexistence account: it publishes to Instagram, Facebook, TikTok, YouTube and LinkedIn, replies to comments and moderates them, replies to DMs on Instagram, Messenger and WhatsApp within 24 hours of the person's last message, and reads each network's analytics. Instagram, Facebook and TikTok posts take scheduled_at for a time up to 90 days ahead, and YouTube schedules uploads itself. There are no DMs on TikTok, YouTube or LinkedIn, so the conversation stays in the comments, where Copilot replies in public.
| Publish | Conversations and data | |
|---|---|---|
| Templates to start a conversation | Replies within 24 hours; quality rating and messaging tier | |
| Photos, carousels, Reels, Stories | Comments, DMs, comment-to-DM; insights | |
| Page posts with links, photos or videos | Comments, Messenger; Page insights | |
| TikTok | Videos and photo posts | Public comment replies; account and video metrics |
| YouTube | Uploads, with YouTube's publish time | Comment replies and moderation; Analytics |
| Company Page and profile posts | Comments; Page and post statistics |
What can you ask Copilot, and how are tool calls approved?
Requests that name the account, the content and the time, with a public link for each image or video. Type # in the chat input to point at a tool by name when the agent hesitates. With the default Manual permissions, VS Code asks before each tool call: review the tool name and its input, then allow it once, for the session, for the workspace or always. Chat: Manage Tool Approval lists those approvals by MCP server.
- "Draft a LinkedIn post for our company Page from this pull request and publish it."
- "Schedule these three images as an Instagram carousel for Sunday at 6pm London time."
- "Reply to the Facebook comments on today's post that ask about pricing, and hide the spam."
- "Which TikTok videos got the most views this week? Chart them in a notebook."
- "Send our
shipping_delaytemplate to this WhatsApp number."
How does one connector reach all your networks, new ones included?
One address serves the whole easyCoexistence account, so the server you added reaches each network you connect, through that network's official API. A developer gets more than the named tools: get_social_credentials hands your code the API base and, on TikTok, YouTube and LinkedIn, a fresh token, and set_social_webhook_destination sends Instagram, Facebook and TikTok events to an HTTPS endpoint you are building, signed per account.
Coverage keeps growing. New networks join the same MCP connector and API at the same price per connection, and Copilot lists their tools once you connect an account, with nothing new to configure in VS Code.
How to set it up
- Connect your accountsIn the easyCoexistence dashboard, choose New connection and sign in with Instagram, Facebook, TikTok, Google or LinkedIn, or connect a WhatsApp number through Meta's flow.
- Add the serverRun MCP: Add Server, choose HTTP, enter https://easycoexistence.com/api/mcp and save it to Copilot Global.
- Sign in and askApprove the easyCoexistence sign-in in the browser, then ask Copilot to list your connected accounts.
Common mistakes
- Adding an Authorization header with a Partner API key. The MCP endpoint takes only tokens from easyCoexistence's own OAuth sign-in and answers other bearer tokens with a 401.
- Leaving many MCP servers enabled at once. One chat request carries at most 128 tools, so deselect the servers a task does not need in the tools picker.
- Giving Copilot a workspace path or a localhost URL for media. Images and videos are fetched from a public HTTPS address, so host the file and pass its link.
- Allowing a post without expanding the confirmation. It shows the tool's input, so check the account, the text and scheduled_at before you approve.
easyCoexistence gives GitHub Copilot in VS Code reach to your customers on Instagram, TikTok, Facebook, YouTube, LinkedIn, WhatsApp and more channels: one HTTP MCP server, OAuth sign-in and more than 35 tools in all, each on the network's official API, with every connection monitored 24/7. US$ 9 to US$ 0.75 per connection per month, falling as you add connections, with the first 3 days free.
easyCoexistence is a multichannel API and MCP server that connects AI agents such as Claude and ChatGPT to WhatsApp, Instagram, TikTok, Facebook and more. On WhatsApp it uses Coexistence: the business keeps using its number in the WhatsApp Business app while the AI works through Meta's official API.
Frequently asked questions
Is easyCoexistence in VS Code's MCP gallery?
No. You add it by URL through MCP: Add Server and sign in with OAuth, with the same address that Claude, ChatGPT and Cursor use.
Do teammates need their own sign-in?
Yes. A workspace-root .mcp.json can share the entry, but it holds no credentials, so each person's VS Code runs its own easyCoexistence sign-in.
Does Copilot reply to comments when VS Code is closed?
No: it acts when you ask. Comment rules and automations that Copilot sets up for you run on easyCoexistence day and night, and scheduled posts go out at their time.
How much does easyCoexistence cost for VS Code?
US$ 9 to US$ 0.75 per connection per month, falling as you add connections, the same on each network, with the first 3 days free. The MCP server is included, and GitHub bills Copilot itself.
Keep reading
Connect your first channel in two minutes.
No platform reviews to wait for. Connect WhatsApp, Instagram, TikTok or another channel, then ask your AI to post, reply or report, and watch it work.
- 3 days free
- Cancel any time
- Official APIs only
- Monitored 24/7
Verified on