Config
Add to opencode.json (or .opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"asana": {
"type": "remote",
"url": "https://mcp.asana.com/sse"
}
}
}
Asana's MCP server is a remote SSE endpoint. No local install, no API token. Auth uses OAuth.
Auth
Restart opencode after adding the config, then run:
opencode mcp auth asana
Opens a browser tab to authenticate with Asana. Without auth, tool calls fail.
Restart required
opencode loads its config once at startup. MCP servers added during a session are not available until restart.
Resume the same session after restart:
opencode resume
Verify
After completing the steps above, ask opencode:
What are my open tasks in Asana?
If you get tasks and not an auth error, it's wired up.
