feat: update README with example for http transport
This commit is contained in:
parent
7fbe86a88c
commit
5b674cfe35
1 changed files with 4 additions and 1 deletions
|
|
@ -252,9 +252,12 @@ npx @modelcontextprotocol/inspector --cli node build/index.js --method resources
|
||||||
# List available prompts
|
# List available prompts
|
||||||
npx @modelcontextprotocol/inspector --cli node build/index.js --method prompts/list
|
npx @modelcontextprotocol/inspector --cli node build/index.js --method prompts/list
|
||||||
|
|
||||||
# Connect to a remote MCP server
|
# Connect to a remote MCP server (default is SSE transport)
|
||||||
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com
|
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com
|
||||||
|
|
||||||
|
# Connect to a remote MCP server (with Streamable HTTP transport)
|
||||||
|
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com --transport http
|
||||||
|
|
||||||
# Call a tool on a remote server
|
# Call a tool on a remote server
|
||||||
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com --method tools/call --tool-name remotetool --tool-arg param=value
|
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com --method tools/call --tool-name remotetool --tool-arg param=value
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue