Odd Session Blocking MCP Bug #2187

Open
opened 2026-02-16 17:34:34 -05:00 by yindo · 2 comments
Owner

Originally created by @techguysimon on GitHub (Oct 20, 2025).

Originally assigned to: @thdxr on GitHub.

Description

After adding the RepoPrompt MCP to my config file sessions just hang at launch with no errors in the logs even with debug mode enabled.

Below is the config used based on RepoPrompt's install instructions.

"RepoPrompt": {
      "type": "local",
      "command": ["/Users/simon/RepoPrompt/repoprompt_cli"],
      "enabled": true
    }

The RepoPrompt team thought that maybe it was waiting for an attribute even though the command doesn't need one. So I added a fake attribute and that seemed to get things working.

"RepoPrompt": {
      "type": "local",
      "command": ["/Users/simon/RepoPrompt/repoprompt_cli", "repoprompt-mcp"],
      "enabled": true
    }

OpenCode version

0.15.8

Steps to reproduce

  1. Launch RepoPrompt & MCP server
  2. Add the config to opencode as mentioned above
  3. Launch opencode and send initial message to start a session

Screenshot and/or share link

No response

Operating System

macOS 15.6.1

Terminal

Zed Terminal

Originally created by @techguysimon on GitHub (Oct 20, 2025). Originally assigned to: @thdxr on GitHub. ### Description After adding the RepoPrompt MCP to my config file sessions just hang at launch with no errors in the logs even with debug mode enabled. Below is the config used based on RepoPrompt's install instructions. ``` "RepoPrompt": { "type": "local", "command": ["/Users/simon/RepoPrompt/repoprompt_cli"], "enabled": true } ``` The RepoPrompt team thought that maybe it was waiting for an attribute even though the command doesn't need one. So I added a fake attribute and that seemed to get things working. ``` "RepoPrompt": { "type": "local", "command": ["/Users/simon/RepoPrompt/repoprompt_cli", "repoprompt-mcp"], "enabled": true } ``` ### OpenCode version 0.15.8 ### Steps to reproduce 1. Launch RepoPrompt & MCP server 2. Add the config to opencode as mentioned above 3. Launch opencode and send initial message to start a session ### Screenshot and/or share link _No response_ ### Operating System macOS 15.6.1 ### Terminal Zed Terminal
yindo added the bug label 2026-02-16 17:34:34 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3273: MCP client failing makes opencode hang - Similar issue where MCP servers cause OpenCode to hang at startup
  • #829: MCP server failed to start (unstable MCP servers) - Reports similar symptoms where sessions hang when MCP servers are configured but not stable
  • #1431: opencode hangs when trying to end it - Related to MCP configurations causing hanging behavior
  • #2940: [BUG] OpenCode just hangs randomly after receiving instructions - General hanging issues that may be MCP-related

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 20, 2025): This issue might be a duplicate of existing issues. Please check: - #3273: MCP client failing makes `opencode` hang - Similar issue where MCP servers cause OpenCode to hang at startup - #829: MCP server failed to start (unstable MCP servers) - Reports similar symptoms where sessions hang when MCP servers are configured but not stable - #1431: opencode hangs when trying to end it - Related to MCP configurations causing hanging behavior - #2940: [BUG] OpenCode just hangs randomly after receiving instructions - General hanging issues that may be MCP-related Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 20, 2025):

hm we will fix

@rekram1-node commented on GitHub (Oct 20, 2025): hm we will fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2187