Search the documentation
16 pages for --transport.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…ls like Notion, Figma, or your database. For example: `claude mcp add --transport http notion https://mcp.notion.com/mcp`. </Tip> With [MCP servers](/docs/en/mcp), you can ask Claude to implement fea…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…isn't being read; check the path and permissions. 2. `claude mcp add --transport http test https://example.com/mcp` fails with `Cannot add MCP server: enterprise MCP configuration is active and has e…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…d-based services. ```bash theme={null} # Basic syntax claude mcp add --transport http <name> <url> # Real example: Connect to Notion claude mcp add --transport http notion https://mcp.notion.com/mcp…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…starting a conversation. ```bash theme={null} claude mcp add --transport http claude-code-docs https://code.claude.com/docs/mcp ``` The parts of the command: * `claude mcp add`:…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…sidecar -- /usr/local/bin/mcp-sidecar RUN claude mcp add --scope user --transport http internal http://mcp-gateway.svc.cluster.local:8080 ``` The runner snapshots the host's config once at startup. T…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…cess-tokens) passed as a header: ```bash theme={null} claude mcp add --transport http github https://api.githubcopilot.com/mcp/ \ --header "Authorization: Bearer YOUR_GITHUB_PAT" ``` Replace `YOUR…
MCP Inspector
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector
…npx @modelcontextprotocol/inspector --cli https://api.example.com/mcp --transport http \ --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result ```…
Authorization
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/authorization
…For CI, be explicit: ```bash theme={null} mcp-inspector --cli "$URL" --transport http --stored-auth-only --method tools/list ``` `--stored-auth-only` never starts interactive OAuth or step-up, never…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…od tools/list # HTTP mcp-inspector --cli https://api.example.com/mcp --transport http --method tools/list # From a file mcp-inspector --cli --config ./mcp.json --server myserver --method tools/list…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…io, positional mcp-inspector --server-url https://api.example.com/mcp --transport http ``` ### Shared server-selection flags Defined **separately by each of web, CLI, and TUI**, so they're available…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…h theme={null} mcp-inspector --server-url https://api.example.com/mcp --transport http \ --header "X-Tenant: acme" ``` `--transport` accepts `http` (Streamable HTTP) and `sse`. If the server is pro…
MCP Inspector
Model Context Protocol · in the page
docs/draft/tools/inspector
…npx @modelcontextprotocol/inspector --cli https://api.example.com/mcp --transport http \ --method tools/call --tool-name get_weather --tool-arg city=Boston --format json | jq .result ```…
Authorization
Model Context Protocol · in the page
docs/draft/tools/inspector/authorization
…For CI, be explicit: ```bash theme={null} mcp-inspector --cli "$URL" --transport http --stored-auth-only --method tools/list ``` `--stored-auth-only` never starts interactive OAuth or step-up, never…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…od tools/list # HTTP mcp-inspector --cli https://api.example.com/mcp --transport http --method tools/list # From a file mcp-inspector --cli --config ./mcp.json --server myserver --method tools/list…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…io, positional mcp-inspector --server-url https://api.example.com/mcp --transport http ``` ### Shared server-selection flags Defined **separately by each of web, CLI, and TUI**, so they're available…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…h theme={null} mcp-inspector --server-url https://api.example.com/mcp --transport http \ --header "X-Tenant: acme" ``` `--transport` accepts `http` (Streamable HTTP) and `sse`. If the server is pro…