Connect the MultitaskAI MCP server to OpenCode
OpenCode is an open source coding agent for the terminal. Add MultitaskAI as a remote MCP server in opencode.jsonc with its URL and your API key.
Endpoint
Text
https://mcp.multitaskai.com
Steps
- Create an API key in your MultitaskAI account.
- Open ~/.config/opencode/opencode.jsonc for every project, or opencode.jsonc in one project.
- Add the server below, with your key in place of YOUR_API_KEY, and save the file.
- Run opencode mcp list in your terminal and check that multitaskai shows as connected.
Jsonc
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"multitaskai": {
"type": "remote",
"url": "https://mcp.multitaskai.com",
"oauth": false,
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
Authentication
OpenCode sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.
Text
Authorization: Bearer YOUR_API_KEY
Good to know
- In the current config format servers sit under mcp.servers, not directly under mcp as older guides show.
- oauth: false stops OpenCode from trying OAuth, which is on by default for remote servers.
- You can also run opencode mcp add with --url and --header 'Authorization=Bearer YOUR_API_KEY'; the header format is NAME=VALUE.
- {env:NAME} can reference an environment variable instead of the literal key.
Official documentation
The Anomaly MCP documentation covers OpenCode's own settings in detail. See the overview for the endpoint and authentication, and pricing for the daily free requests.