OpenCode Social Media MCP Setup
OpenCode connects to a social media MCP server with a URL and headers, and it supports automatic OAuth through dynamic client registration. Blotato serves dynamic client registration, so OpenCode can complete the OAuth handshake without you pre-registering an application.
https://mcp.blotato.com/mcp OAuth or header Updated July 2026
How to connect OpenCode to social media
- Connect your social accounts in Blotato.
- Add a remote MCP server in your OpenCode configuration pointing at https://mcp.blotato.com/mcp.
- Either let OpenCode negotiate OAuth automatically, or set blotato-api-key as a header.
- Restart OpenCode so the tools load.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"blotato": {
"type": "remote",
"url": "https://mcp.blotato.com/mcp",
"enabled": true,
"headers": {
"blotato-api-key": "YOUR_API_KEY"
}
}
}
}
How do I know it worked?
Ask OpenCode to list your connected accounts. It calls
blotato_list_accounts and returns your platforms, which confirms both the connection and
the authentication in one step. If you see your accounts, setup is done.
What social media accounts do I have connected?
Worth knowing before you rely on it: analytics prompts only return data for X, Instagram, Facebook, Threads, and Bluesky. The other four platforms publish normally but report no metrics yet.
What breaks, and how to fix it
OpenCode is model agnostic, and that is where the friction usually is. The connection can be perfect while the model you selected handles tool calling poorly, which looks like a broken server but is a model choice. If the tools are listed and simply are not called, change the model before re-checking the config. Note also that MCP tools enter the context window, so a server with a large surface competes with your actual prompt for room.
What is different about OpenCode
OpenCode is the only client here that can negotiate OAuth automatically through dynamic client registration, so it completes an OAuth setup with no application registered in advance and no key pasted anywhere. It also scopes servers two ways, globally or per agent, so a publishing agent can hold the Blotato tools while your coding agents never see them, and pairing that with its model-per-task switching lets you draft captions on one model and run the publish call on another.
Vendor documentation: OpenCode MCP setup. For how a client discovers and calls tools once connected, see the MCP client concepts reference.
OpenCode social media FAQs
01 Can OpenCode post to social media?
02 How do I connect OpenCode to social media?
03 How do I set up OpenCode for social media?
04 What is the best way to manage social media with OpenCode?
05 What goes wrong when connecting OpenCode?
06 Does OpenCode need to be running for a scheduled post to go out?
07 Do I need a developer app or platform API keys to use OpenCode this way?
08 What can OpenCode not do on social media?
09 How much does it cost to connect OpenCode?
Connecting a different agent?
Same endpoint, same accounts, one setup per client. The AI agents for social media hub covers what all of them share, including every tool your agent can call.