762 pages for error.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Versioning
Model Context Protocol · in the page
docs/2024-11-05/learn/versioning
…le version to use for the session. The protocol provides appropriate error handling if version negotiation fails, allowing clients to gracefully terminate connections when they cannot find a version…
Debugging
Model Context Protocol · in the page
docs/2024-11-05/tools/debugging
…1-05/basic/transports#stdio), all messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (s…
MCP Inspector
Model Context Protocol · in the page
docs/2024-11-05/tools/inspector
…* Missing prompt arguments * Concurrent operations * Verify error handling and error responses ## Next steps <CardGroup cols={2}> <Card title="Inspector Repository" icon="github" href="h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2024-11-05/tutorials/security/authorization
…a.introspection_endpoint; if (!endpoint) { console.error("[auth] no introspection endpoint in metadata"); throw new Error("No token verification endpoint available in meta…
Security Best Practices
Model Context Protocol · in the page
docs/2024-11-05/tutorials/security/security_best_practices
…Internal-->>Client: Cloud credentials/metadata Note over Client: Error or response details leak to attacker Client->>MCP: Subsequent request with error details ``` #### Risks * **Credential…
Build an MCP client
Model Context Protocol · in the page
docs/2025-03-26/develop/build-client
…th('.js') if not (is_python or is_js): raise ValueError("Server script must be a .py or .js file") command = "python" if is_python else "node" server_params = Stdi…
Build an MCP server
Model Context Protocol · in the page
docs/2025-03-26/develop/build-server
…tr, Any] | None: """Make a request to the NWS API with proper error handling.""" headers = {"User-Agent": USER_AGENT, "Accept": "application/geo+json"} async with httpx.AsyncCl…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-03-26/develop/build-with-agent-skills
…nce your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: <CardGroup cols={2}> <Card title="MCP Inspector" icon="magnifying-glass" href="/docs/2025-0…
Client Best Practices
Model Context Protocol · in the page
docs/2025-03-26/develop/clients/client-best-practices
…ring; level: string; } function logging_getLogs(input: { level: "error" | "warn" | "info"; since: number; }): Promise<{ entries: LogEntry[] }> { return mcp.callTool<{ entries: LogEntry[] }>("…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-03-26/develop/connect-local-servers
…me` as you did in `claude_desktop_config.json`) to see if you get any errors: <CodeGroup> ```bash macOS/Linux theme={null} npx -y @modelcontextprotocol/server-filesystem /Users/userna…
Architecture overview
Model Context Protocol · in the page
docs/2025-03-26/learn/architecture
…r are using compatible protocol versions. This prevents communication errors that could occur when different versions attempt to interact. If a mutually compatible version is not negotiated, the conne…
Versioning
Model Context Protocol · in the page
docs/2025-03-26/learn/versioning
…le version to use for the session. The protocol provides appropriate error handling if version negotiation fails, allowing clients to gracefully terminate connections when they cannot find a version…
Debugging
Model Context Protocol · in the page
docs/2025-03-26/tools/debugging
…3-26/basic/transports#stdio), all messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (s…
MCP Inspector
Model Context Protocol · in the page
docs/2025-03-26/tools/inspector
…* Missing prompt arguments * Concurrent operations * Verify error handling and error responses ## Next steps <CardGroup cols={2}> <Card title="Inspector Repository" icon="github" href="h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-03-26/tutorials/security/authorization
…a.introspection_endpoint; if (!endpoint) { console.error("[auth] no introspection endpoint in metadata"); throw new Error("No token verification endpoint available in meta…
Security Best Practices
Model Context Protocol · in the page
docs/2025-03-26/tutorials/security/security_best_practices
…Internal-->>Client: Cloud credentials/metadata Note over Client: Error or response details leak to attacker Client->>MCP: Subsequent request with error details ``` #### Risks * **Credential…
Build an MCP client
Model Context Protocol · in the page
docs/2025-06-18/develop/build-client
…th('.js') if not (is_python or is_js): raise ValueError("Server script must be a .py or .js file") command = "python" if is_python else "node" server_params = Stdi…
Build an MCP server
Model Context Protocol · in the page
docs/2025-06-18/develop/build-server
…tr, Any] | None: """Make a request to the NWS API with proper error handling.""" headers = {"User-Agent": USER_AGENT, "Accept": "application/geo+json"} async with httpx.AsyncCl…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-06-18/develop/build-with-agent-skills
…nce your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: <CardGroup cols={2}> <Card title="MCP Inspector" icon="magnifying-glass" href="/docs/2025-0…
Client Best Practices
Model Context Protocol · in the page
docs/2025-06-18/develop/clients/client-best-practices
…ring; level: string; } function logging_getLogs(input: { level: "error" | "warn" | "info"; since: number; }): Promise<{ entries: LogEntry[] }> { return mcp.callTool<{ entries: LogEntry[] }>("…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-06-18/develop/connect-local-servers
…me` as you did in `claude_desktop_config.json`) to see if you get any errors: <CodeGroup> ```bash macOS/Linux theme={null} npx -y @modelcontextprotocol/server-filesystem /Users/userna…
Architecture overview
Model Context Protocol · in the page
docs/2025-06-18/learn/architecture
…r are using compatible protocol versions. This prevents communication errors that could occur when different versions attempt to interact. If a mutually compatible version is not negotiated, the conne…
Versioning
Model Context Protocol · in the page
docs/2025-06-18/learn/versioning
…le version to use for the session. The protocol provides appropriate error handling if version negotiation fails, allowing clients to gracefully terminate connections when they cannot find a version…
Debugging
Model Context Protocol · in the page
docs/2025-06-18/tools/debugging
…6-18/basic/transports#stdio), all messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (s…
MCP Inspector
Model Context Protocol · in the page
docs/2025-06-18/tools/inspector
…* Missing prompt arguments * Concurrent operations * Verify error handling and error responses ## Next steps <CardGroup cols={2}> <Card title="Inspector Repository" icon="github" href="h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/authorization
…a.introspection_endpoint; if (!endpoint) { console.error("[auth] no introspection endpoint in metadata"); throw new Error("No token verification endpoint available in meta…
Security Best Practices
Model Context Protocol · in the page
docs/2025-06-18/tutorials/security/security_best_practices
…Internal-->>Client: Cloud credentials/metadata Note over Client: Error or response details leak to attacker Client->>MCP: Subsequent request with error details ``` #### Risks * **Credential…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…th('.js') if not (is_python or is_js): raise ValueError("Server script must be a .py or .js file") command = "python" if is_python else "node" server_params = Stdi…
Build an MCP server
Model Context Protocol · in the page
docs/2025-11-25/develop/build-server
…tr, Any] | None: """Make a request to the NWS API with proper error handling.""" headers = {"User-Agent": USER_AGENT, "Accept": "application/geo+json"} async with httpx.AsyncCl…
Build with Agent Skills
Model Context Protocol · in the page
docs/2025-11-25/develop/build-with-agent-skills
…nce your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: <CardGroup cols={2}> <Card title="MCP Inspector" icon="magnifying-glass" href="/docs/2025-1…
Client Best Practices
Model Context Protocol · in the page
docs/2025-11-25/develop/clients/client-best-practices
…ring; level: string; } function logging_getLogs(input: { level: "error" | "warn" | "info"; since: number; }): Promise<{ entries: LogEntry[] }> { return mcp.callTool<{ entries: LogEntry[] }>("…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2025-11-25/develop/connect-local-servers
…me` as you did in `claude_desktop_config.json`) to see if you get any errors: <CodeGroup> ```bash macOS/Linux theme={null} npx -y @modelcontextprotocol/server-filesystem /Users/userna…
Architecture overview
Model Context Protocol · in the page
docs/2025-11-25/learn/architecture
…r are using compatible protocol versions. This prevents communication errors that could occur when different versions attempt to interact. If a mutually compatible version is not negotiated, the conne…
Versioning
Model Context Protocol · in the page
docs/2025-11-25/learn/versioning
…le version to use for the session. The protocol provides appropriate error handling if version negotiation fails, allowing clients to gracefully terminate connections when they cannot find a version…
Debugging
Model Context Protocol · in the page
docs/2025-11-25/tools/debugging
…1-25/basic/transports#stdio), all messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (s…
MCP Inspector
Model Context Protocol · in the page
docs/2025-11-25/tools/inspector
…* Missing prompt arguments * Concurrent operations * Verify error handling and error responses ## Next steps <CardGroup cols={2}> <Card title="Inspector Repository" icon="github" href="h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/authorization
…a.introspection_endpoint; if (!endpoint) { console.error("[auth] no introspection endpoint in metadata"); throw new Error("No token verification endpoint available in meta…
Security Best Practices
Model Context Protocol · in the page
docs/2025-11-25/tutorials/security/security_best_practices
…Internal-->>Client: Cloud credentials/metadata Note over Client: Error or response details leak to attacker Client->>MCP: Subsequent request with error details ``` #### Risks * **Credential…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…"): command = "node" else: raise ValueError("Server script must be a .py or .js file") return StdioServerParameters(command=command, args=[server_script_path])…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…tr, Any] | None: """Make a request to the NWS API with proper error handling.""" headers = {"User-Agent": USER_AGENT, "Accept": "application/geo+json"} async with httpx2.AsyncC…
Build with Agent Skills
Model Context Protocol · in the page
docs/2026-07-28/develop/build-with-agent-skills
…nce your agent scaffolds the server, iterate on tool descriptions and error handling, then test and ship: <CardGroup cols={2}> <Card title="MCP Inspector" icon="magnifying-glass" href="/docs/2026-0…
Client Best Practices
Model Context Protocol · in the page
docs/2026-07-28/develop/clients/client-best-practices
…ring; level: string; } function logging_getLogs(input: { level: "error" | "warn" | "info"; since: number; }): Promise<{ entries: LogEntry[] }> { return mcp.callTool<{ entries: LogEntry[] }>("…
Connect to local MCP servers
Model Context Protocol · in the page
docs/2026-07-28/develop/connect-local-servers
…me` as you did in `claude_desktop_config.json`) to see if you get any errors: <CodeGroup> ```bash macOS/Linux theme={null} npx -y @modelcontextprotocol/server-filesystem /Users/userna…
Architecture overview
Model Context Protocol · in the page
docs/2026-07-28/learn/architecture
…ed version, it rejects the request with an `UnsupportedProtocolVersionError` listing the versions it does support, and the client retries with a mutually supported version. 2. **Capability Discov…
Versioning
Model Context Protocol · in the page
docs/2026-07-28/learn/versioning
…he requested version, it responds with an [`UnsupportedProtocolVersionError`](/specification/2026-07-28/basic/versioning#protocol-version-negotiation) listing the versions it does support. The client…
Debugging
Model Context Protocol · in the page
docs/2026-07-28/tools/debugging
…7-28/basic/transports/stdio), all messages logged to stderr (standard error) will be captured by the host application automatically. <Warning> Local MCP servers should not log messages to stdout (s…
MCP Inspector
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector
…g:** `--web` (default), `--cli`, or `--tui`. At most one; passing two errors with `Specify at most one of --web, --cli, or --tui.` 2. **`-h` / `--help`.** Everything else (`--catalog`, `--config`, `-…
Authorization
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/authorization
…e over plaintext `http`, so a non-loopback host is rejected with an error and there is no flag to override that. If your browser runs on a different machine, forward the callback port to it; `--…
CLI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/cli
…dable UI resource, malformed `resourceUri`) is reported in a `resourceError` field rather than aborting, so one bad tool never kills a whole listing. <Note> `tools/list --app-info` always emits NDJ…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…seeded (see below). | **Errors.** | | **Default** | `~/.mcp-inspector/mcp.json`, or the `MCP_C…