Skip to content

Context7 MCP server - issue when adding it! #275

@abdelhameedhamdy

Description

@abdelhameedhamdy

Hey there,

I have an issue when trying to add Context7 MCP server,

{
  "mcpServers": {
    "context7": {
      "command": "npx",
      "args": [
        "-y",
        "@upstash/context7-mcp",
        "--api-key",
        "xxx"
      ]
    }
  }
}

It fails to connect and gives Connection closed.

and the same with http transport:

{
  "mcpServers": {
    "context7": {
      "type": "http",
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "CONTEXT7_API_KEY": "xxx"
      }
    }
  }
}

got red error:
Error Message 连接失败,'command'
Any thoughts how to fix it!

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions