Skip to content

MCP remote servers not configurable as expected #1595

Closed

Description

@jakeleventhal

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"
    //   ]
    // }
  }
}

Activity

  1. self-assigned this
    on Aug 4, 2025
  2. thdxr commented on Aug 4, 2025

    @thdxr
    Member

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

  3. samuelbriole commented on Aug 5, 2025

    @samuelbriole

    It might be linked to #988

  4. rmoriz commented on Aug 8, 2025

    @rmoriz
    Contributor

    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.

  5. thdxr commented on Aug 12, 2025

    @thdxr
    Member

    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 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