Skip to content

Cannot seem to start the MCP server in multiple tools #2

Description

@aolin480

I am getting errors when trying to start the codebase-context MCP server in either Warp, Codex, or Opencode. In Warp, I am getting the following error:

2025-12-29 22:22:44.581 | [note] Attention! There may be sensitive information (such as API keys) in these logs. Make sure to redact any secrets before sharing with others.
2025-12-29 22:22:44.581 | [info] MCP: Using stdio transport
2025-12-29 22:22:44.584 | [info] MCP: Sending request: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"dev.warp.Warp-Stable","version":"v0.2025.12.17.17.17.stable_02"}}}
2025-12-29 22:22:45.592 | [info] MCP [pid: 24761] stderr: Registered analyzer: angular (priority: 100)

2025-12-29 22:22:45.592 | [info] MCP [pid: 24761] stderr: Registered analyzer: angular (priority: 100)
Registered analyzer: generic (priority: 10)

2025-12-29 22:22:45.599 | [error] MCP: Failed to connect to server: Client initialization error: connection closed: initialize response

Also, I tried running the npx command as a standalone command, and currently getting this in the stderr.log

npx -y codebase-context-mcp 1>stdout.log 2>stderr.log

Error:

npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/codebase-context-mcp - Not found
npm error 404
npm error 404  The requested resource 'codebase-context-mcp@*' could not be found or you do not have permission to access it.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /Users/aaronolin/.npm/_logs/2025-12-30T04_26_22_583Z-debug-0.log

I also tried using the github repo for the package, and I don't get any errors, but the MCP server is still giving me errors:

Warp MCP config:

{
  "codebase-context": {
    "args": [
      "-y",
      "github:PatrickSys/codebase-context",
      "/Users/username/code"
    ],
    "command": "npx",
    "env": {},
    "start_on_launch": true,
    "working_directory": null
  }
}

Error:

2025-12-29 22:31:36.225 | [note] Attention! There may be sensitive information (such as API keys) in these logs. Make sure to redact any secrets before sharing with others.
2025-12-29 22:31:36.225 | [info] MCP: Using stdio transport
2025-12-29 22:31:36.228 | [info] MCP: Sending request: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"dev.warp.Warp-Stable","version":"v0.2025.12.17.17.17.stable_02"}}}
2025-12-29 22:31:37.265 | [info] MCP [pid: 28263] stderr: Registered analyzer: angular (priority: 100)

2025-12-29 22:31:37.266 | [info] MCP [pid: 28263] stderr: Registered analyzer: angular (priority: 100)
Registered analyzer: generic (priority: 10)

2025-12-29 22:31:37.272 | [error] MCP: Failed to connect to server: Client initialization error: connection closed: initialize response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions