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
I think I have an issue with having used the "other" repo and this one, because I am seeing the same issues on two separate machines (macos and linux) and with different providers on both (amazon bedrock and google).
This just hangs like this forever.
I've tried removing all previous directories, if there are logs somewhere I'd like to share them here if someone can point me to them. Strange that I'm seeing the same behavior on two completely separate and different setups.
Damn it, damn it all. It was a MCP server that wasn't running. Got this to run after removing both the Sentry MCP and my own internal MCP. Neither seem to work individually either, is MCP with OAuth supported yet? Definitely weird it just hangs.
Ok, so running the npx command locally does kick off the oauth flow. Then when I try to use opencode again it kinda works (doesn't hang) but seeing a different error that occurs with every chat. I am happy to open a new issue for this if you like, but I'm not a heavy Sentry MCP user after spending about 15 mins last week arguing with a model about what year it was when trying to look up issues based on relative time.
Activity
cmac4603 commentedon Jun 22, 2025
I'm on the latest version, but this has been on previous versions as well
adamdotdevin commentedon Jun 22, 2025
can you run it with --show-logs?
cmac4603 commentedon Jun 22, 2025
After opening, running
/init, then closing:thdxr commentedon Jun 22, 2025
can we do a test with
opencode run hey --print-logscmac4603 commentedon Jun 22, 2025
Of course! Appreciate you looking at this
cmac4603 commentedon Jun 22, 2025
Damn it, damn it all. It was a MCP server that wasn't running. Got this to run after removing both the Sentry MCP and my own internal MCP. Neither seem to work individually either, is MCP with OAuth supported yet? Definitely weird it just hangs.
My config (with sentry MCP):
{ "$schema": "http://opencode.ai/config.json", "theme": "tokyonight", "autoshare": false, "mcp": { "sentry": { "type": "local", "command": [ "npx", "mcp-remote@latest", "https://mcp.sentry.dev/sse" ] } } }Their recommended settings, which I have gotten to work with other tools.
{ "mcpServers": { "Sentry": { "command": "npx", "args": ["mcp-remote@latest", "https://mcp.sentry.dev/sse"] } } }(P.s. completely unrelated, love the podcast. Please do more episodes and fix this and all the things. Thanks in advance!)
cmac4603 commentedon Jun 22, 2025
Ok, so running the
npxcommand locally does kick off the oauth flow. Then when I try to use opencode again it kinda works (doesn't hang) but seeing a different error that occurs with every chat. I am happy to open a new issue for this if you like, but I'm not a heavy Sentry MCP user after spending about 15 mins last week arguing with a model about what year it was when trying to look up issues based on relative time.cmac4603 commentedon Jul 1, 2025
This was fixed in a newer release https://github.com/sst/opencode/releases/tag/v0.1.121, thanks @thdxr (and definitely not @adamdotdevin)
feat(owpenbot): refactor CLI to non-interactive with JSON output (ano…