766 pages for errors.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Build an MCP server
Model Context Protocol · in the page
docs/2025-06-18/develop/build-server
…th any new ones: > > ```bash theme={null} > # Check Claude's logs for errors > tail -n 20 -f ~/Library/Logs/Claude/mcp*.log > ``` > > **Server not showing up in Claude** > > 1. Check your `claude_desk…
Client Best Practices
Model Context Protocol · in the page
docs/2025-06-18/develop/clients/client-best-practices
…eduplicate inside the sandbox, not in the model's context const uniqueErrors = new Map<string, LogEntry>(); for (const log of logs.entries) { if (!uniqueErrors.has(log.message)) { uniqueErrors.s…
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: > > ```bash macOS/Linux theme={null} > npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop /Users/usern…
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…
Debugging
Model Context Protocol · in the page
docs/2025-06-18/tools/debugging
…ems * Try using an absolute path for `command` 2. **Configuration Errors** * Invalid JSON syntax * Missing required fields * Type mismatches 3. **Environment Problems** * Missing envi…
Build an MCP client
Model Context Protocol · in the page
docs/2025-11-25/develop/build-client
…> 1. **Error Handling** > * Leverage Kotlin's type system to model errors explicitly > * Wrap external tool and API calls in `try-catch` blocks when exceptions are possible > * Provide clear…
Build an MCP server
Model Context Protocol · in the page
docs/2025-11-25/develop/build-server
…th any new ones: > > ```bash theme={null} > # Check Claude's logs for errors > tail -n 20 -f ~/Library/Logs/Claude/mcp*.log > ``` > > **Server not showing up in Claude** > > 1. Check your `claude_desk…
Client Best Practices
Model Context Protocol · in the page
docs/2025-11-25/develop/clients/client-best-practices
…eduplicate inside the sandbox, not in the model's context const uniqueErrors = new Map<string, LogEntry>(); for (const log of logs.entries) { if (!uniqueErrors.has(log.message)) { uniqueErrors.s…
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: > > ```bash macOS/Linux theme={null} > npx -y @modelcontextprotocol/server-filesystem /Users/username/Desktop /Users/usern…
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…
Debugging
Model Context Protocol · in the page
docs/2025-11-25/tools/debugging
…ems * Try using an absolute path for `command` 2. **Configuration Errors** * Invalid JSON syntax * Missing required fields * Type mismatches 3. **Environment Problems** * Missing envi…
Build an MCP client
Model Context Protocol · in the page
docs/2026-07-28/develop/build-client
…with a visible message > * Leverage Kotlin's type system to model errors explicitly > * Wrap external tool and API calls in `try-catch` blocks when exceptions are possible > * Provide clear…
Build an MCP server
Model Context Protocol · in the page
docs/2026-07-28/develop/build-server
…y use stderr for all their logging, so these files are not limited to errors. > > You can run the following command to list recent logs and follow along with any new ones: > > ```bash macOS theme={nul…
Client Best Practices
Model Context Protocol · in the page
docs/2026-07-28/develop/clients/client-best-practices
…eduplicate inside the sandbox, not in the model's context const uniqueErrors = new Map<string, LogEntry>(); for (const log of logs.entries) { if (!uniqueErrors.has(log.message)) { uniqueErrors.s…
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: > > ```bash macOS/Linux theme={null} > npx -y @modelcontextprotocol/[email protected] /Users/username/Desktop /Users…
Debugging
Model Context Protocol · in the page
docs/2026-07-28/tools/debugging
…ems * Try using an absolute path for `command` 2. **Configuration Errors** * Invalid JSON syntax * Missing required fields * Type mismatches 3. **Environment Problems** * Missing envi…
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`, `-…
Configuration and flags
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/configuration
…migrated. | | **Missing file?** | Created and seeded (see below). | **Errors.** | | **Default** | `~/.mcp-inspector/mcp.json`, or the `MCP_CATALOG_PATH` environment variable. | None; you must pass it.…
Load testing
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/load-testing
…20, "durationMs": 30000, "requests": 41210, "ok": 41187, "toolErrors": 0, "errors": 23, "errorRate": 0.0006, "elapsedMs": 30012.4, "throughput": 1373.12, "okThroughput": 1372.35, "…
mcpdo connection client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/mcpdo
…ubcommand. Terminal-bound text (results, elicitation prompts, daemon errors) has control characters stripped, so a server cannot rewrite your terminal. `--format json` stays verbatim. ## Authorizati…
Protocol eras
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/protocol-eras
…ver.elicitInput` (the test servers' > `collect_elicitation` preset) **errors** on a 2026-07-28 connection, because > server-to-client requests aren't allowed there. MRTR is its modern > replacement.…
Recipes
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/recipes
…current calls, and, for HTTP servers, both protocol eras. Verify the *errors* are as intentional as the successes. **4. Lock it in with the CLI** Turn what you found into a CI assertion: pipe the CL…
TUI client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/tui
…missing mcp-inspector --tui --config mcp.json # read-only session, errors if absent ``` With neither `--catalog` nor `--config`, and no [ad-hoc target](https://modelcontextprotocol.io/docs/2026-07…
Web client
Model Context Protocol · in the page
docs/2026-07-28/tools/inspector/web
…round-tool-results-mrtr) rounds grouped as one conversation, and spec errors rendered by class. * **Network**: the HTTP layer, for SSE and Streamable HTTP servers. Status codes, request and response h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/2026-07-28/tutorials/security/authorization
…} from "@modelcontextprotocol/server"; > import { createRemoteJWKSet, errors, jwtVerify } from "jose"; > import * as z from "zod"; > > // The authorization server's issuer identifier, and where it pub…
Build an MCP client
Model Context Protocol · in the page
docs/draft/develop/build-client
…with a visible message > * Leverage Kotlin's type system to model errors explicitly > * Wrap external tool and API calls in `try-catch` blocks when exceptions are possible > * Provide clear…
Build an MCP server
Model Context Protocol · in the page
docs/draft/develop/build-server
…y use stderr for all their logging, so these files are not limited to errors. > > You can run the following command to list recent logs and follow along with any new ones: > > ```bash macOS theme={nul…
Client Best Practices
Model Context Protocol · in the page
docs/draft/develop/clients/client-best-practices
…eduplicate inside the sandbox, not in the model's context const uniqueErrors = new Map<string, LogEntry>(); for (const log of logs.entries) { if (!uniqueErrors.has(log.message)) { uniqueErrors.s…
Connect to local MCP servers
Model Context Protocol · in the page
docs/draft/develop/connect-local-servers
…me` as you did in `claude_desktop_config.json`) to see if you get any errors: > > ```bash macOS/Linux theme={null} > npx -y @modelcontextprotocol/[email protected] /Users/username/Desktop /Users…
Debugging
Model Context Protocol · in the page
docs/draft/tools/debugging
…ems * Try using an absolute path for `command` 2. **Configuration Errors** * Invalid JSON syntax * Missing required fields * Type mismatches 3. **Environment Problems** * Missing envi…
MCP Inspector
Model Context Protocol · in the page
docs/draft/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`, `-…
Configuration and flags
Model Context Protocol · in the page
docs/draft/tools/inspector/configuration
…migrated. | | **Missing file?** | Created and seeded (see below). | **Errors.** | | **Default** | `~/.mcp-inspector/mcp.json`, or the `MCP_CATALOG_PATH` environment variable. | None; you must pass it.…
Load testing
Model Context Protocol · in the page
docs/draft/tools/inspector/load-testing
…20, "durationMs": 30000, "requests": 41210, "ok": 41187, "toolErrors": 0, "errors": 23, "errorRate": 0.0006, "elapsedMs": 30012.4, "throughput": 1373.12, "okThroughput": 1372.35, "…
mcpdo connection client
Model Context Protocol · in the page
docs/draft/tools/inspector/mcpdo
…ubcommand. Terminal-bound text (results, elicitation prompts, daemon errors) has control characters stripped, so a server cannot rewrite your terminal. `--format json` stays verbatim. ## Authorizati…
Protocol eras
Model Context Protocol · in the page
docs/draft/tools/inspector/protocol-eras
…ver.elicitInput` (the test servers' > `collect_elicitation` preset) **errors** on a 2026-07-28 connection, because > server-to-client requests aren't allowed there. MRTR is its modern > replacement.…
Recipes
Model Context Protocol · in the page
docs/draft/tools/inspector/recipes
…current calls, and, for HTTP servers, both protocol eras. Verify the *errors* are as intentional as the successes. **4. Lock it in with the CLI** Turn what you found into a CI assertion: pipe the CL…
TUI client
Model Context Protocol · in the page
docs/draft/tools/inspector/tui
…missing mcp-inspector --tui --config mcp.json # read-only session, errors if absent ``` With neither `--catalog` nor `--config`, and no [ad-hoc target](https://modelcontextprotocol.io/docs/draft/t…
Web client
Model Context Protocol · in the page
docs/draft/tools/inspector/web
…round-tool-results-mrtr) rounds grouped as one conversation, and spec errors rendered by class. * **Network**: the HTTP layer, for SSE and Streamable HTTP servers. Status codes, request and response h…
Understanding Authorization in MCP
Model Context Protocol · in the page
docs/draft/tutorials/security/authorization
…} from "@modelcontextprotocol/server"; > import { createRemoteJWKSet, errors, jwtVerify } from "jose"; > import * as z from "zod"; > > // The authorization server's issuer identifier, and where it pub…
Enterprise-Managed Authorization
Model Context Protocol · in the page
extensions/auth/enterprise-managed-authorization
…estrictions that differ from standard MCP authorization. Handle scope errors gracefully. ### For MCP servers To require enterprise-managed authorization: 1. **Declare the extension** in your server…
Skills
Model Context Protocol · in the page
extensions/skills/overview
…Verification failures are host-side conditions rather than protocol errors. They are handled as described in [Integrity and Verification](#integrity-and-verification). ## Client Support See the [c…
SEP-1686: Tasks
Model Context Protocol · in the page
seps/1686-tasks
…or Handling Tasks use two error reporting mechanisms: 1. **Protocol Errors**: Standard JSON-RPC errors for protocol-level issues 2. **Task Execution Errors**: Errors in the underlying request execut…
SEP-1865: MCP Apps - Interactive User Interfaces for MCP
Model Context Protocol · in the page
seps/1865-mcp-apps-interactive-user-interfaces-for-mcp
…itions, SDKs, etc.). JSON-RPC offers advanced capabilities (timeouts, errors, etc.). **Alternatives considered:** * **Custom message protocol:** Current MCP-UI approach with message types like tool,…
SEP-2164: Standardize Resource Not Found Error Code
Model Context Protocol · in the page
seps/2164-resource-not-found-error
…e (`-32000` to `-32099`) which is reserved for implementation-defined errors, not protocol-level semantics. Additionally, SDK implementations are inconsistent — only 4 of 6 official SDKs use `-32002`,…
SEP-2243: HTTP Header Standardization for Streamable HTTP Transport
Model Context Protocol · in the page
seps/2243-http-standardization
…s with properties, adding implementation complexity and potential for errors. ### Scope: Tools Only The `x-mcp-header` mechanism currently applies only to `tools/call` requests because tools are the…
SEP-2322: Multi Round-Trip Requests
Model Context Protocol · in the page
seps/2322-MRTR
…ect and that the information inside can be correctly parsed. Protocol errors, like malformed JSON, invalid schema, or internal server errors which prevent the processing of the request should return a…
SEP-2549: TTL for List Results
Model Context Protocol · in the page
seps/2549-TTL-for-list-results
…or the parameters were invalid. Clients MAY serve stale responses if errors occur in re-fetching results(e.g., network issues, server downtime). The TTL is a hint for how long the client can safely r…
SEP-2567: Sessionless MCP via Explicit State Handles
Model Context Protocol · in the page
seps/2567-sessionless-mcp
…tation is not visible to the model. * **Expired handles return useful errors.** When a tool receives a handle for state that has expired or been destroyed, the error should say so — "basket `bsk_a1b2c…
SEP-2575: Make MCP Stateless
Model Context Protocol · in the page
seps/2575-stateless-mcp
…uses its preferred version and handles `Unsupported protocol version` errors normally. ## Security Implications Without a session handshake, every request must be independently authenticated and aut…
SEP-2663: Tasks Extension
Model Context Protocol · in the page
seps/2663-tasks-extension
…-RPC error details. This status **MUST NOT** be used for non-JSON-RPC errors. * `cancelled`: The request was cancelled before completion. Derived shapes of `Task` inline status-specific payload field…