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

533 pages for wait.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Client Best Practices Model Context Protocol · in the page docs/2024-11-05/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/2024-11-05/learn/architecture …with ClientSession(read, write) as session: init_response = await session.initialize() if init_response.capabilities.tools: app.register_mcp_server(session, supports_tools… Understanding MCP clients Model Context Protocol · in the page docs/2024-11-05/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/2024-11-05/tools/debugging …me={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```… Understanding Authorization in MCP Model Context Protocol · in the page docs/2024-11-05/tutorials/security/authorization …cret); } let response: Response; try { response = await fetch(endpoint, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded",… Build an MCP client Model Context Protocol · in the page docs/2025-03-26/develop/build-client …=[server_script_path], env=None ) stdio_transport = await self.exit_stack.enter_async_context(stdio_client(server_params)) self.stdio, self.write = stdio_transport self.sessio… Build an MCP server Model Context Protocol · in the page docs/2025-03-26/develop/build-server …h httpx.AsyncClient() as client: try: response = await client.get(url, headers=headers, timeout=30.0) response.raise_for_status() return response.json()… Client Best Practices Model Context Protocol · in the page docs/2025-03-26/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/2025-03-26/learn/architecture …with ClientSession(read, write) as session: init_response = await session.initialize() if init_response.capabilities.tools: app.register_mcp_server(session, supports_tools… Understanding MCP clients Model Context Protocol · in the page docs/2025-03-26/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/2025-03-26/tools/debugging …me={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-03-26/tutorials/security/authorization …cret); } let response: Response; try { response = await fetch(endpoint, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded",… Build an MCP client Model Context Protocol · in the page docs/2025-06-18/develop/build-client …=[server_script_path], env=None ) stdio_transport = await self.exit_stack.enter_async_context(stdio_client(server_params)) self.stdio, self.write = stdio_transport self.sessio… Build an MCP server Model Context Protocol · in the page docs/2025-06-18/develop/build-server …h httpx.AsyncClient() as client: try: response = await client.get(url, headers=headers, timeout=30.0) response.raise_for_status() return response.json()… Client Best Practices Model Context Protocol · in the page docs/2025-06-18/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/2025-06-18/learn/architecture …with ClientSession(read, write) as session: init_response = await session.initialize() if init_response.capabilities.tools: app.register_mcp_server(session, supports_tools… Understanding MCP clients Model Context Protocol · in the page docs/2025-06-18/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/2025-06-18/tools/debugging …me={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-06-18/tutorials/security/authorization …cret); } let response: Response; try { response = await fetch(endpoint, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded",… Build an MCP client Model Context Protocol · in the page docs/2025-11-25/develop/build-client …=[server_script_path], env=None ) stdio_transport = await self.exit_stack.enter_async_context(stdio_client(server_params)) self.stdio, self.write = stdio_transport self.sessio… Build an MCP server Model Context Protocol · in the page docs/2025-11-25/develop/build-server …h httpx.AsyncClient() as client: try: response = await client.get(url, headers=headers, timeout=30.0) response.raise_for_status() return response.json()… Client Best Practices Model Context Protocol · in the page docs/2025-11-25/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/2025-11-25/learn/architecture …with ClientSession(read, write) as session: init_response = await session.initialize() if init_response.capabilities.tools: app.register_mcp_server(session, supports_tools… Understanding MCP clients Model Context Protocol · in the page docs/2025-11-25/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/2025-11-25/tools/debugging …me={null} @server.tool() async def my_tool(ctx: Context) -> str: await ctx.session.send_log_message( level="info", data="Server started successfully", ) return "done" ```… Understanding Authorization in MCP Model Context Protocol · in the page docs/2025-11-25/tutorials/security/authorization …cret); } let response: Response; try { response = await fetch(endpoint, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded",… Build an MCP client Model Context Protocol · in the page docs/2026-07-28/develop/build-client …user", "content": query } ] tool_list = await client.list_tools() available_tools = [{ "name": tool.name, "description": tool.description, "inp… Build an MCP server Model Context Protocol · in the page docs/2026-07-28/develop/build-server …httpx2.AsyncClient() as client: try: response = await client.get(url, headers=headers, timeout=30.0) response.raise_for_status() return response.json()… Client Best Practices Model Context Protocol · in the page docs/2026-07-28/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/2026-07-28/learn/architecture …ble_tools = [] for client in app.mcp_clients(): tools_response = await client.list_tools() available_tools.extend(tools_response.tools) conversation.register_available_tools(available_tools) `… Understanding MCP clients Model Context Protocol · in the page docs/2026-07-28/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/2026-07-28/tools/debugging …rt {report_id} is ready." ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); ``` MCP defines eight [RFC 5424 seve… Authorization Model Context Protocol · in the page docs/2026-07-28/tools/inspector/authorization …normal CI shape, the CLI fails fast with `auth_required` rather than waiting up to fifteen minutes for a callback nobody will complete. For CI, be explicit: ```bash theme={null} mcp-inspector --cli… CLI client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/cli …runs the same loopback OAuth flow as the TUI: it opens a browser and waits on a localhost callback that a CI job can't complete. Two flags make non-interactive runs predictable: * `--stored-auth-onl… Configuration and flags Model Context Protocol · in the page docs/2026-07-28/tools/inspector/configuration …se-stored-auth`, `--stored-auth-only`, `--relogin`, `--no-revoke`, `--wait-for-auth`, `--list-stored-auth`, `--print-handoff` | ## Environment variables Environment variables split the same way as f… mcpdo connection client Model Context Protocol · in the page docs/2026-07-28/tools/inspector/mcpdo …one prompt per field with a review step. URL mode prints the URL and waits for you to confirm you finished. * **From a script or agent** (`--format json`, or no TTY), the command returns `elicitation… Protocol eras Model Context Protocol · in the page docs/2026-07-28/tools/inspector/protocol-eras …-request modal (the dialog the web client opens whenever a request is waiting on you). Answering it sends **`tasks/update`** carrying the `inputResponses`, and the next poll completes. Reproduce with… Recipes Model Context Protocol · in the page docs/2026-07-28/tools/inspector/recipes …straight from the URL and needs the same gate as `autoConnect`. **5. Wait on a deterministic signal instead of sleeping** The Apps screen exposes a stable automation contract. Poll these attributes… Understanding Authorization in MCP Model Context Protocol · in the page docs/2026-07-28/tutorials/security/authorization …cret); } let response: Response; try { response = await fetch(endpoint, { method: "POST", headers: { "Content-Type": "application/x-www-form-urlencoded",… Build an MCP client Model Context Protocol · in the page docs/draft/develop/build-client …user", "content": query } ] tool_list = await client.list_tools() available_tools = [{ "name": tool.name, "description": tool.description, "inp… Build an MCP server Model Context Protocol · in the page docs/draft/develop/build-server …httpx2.AsyncClient() as client: try: response = await client.get(url, headers=headers, timeout=30.0) response.raise_for_status() return response.json()… Client Best Practices Model Context Protocol · in the page docs/draft/develop/clients/client-best-practices …eme={null} // Model-generated code, executes in sandbox const logs = await logging_getLogs({ level: "error", since: Date.now() - 3600000, }); // Filter and deduplicate inside the sandbox, not in… Architecture overview Model Context Protocol · in the page docs/draft/learn/architecture …ble_tools = [] for client in app.mcp_clients(): tools_response = await client.list_tools() available_tools.extend(tools_response.tools) conversation.register_available_tools(available_tools) `… Understanding MCP clients Model Context Protocol · in the page docs/draft/learn/client-concepts …// Less concerned about API cost speedPriority: 0.2, // Can wait for thorough analysis intelligencePriority: 0.9 // Need complex trade-off evaluation }, systemPrompt: "You are a tra… Debugging Model Context Protocol · in the page docs/draft/tools/debugging …rt {report_id} is ready." ``` ```typescript TypeScript theme={null} await server.sendLoggingMessage({ level: "info", data: "Server started successfully", }); ``` MCP defines eight [RFC 5424 seve… Authorization Model Context Protocol · in the page docs/draft/tools/inspector/authorization …normal CI shape, the CLI fails fast with `auth_required` rather than waiting up to fifteen minutes for a callback nobody will complete. For CI, be explicit: ```bash theme={null} mcp-inspector --cli… CLI client Model Context Protocol · in the page docs/draft/tools/inspector/cli …runs the same loopback OAuth flow as the TUI: it opens a browser and waits on a localhost callback that a CI job can't complete. Two flags make non-interactive runs predictable: * `--stored-auth-onl… Configuration and flags Model Context Protocol · in the page docs/draft/tools/inspector/configuration …se-stored-auth`, `--stored-auth-only`, `--relogin`, `--no-revoke`, `--wait-for-auth`, `--list-stored-auth`, `--print-handoff` | ## Environment variables Environment variables split the same way as f… mcpdo connection client Model Context Protocol · in the page docs/draft/tools/inspector/mcpdo …one prompt per field with a review step. URL mode prints the URL and waits for you to confirm you finished. * **From a script or agent** (`--format json`, or no TTY), the command returns `elicitation… Protocol eras Model Context Protocol · in the page docs/draft/tools/inspector/protocol-eras …-request modal (the dialog the web client opens whenever a request is waiting on you). Answering it sends **`tasks/update`** carrying the `inputResponses`, and the next poll completes. Reproduce with…
Feedback