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
29
29
3 . After building the project, the binary will be located at ` target/release/hello-world-mcp-server-core `
30
30
You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
31
31
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
+
32
42
Here you can see it in action :
33
43
34
44
![ 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
28
28
3 . After building the project, the binary will be located at ` target/release/hello-world-mcp-server `
29
29
You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
30
30
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
+
31
41
Here you can see it in action :
32
42
33
43
![ 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
29
29
By default, the SSE endpoint is accessible at ` http://127.0.0.1:8080/sse ` .
30
30
You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
31
31
32
+ ``` bash
33
+ npx -y @modelcontextprotocol/inspector
34
+ ```
35
+
36
+ Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse
37
+
32
38
Here you can see it in action :
33
39
34
40
![ 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
28
28
By default, the SSE endpoint is accessible at ` http://127.0.0.1:8080/sse ` .
29
29
You can test it with [ MCP Inspector] ( https://modelcontextprotocol.io/docs/tools/inspector ) , or alternatively, use it with any MCP client you prefer.
30
30
31
+ ``` bash
32
+ npx -y @modelcontextprotocol/inspector
33
+ ```
34
+
35
+ Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse
36
+
31
37
Here you can see it in action :
32
38
33
39
![ hello-world-mcp-server] ( ../../assets/examples/hello-world-server-sse.gif )
You can’t perform that action at this time.
0 commit comments