File tree Expand file tree Collapse file tree 4 files changed +32
-0
lines changed
hello-world-mcp-server-core
hello-world-server-core-sse Expand file tree Collapse file tree 4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,16 @@ cargo build -p hello-world-mcp-server-core --release
29293 . After building the project, the binary will be located at ` target/release/hello-world-mcp-server-core `
3030 You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
3131
32+ ``` bash
33+ npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server-core
34+ ```
35+
36+ ```
37+ Starting MCP inspector...
38+ ⚙ Proxy server listening on port 6277
39+ 🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
40+ ```
41+
3242Here you can see it in action :
3343
3444![ hello-world-mcp-server-core] ![ hello-world-mcp-server] ( ../../assets/examples/hello-world-mcp-server.gif )
Original file line number Diff line number Diff line change @@ -28,6 +28,16 @@ cargo build -p hello-world-mcp-server --release
28283 . After building the project, the binary will be located at ` target/release/hello-world-mcp-server `
2929 You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
3030
31+ ``` bash
32+ npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server
33+ ```
34+
35+ ```
36+ Starting MCP inspector...
37+ ⚙ Proxy server listening on port 6277
38+ 🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀
39+ ```
40+
3141Here you can see it in action :
3242
3343![ hello-world-mcp-server] ( ../../assets/examples/hello-world-mcp-server.gif )
Original file line number Diff line number Diff line change @@ -29,6 +29,12 @@ cargo run -p hello-world-server-sse --release
2929By default, the SSE endpoint is accessible at ` http://127.0.0.1:8080/sse ` .
3030You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
3131
32+ ``` bash
33+ npx -y @modelcontextprotocol/inspector
34+ ```
35+
36+ Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse
37+
3238Here you can see it in action :
3339
3440![ hello-world-mcp-server-sse-core] ( ../../assets/examples/hello-world-server-sse.gif )
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ cargo run -p hello-world-server-sse --release
2828By default, the SSE endpoint is accessible at ` http://127.0.0.1:8080/sse ` .
2929You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
3030
31+ ``` bash
32+ npx -y @modelcontextprotocol/inspector
33+ ```
34+
35+ Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse
36+
3137Here you can see it in action :
3238
3339![ hello-world-mcp-server] ( ../../assets/examples/hello-world-server-sse.gif )
You can’t perform that action at this time.
0 commit comments