-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Describe the bug
When trying to launch hello-world-mcp-server
using npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server
, I am unable to connect to the server
I get an error message in the inspector saying 'Server started successfully', so to me it looks like a protocol error between the server and the inspector?
What are you using rust-mcp-sdk for?
Select all that apply:
- Developing a MCP Server
- Developing a MCP Client
Technical details:
- rust-mcp-sdk Version : .0.4.7
- Cargo features enabled for
rust-mcp-sdk
: "server","macros","hyper-server","ssl","2025_03_26" - Environment/OS (Mac, Linux, Windows, etc) : WSL2 (Ubuntu 24.04)
To Reproduce
Steps to reproduce the behavior:
- Download the git repo @ 42292f9
- Follow the instructions in the example readme.
Expected behavior
I can connect to the server and exercise the available tools
Screenshots
Additional context
The terminal output when attempting to connect to the server is:
New STDIO connection request
Query parameters: {"command":"./target/release/hello-world-mcp-server","args":"","env":"{\"HOME\":\"/home/matt\",\"LOGNAME\":\"matt\",\"PATH\":__REDACTED__,\"SHELL\":\"/bin/bash\",\"TERM\":\"xterm-256color\",\"USER\":\"matt\"}","transportType":"stdio"}
STDIO transport: command=./target/release/hello-world-mcp-server, args=
Created server transport
Created client transport
Received POST message for sessionId 637b4e8c-738d-4912-a8fe-ccc87d385b29
Metadata
Metadata
Assignees
Labels
No labels