Skip to content

Commit 5b674cf

Browse files
committed
feat: update README with example for http transport
1 parent 7fbe86a commit 5b674cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,12 @@ npx @modelcontextprotocol/inspector --cli node build/index.js --method resources
252252
# List available prompts
253253
npx @modelcontextprotocol/inspector --cli node build/index.js --method prompts/list
254254

255-
# Connect to a remote MCP server
255+
# Connect to a remote MCP server (default is SSE transport)
256256
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com
257257

258+
# Connect to a remote MCP server (with Streamable HTTP transport)
259+
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com --transport http
260+
258261
# Call a tool on a remote server
259262
npx @modelcontextprotocol/inspector --cli https://my-mcp-server.example.com --method tools/call --tool-name remotetool --tool-arg param=value
260263

0 commit comments

Comments
 (0)