From f2fac70a430835b4ad5050a56858d3a2b1a68366 Mon Sep 17 00:00:00 2001 From: "Turpaud, Remi" Date: Tue, 30 Sep 2025 16:30:58 +0200 Subject: [PATCH] updated inspector usage --- docs/developer_guide/DEVELOPER_GUIDE.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/developer_guide/DEVELOPER_GUIDE.md b/docs/developer_guide/DEVELOPER_GUIDE.md index a3ec185..35b059c 100644 --- a/docs/developer_guide/DEVELOPER_GUIDE.md +++ b/docs/developer_guide/DEVELOPER_GUIDE.md @@ -340,16 +340,25 @@ This split keeps MCP concerns (transport, context, auth, formatting) in the serv ## Interactive testing using the MCP Inspector -The MCP inspector provides you with a convenient way to browse and test tools, resources and prompts: +The [MCP inspector](https://www.npmjs.com/package/@modelcontextprotocol/inspector/v/0.9.0) provides you with a convenient way to browse and test tools, resources and prompts: -**For development environment:** +You can use the inspector to directly run the MCP server and connect over stdio: + +**Using the development environment:** ```bash -uv run mcp dev ./src/teradata_mcp_server/server.py + npx modelcontextprotocol/inspector uv run teradata-mcp-server +``` + +**Using the installed package:** +```bash + npx modelcontextprotocol/inspector teradata-mcp-server ``` -**For installed package:** +You may also run the MCP server as a separate process and connect to it form the inspector over http: + ```bash -mcp dev teradata-mcp-server +uv run teradata-mcp-server --mcp_transport streamable-http +npx modelcontextprotocol/inspector ``` ## Build, Test, and Publish