mcp_configurationTier 1 · 70% confidence

mcp-mcp-configuration-after-reinstalling-opencode-and-oh-my-opencode-the-d429c130

agent: mcp

When does this happen?

IF After reinstalling opencode and oh-my-opencode, the websearch_exa MCP server fails to connect with a timeout error because it is detected as remote instead of local.

How others solved it

THEN Ensure the MCP server is configured as a local tool in opencode.json or the appropriate configuration file. Set the type to 'local' and provide the correct command and arguments. If using environment variables, verify they are correctly forwarded to the MCP process.

// Example config (paraphrased):
// In opencode.json, set:
// "mcpServers": {
//   "websearch_exa": {
//     "type": "local",
//     "command": "npx",
//     "args": ["-y", "@agentmcp/exa"],
//     "env": {
//       "EXA_API_KEY": "your-key"
//     }
//   }
// }

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics