You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MCP Servers are not available if config is per project #4054
MCP Servers are not available/detected if you define a config.json at your project-level. They work fine if you move the same config file to ~/.config/opencode/opencode.json.
Run ``opencode run "use the mcp_everything tool to add the number 3 and 4. You're not allowed to calculate by yourself." Alternatively open opencode and run /status.
Check if mcp usage is shown.
Move ~/.config/opencode/opencode.json to your project root folder (.opencode/opencode.json)
Run ``opencode run "use the mcp_everything tool to add the number 3 and 4. You're not allowed to calculate by yourself." Alternatively open opencode and run /status.
@xTamasu this is something we will fix, but we don't read in .opencode/opencode.json we only read it at the root of the project or globally, but this is a common confusion so we will fix that
@xTamasu any opencode.json or opencode.jsonc in your current working directory or in a parent directory should be picked up.
Now if this is a "project" aka it is a cloned git repo for example, then the root of your project is where the README.md and .gitignore files typically are.
I will also note that in the next release we will read from .opencode/ directories too tho
Activity
rekram1-node commentedon Nov 7, 2025
@xTamasu this is something we will fix, but we don't read in
.opencode/opencode.jsonwe only read it at the root of the project or globally, but this is a common confusion so we will fix thatxTamasu commentedon Nov 7, 2025
@rekram1-node What exactly means "at the root of the project"? How should it be placed? Its enough for me if I can at least somehow work non-global.
rekram1-node commentedon Nov 7, 2025
@xTamasu any opencode.json or opencode.jsonc in your current working directory or in a parent directory should be picked up.
Now if this is a "project" aka it is a cloned git repo for example, then the root of your project is where the README.md and .gitignore files typically are.
I will also note that in the next release we will read from .opencode/ directories too tho
fix
4q4r commentedon Dec 30, 2025
got same ussue. while trying to use
opencode mcp addopencode says that mcp was added successful, but nothing changed in the config fileyaleh commentedon Jan 4, 2026
+1
github-actions commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.