MCP remote servers not configurable as expected #1103

Closed
opened 2026-02-16 17:29:28 -05:00 by yindo · 4 comments
Owner

Originally created by @jakeleventhal on GitHub (Aug 4, 2025).

Originally assigned to: @thdxr on GitHub.

When I try to use the linear MCP server as a remote connection, it keeps saying "MCP server linear failed to start". Running it as a local server seems to work without problems.

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    // Does not work
    "linear": {
      "type": "remote",
      "url": "https://mcp.linear.app/sse"
    }
    // Works
    // "linear": {
    //   "type": "local",
    //   "command": [
    //     "bunx",
    //     "-y",
    //     "mcp-remote",
    //     "https://mcp.linear.app/sse"
    //   ]
    // }
  }
}
Originally created by @jakeleventhal on GitHub (Aug 4, 2025). Originally assigned to: @thdxr on GitHub. When I try to use the linear MCP server as a remote connection, it keeps saying "MCP server linear failed to start". Running it as a local server seems to work without problems. ```jsonc { "$schema": "https://opencode.ai/config.json", "mcp": { // Does not work "linear": { "type": "remote", "url": "https://mcp.linear.app/sse" } // Works // "linear": { // "type": "local", // "command": [ // "bunx", // "-y", // "mcp-remote", // "https://mcp.linear.app/sse" // ] // } } } ```
yindo closed this issue 2026-02-16 17:29:28 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 4, 2025):

does this require auth? we haven't implemented that yet

@thdxr commented on GitHub (Aug 4, 2025): does this require auth? we haven't implemented that yet
Author
Owner

@wewelll commented on GitHub (Aug 5, 2025):

It might be linked to https://github.com/sst/opencode/issues/988

@wewelll commented on GitHub (Aug 5, 2025): It might be linked to https://github.com/sst/opencode/issues/988
Author
Owner

@rmoriz commented on GitHub (Aug 8, 2025):

I've created PR #1729 which adds verbosity on DEBUG level about MCP connection errors. In my case, the remote MCP was not handling mandatory (by MCP standard) method notifications/initialized and returned a negative HTTP code, which was the root cause for opencode to disregard it.

@rmoriz commented on GitHub (Aug 8, 2025): I've created PR #1729 which adds verbosity on DEBUG level about MCP connection errors. In my case, the remote MCP was not handling mandatory (by MCP standard) method `notifications/initialized` and returned a negative HTTP code, which was the root cause for opencode to disregard it.
Author
Owner

@thdxr commented on GitHub (Aug 12, 2025):

We're closing this issue as we've resolved the MCP remote server configuration issues. We are tracking auth-related aspects separately in other issues. If you're still experiencing problems with MCP remote server configuration, please feel free to open a new issue with specific details.

@thdxr commented on GitHub (Aug 12, 2025): We're closing this issue as we've resolved the MCP remote server configuration issues. We are tracking auth-related aspects separately in other issues. If you're still experiencing problems with MCP remote server configuration, please feel free to open a new issue with specific details.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1103