Skip to content

Local MCP server always times out on Windows #22310

Closed as not planned
Closed as not planned

Description

@ad-005

Description

Any local MCP server configured in opencode.json fails with "Operation timed out after 30000ms" on Windows.

Plugins

No response

OpenCode version

1.4.3

Steps to reproduce

  1. Add any local MCP server to opencode.json
  2. Start OpenCode
  3. The MCP server simply never connects.

Screenshot and/or share link

No response

Operating System

Windows 10 Pro

Terminal

Alacritty

Activity

  1. nioh13 commented on Apr 13, 2026

    @nioh13

    same things

  2. Hona commented on Apr 13, 2026

    @Hona
    Member

    Please give me a minimal repro

  3. ad-005 commented on Apr 14, 2026

    @ad-005
    Author

    Please give me a minimal repro

    1. Configure the MCP server (specifically taskmaster in this case) directly in .config/opencode/opencode.json
      { "$schema": "https://opencode.ai/config.json", "mcp": { "taskmaster": { "type": "local", "command": [ "D:/nodejs/node", "C:/Users/user1/AppData/Roaming/npm/node_modules/task-master-ai/dist/mcp-server.js" ], "environment": { "ANTHROPIC_BASE_URL": "https://api.minimax.io/anthropic", "ANTHROPIC_API_KEY": "" } } } }

    2. Start OpenCode

    3. The MCP fails with the 30000ms error

  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions