anomalyco / anomalyco/opencode
MCP timeout capped to 5 minutes.
@kitlangton is already working on this.
Since Jul 29, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
Timeout value is capped to 5 minutes. When setting it to 1200000 (20 minutes) like below, calls timeout after 5 minutes. Alternatively setting it to 1 correctly caps to 1 ms effectively making mcp unusable.
chris@DESKTOP-xxx:/.config/opencode$ cat opencode.jsonc/.config/opencode/.secrets/xxx}"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"xxx": {
"type": "remote",
"url": "http://192.168.0.2:8081",
"enabled": true,
"timeout": 1200000,
"headers": {
"Authorization": "Bearer {file:
}
},
"github": {
"type": "remote",
"url": "https://api.githubcopilot.com/mcp/",
"enabled": true,
"oauth": false,
"headers": {
"Authorization": "Bearer {file:/.config/opencode/.secrets/github-pat}"/.config/opencode$
}
}
}
}
chris@DESKTOP-xxx:
Plugins
none
OpenCode version
1.18.9
Steps to reproduce
- Start mcp server in local network
- Start opencode using above config.
Screenshot and/or share link
No response
Operating System
Windows 10/WSL
Terminal
PowerShell 7.6.4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.