Closed
Description
Description
A clear and concise description of the bug, including what happened and what you expected to happen.
When running the server in ebpf-mcp [0] and trying to connect with cluade cli, the following error happens:
1. Ask Claude to create a new app or clone a repository
2. Use Claude to help with file analysis, editing, bash commands and git
3. Be as specific as you would with another engineer for the best results
4. ✔ Run /terminal-setup to set up terminal integration
[DEBUG] MCP server "ebpf-server": SSE Connection error: {"url":"http://localhost:8080/mcp","error":"SSE error: Non-200 status code (202)","stack":"Error: SSE error: Non-200 status code (202)\n at _eventSource.onerror (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:13931)\n at wm.ro (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:4946)\n at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:1799\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)"}
[ERROR] MCP server "ebpf-server" Error: SSE error: Non-200 status code (202)
[DEBUG] MCP server "ebpf-server": Connection failed: Error: SSE error: Non-200 status code (202)
[DEBUG] MCP server "ebpf-server": Error message: SSE error: Non-200 status code (202)
[DEBUG] MCP server "ebpf-server": Error stack: Error: SSE error: Non-200 status code (202)
at _eventSource.onerror (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:13931)
at wm.ro (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:4946)
at file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:1364:1799
I tried to override this but then I got
[0] https://github.com/sameehj/ebpf-mcp/
Logs or Error Messages
If applicable, include any error messages, stack traces, or logs. Remove if not applicable.
Environment
go 1.23.0
github.com/mark3labs/mcp-go v0.31.0
running ebpf-mcp-server commit id: ebc0dd84fdaf48b9e271ed1f3497ffadf71a6751
how to run?
clone https://github.com/sameehj/ebpf-mcp/
make build
sudo ./bin/ebpf-mcp-server
Additional Context
Did anyone manage to integrate claude with local host?
(it's tunneled over ssh if that's makes a difference)
Possible Solution
If you have a suggestion for fixing the issue, please describe it here.