Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

21 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`. With [MCP servers](/docs/en/mcp.md), you can ask Claude to implement feature… Control MCP server access for your organization Claude Code CLI · in the page managed-mcp …ion names, then have the user restart Claude Code. 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 …before 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`: registers a… 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… Lazy authentication for MCP servers Claude Documentation · in the page connectors/building/lazy-authentication …project folder, add the server: ```bash theme={null} claude mcp add --transport http authtest http://localhost:3000/mcp ``` Then check the connection: ```bash theme={null} claude mcp list ``` The… Build your first MCP server for Claude Claude Documentation · in the page connectors/building/quickstart …TTP transport and the local URL: ```bash theme={null} claude mcp add --transport http quickstart http://localhost:3000/mcp ``` Claude Code confirms where it saved the entry: ```text theme={null} Ad… Test your connector Claude Documentation · in the page connectors/building/testing …} npx @modelcontextprotocol/inspector --cli http://localhost:3000/mcp --transport http --method tools/list ``` The command lists the tools your server advertises. Change `--method` to `tools/call` wi… 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 ``` See [CLI c… 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… TUI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/tui …tor/configuration.md#shared-server-selection-flags) (`--server-url`, `--transport`, `--header`, `-e`, `--cwd`) plus `--protocol-era` for an ad-hoc server, and the [OAuth client flags](/docs/2026-07-28… 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 ``` See [CLI c… 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… TUI client Model Context Protocol · in the page docs/draft/tools/inspector/tui …tor/configuration.md#shared-server-selection-flags) (`--server-url`, `--transport`, `--header`, `-e`, `--cwd`) plus `--protocol-era` for an ad-hoc server, and the [OAuth client flags](/docs/draft/tool…
Feedback