14 pages for --header.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
WARNING: This operation PERMANENTLY deletes the chat, all of its messages,
Claude Developer Platform · in the page
manage-claude/compliance-content-data
…y -sS -G \ "https://api.anthropic.com/v1/compliance/apps/chats" \ --header "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \ --header "anthropic-version: 2023-06-01" \ --data-urlencode "user_ids…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…ns create \ --endpoint-url https://gateway.example.com/otlp \ --headers '{authorization: "Bearer YOUR_OBSERVABILITY_API_KEY"}' \ --traces.content-mode metadata_only \ --workspaces.type…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…e mcp add --transport http secure-api https://api.example.com/mcp \ --header "Authorization: Bearer your-token" ``` When configuring MCP servers via JSON in `.mcp.json`, `~/.claude.json`, or `claud…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…ver is reachable but needs a browser sign-in, or a token passed with `--header`. See [Connect a server that requires sign-in](#connect-a-server-that-requires-sign-in) | | `✘ Failed to connect` | Serve…
Use Claude Code in VS Code
Claude Code CLI · in the page
vs-code
…cp add --transport http github https://api.githubcopilot.com/mcp/ \ --header "Authorization: Bearer YOUR_GITHUB_PAT" ``` Replace `YOUR_GITHUB_PAT` with your personal access token. The `claude mcp a…
Attribute costs to users
Claude Documentation · in the page
claude-tag/admins/attribute-costs
…0:00:00Z&\ group_by[]=claude_tag_user_id&\ products[]=claude-tag" \ --header "anthropic-version: 2023-06-01" \ --header "x-api-key: $ANALYTICS_API_KEY" ``` `products[]=claude-tag` limits the repo…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…nnection, resolved exactly as the TUI and web client resolve them. A `--header` flag overrides the file's headers for that run while leaving its timeouts and OAuth in place. Later examples abbreviate…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…clients. The web client is stricter in one respect: it also rejects `--header` and `--protocol-era` alongside a file, where the CLI and TUI apply them on top of the file's settings. > [!NOTE] > > **…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…spector --server-url https://api.example.com/mcp --transport http \ --header "X-Tenant: acme" ``` `--transport` accepts `http` (Streamable HTTP) and `sse`. If the server is protected, see [Authoriz…
TUI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/tui
…ation#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/tools/inspecto…
CLI client
Model Context Protocol · in the page
docs/draft/tools/inspector/cli
…nnection, resolved exactly as the TUI and web client resolve them. A `--header` flag overrides the file's headers for that run while leaving its timeouts and OAuth in place. Later examples abbreviate…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…clients. The web client is stricter in one respect: it also rejects `--header` and `--protocol-era` alongside a file, where the CLI and TUI apply them on top of the file's settings. > [!NOTE] > > **…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…spector --server-url https://api.example.com/mcp --transport http \ --header "X-Tenant: acme" ``` `--transport` accepts `http` (Streamable HTTP) and `sse`. If the server is protected, see [Authoriz…
TUI client
Model Context Protocol · in the page
docs/draft/tools/inspector/tui
…ation#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/tools/inspector/con…