Description
So for example if you configure opencode.json like this
"tools": {
"mcp-*": false
},
"agent": {
"plan": {
"tools": {
"mcp-github": true,
"mcp-context7": true,
"mcp-ddg-search": true
}
},
}
and then ask the agent ask his list of available MCP, it will say he has access to none
while the docs https://opencode.ai/docs/tools/#per-agent say otherwise
same if you deactivate MCP in opencode.json but reactivate them in agent/*.md files, MCP will not be accessible
OpenCode version
1.0.220
Steps to reproduce
- Edit the
opencode.json file as described above.
- Ask the agent to list all of their available MCP.
Screenshot and/or share link
No response
Operating System
macOS 15.7.3
Terminal
Ghostty, Alacritty (Zed)
Description
So for example if you configure
opencode.jsonlike thisand then ask the agent
askhis list of available MCP, it will say he has access to nonewhile the docs https://opencode.ai/docs/tools/#per-agent say otherwise
same if you deactivate MCP in
opencode.jsonbut reactivate them inagent/*.mdfiles, MCP will not be accessibleOpenCode version
1.0.220
Steps to reproduce
opencode.jsonfile as described above.Screenshot and/or share link
No response
Operating System
macOS 15.7.3
Terminal
Ghostty, Alacritty (Zed)