diff --git a/examples/hello-world-mcp-server-core/README.md b/examples/hello-world-mcp-server-core/README.md index 7a5b0e7..7ed4cf5 100644 --- a/examples/hello-world-mcp-server-core/README.md +++ b/examples/hello-world-mcp-server-core/README.md @@ -29,6 +29,16 @@ cargo build -p hello-world-mcp-server-core --release 3. After building the project, the binary will be located at `target/release/hello-world-mcp-server-core` You can test it with [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector), or alternatively, use it with any MCP client you prefer. +```bash +npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server-core +``` + +``` +Starting MCP inspector... +⚙ Proxy server listening on port 6277 +🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀 +``` + Here you can see it in action : ![hello-world-mcp-server-core]![hello-world-mcp-server](../../assets/examples/hello-world-mcp-server.gif) diff --git a/examples/hello-world-mcp-server/README.md b/examples/hello-world-mcp-server/README.md index b1d0e99..fa3232b 100644 --- a/examples/hello-world-mcp-server/README.md +++ b/examples/hello-world-mcp-server/README.md @@ -28,6 +28,16 @@ cargo build -p hello-world-mcp-server --release 3. After building the project, the binary will be located at `target/release/hello-world-mcp-server` You can test it with [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector), or alternatively, use it with any MCP client you prefer. +```bash +npx -y @modelcontextprotocol/inspector ./target/release/hello-world-mcp-server +``` + +``` +Starting MCP inspector... +⚙ Proxy server listening on port 6277 +🔍 MCP Inspector is up and running at http://127.0.0.1:6274 🚀 +``` + Here you can see it in action : ![hello-world-mcp-server](../../assets/examples/hello-world-mcp-server.gif) diff --git a/examples/hello-world-server-core-sse/README.md b/examples/hello-world-server-core-sse/README.md index 2dd1fbe..6dfbad4 100644 --- a/examples/hello-world-server-core-sse/README.md +++ b/examples/hello-world-server-core-sse/README.md @@ -29,6 +29,12 @@ cargo run -p hello-world-server-sse --release By default, the SSE endpoint is accessible at `http://127.0.0.1:8080/sse`. You can test it with [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector), or alternatively, use it with any MCP client you prefer. +```bash +npx -y @modelcontextprotocol/inspector +``` + +Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse + Here you can see it in action : ![hello-world-mcp-server-sse-core](../../assets/examples/hello-world-server-sse.gif) diff --git a/examples/hello-world-server-sse/README.md b/examples/hello-world-server-sse/README.md index 463c04b..4cbceeb 100644 --- a/examples/hello-world-server-sse/README.md +++ b/examples/hello-world-server-sse/README.md @@ -28,6 +28,12 @@ cargo run -p hello-world-server-sse --release By default, the SSE endpoint is accessible at `http://127.0.0.1:8080/sse`. You can test it with [MCP Inspector](https://modelcontextprotocol.io/docs/tools/inspector), or alternatively, use it with any MCP client you prefer. +```bash +npx -y @modelcontextprotocol/inspector +``` + +Then visit: http://localhost:6274/?transport=sse&serverUrl=http://localhost:8080/sse + Here you can see it in action : ![hello-world-mcp-server](../../assets/examples/hello-world-server-sse.gif)