Follow Discord
Sweep 29 Sep 2026 · 18:10Z Build v2.1.285 506 read Stable v2.1.280 Latest v2.1.285 Next v2.1.285 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,019 pages for server.

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

quickstart Claude Developer Platform · in the page managed-agents/quickstart …---------- | | **Agent** | The model, system prompt, tools, MCP servers, and skills | | **Environment** | Configuration for w… reference Claude Developer Platform · in the page managed-agents/reference …description: Event types, self-hosted worker CLI flags, supported MCP server types, rate limits, and branding guidelines for Claude Managed Agents. featureMetadata: topic: title: Managed Agents… spawn.sh: called once per claimed work item Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes …ts-and-tools/mcp-tunnels/overview) control *how Anthropic reaches MCP servers in your network*. They are independent: a session running in Anthropic's cloud sandboxes can still reach private MCP serve… self-hosted-sandboxes-security Claude Developer Platform · in the page managed-agents/self-hosted-sandboxes-security …ts/self-hosted-sandboxes#serve-custom-tools-from-your-sandbox) or MCP servers you serve from the sandbox, which run with the worker's permissions. Later tool calls in that session read the changed cop… session-operations Claude Developer Platform · in the page managed-agents/session-operations …onfiguration You can update a session's `agent.tools` and `agent.mcp_servers`, including permission policies and per-tool web settings such as [domain filters](https://platform.claude.com/docs/en/man… sessions Claude Developer Platform · in the page managed-agents/sessions …d persisted before the create response returns, in list order, with a server-assigned ID, exactly as if you had posted it to the [send events](https://platform.claude.com/docs/en/managed-agents/events… tools Claude Developer Platform · in the page managed-agents/tools …h uses them to continue the task. To give the agent tools from an MCP server, use the [MCP connector](https://platform.claude.com/docs/en/managed-agents/mcp-connector) instead. ## Available tools Th… vaults Claude Developer Platform · in the page managed-agents/vaults …* (`mcp_oauth`, `static_bearer`): each credential is keyed by an `mcp_server_url`. When the agent connects to a server at that URL at session runtime, the token is injected automatically. * **Environm… webhooks Claude Developer Platform · in the page managed-agents/webhooks …freshed (invalid refresh token, or irrecoverable error from the OAuth server). | </Tab> <Tab title="Agent events"> These events track the li… Or, for the Project Glasswing model with the same capabilities: Claude Developer Platform · in the page models/fable-5-1/migration-guide …de.com/docs/en/build-with-claude/refusals-and-fallback), including a [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback). The API r… whats-new-fable-5-1 Claude Developer Platform · in the page models/fable-5-1/whats-new-fable-5-1 …id: removing a leading run of thinking blocks (oldest first), letting server-side compaction or context editing trim the history, moving `cache_control` markers, and changing `effort` between requests… introducing-claude-fable-5-and-claude-mythos-5 Claude Developer Platform · in the page models/fable-5/introducing-claude-fable-5-and-claude-mythos-5 …e served by another Claude model. There are three ways to retry: * **Server-side:** Pass the `fallbacks` parameter to have the API retry for you, using its `"default"` mode for Anthropic's recommende… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …fusals-and-fallback#refusal-response). Handle refusals and configure [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback) or your ow… whats-new-opus-5-5 Claude Developer Platform · in the page models/opus-5-5/whats-new-opus-5-5 …n](https://platform.claude.com/docs/en/build-with-claude/vision), and server-side and client-side [tools](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview). On the Claude API and… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …t_tokens`, or `block_binding` sent with it returns a 400 error. With [server-side fallback](https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#server-side-fallback), a `betwee… whats-new-sonnet-5-5 Claude Developer Platform · in the page models/sonnet-5-5/whats-new-sonnet-5-5 …n](https://platform.claude.com/docs/en/build-with-claude/vision), and server-side and client-side [tools](https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview). Per-message effort, m… overview Claude Developer Platform · in the page release-notes/overview …ition": {...}}`), so you can add a tool, change its schema, or move a server tool to a newer version without editing `tools` or invalidating the prompt cache. The same header covers adding and removin… handle-streaming-refusals Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/handle-streaming-refusals …with-claude/refusals-and-fallback) page shows how to set that up with server-side fallback, the SDK middleware, or a manual retry. </Tip> ## Implementation guide Here's how to detect and handle stre… increase-consistency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/increase-consistency …2. Once installed, open the GlobalProtect application. 3. In the server field, enter "vpn.ourcompany.com". 4. Use your Active Directory (AD) credentials to log in - the same username and passwo… reduce-latency Claude Developer Platform · in the page test-and-evaluate/strengthen-guardrails/reduce-latency …aude/streaming"> Stream Messages API responses incrementally with server-sent events, including text, tool use, and extended thinking deltas. </Card> </CardGroup> Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …ystem, or a file on disk. The settings control which tools, commands, servers, and network destinations Claude can reach. This page walks through the deployment decisions in order. Each row links to… Escalate hard decisions with the advisor tool Claude Code CLI · in the page advisor …rns guidance that Claude applies before continuing. The advisor runs server-side on Anthropic's infrastructure as a [server tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …d built-in tools, you can: * **Connect external services** with [MCP servers](/docs/en/agent-sdk/mcp) (databases, browsers, APIs) * **Define custom tools** with [custom tool handlers](/docs/en/agent-… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …ist, registry policy, or managed settings file, loads from the host. [Server-managed settings](/docs/en/server-managed-settings) are fetched on an [eligible configuration](/docs/en/server-managed-sett… Configure your agent Claude Code CLI · in the page agent-sdk/configuration …features in the SDK](/docs/en/agent-sdk/claude-code-features) | | `mcpServers` | `mcp_servers` | External tool servers | [Connect to external tools with MCP](/docs/en/agent-sdk/mcp) | | `agents` | `ag… Give Claude custom tools Claude Code CLI · in the page agent-sdk/custom-tools …ols > Define custom tools with the Claude Agent SDK's in-process MCP server so Claude can call your functions, hit your APIs, and perform domain-specific operations. Custom tools extend the Agent SD… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …sing tests before a task closes | | `Elicitation` | No | Yes | An MCP server requests user input mid-task | Respond to MCP input requests programmatically | | `ElicitationResult` | No | Yes | A user r… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …zon Bedrock or Google Cloud's Agent Platform. If your agents use [MCP servers](/docs/en/agent-sdk/mcp) or external tools, they need outbound access to those endpoints as well. For production, route ou… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp # Connect to external tools with MCP > Configure MCP servers to extend your agent with external tools. Covers transport types, tool search for large tool sets, authentication, and error handling. Th… Migrate to Claude Agent SDK Claude Code CLI · in the page agent-sdk/migration-guide …``typescript theme={null} // Before import { query, tool, createSdkMcpServer } from "@anthropic-ai/claude-code"; // After import { query, tool, createSdkMcpServer } from "@anthropic-ai/claude-agent-s… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …end-user identity attached, the `tool_decision`, `tool_result`, `mcp_server_connection`, and `permission_mode_changed` events, which export as log records named with a `claude_code.` prefix, become a… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …e-code-features) | | Plugins | Package skills, agents, hooks, and MCP servers, and load them by local path | [Plugins](/docs/en/agent-sdk/plugins) | ## Get started Follow the [Quickstart](/docs/en/a… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …nteraction behave the same way: `AskUserQuestion` and MCP tools whose server sets [`_meta["anthropic/requiresUserInteraction"]`](/docs/en/mcp#require-approval-for-a-specific-tool) always fall through… Plugins in the SDK Claude Code CLI · in the page agent-sdk/plugins …tom plugins to extend Claude Code with skills, agents, hooks, and MCP servers through the Agent SDK Plugins let you extend Claude Code with custom functionality that can be shared across projects. Th… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …s", ) async for message in query(prompt="Create a Python web server", options=options): print(message) asyncio.run(main()) ``` ### `tool()` Decorator for defining MCP tools with t… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …auto-approve file changes. Other options include `systemPrompt`, `mcpServers`, and more. See all options for [Python](/docs/en/agent-sdk/python#claudeagentoptions) or [TypeScript](/docs/en/agent-sdk/… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …malicious file that instructs it to send customer data to an external server, network controls can block that request entirely. ## Built-in security features Claude Code includes several security fe… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …Common reasons to use a session store: * **Multi-host deployments.** Serverless functions, autoscaled workers, and CI runners don't share a filesystem. A shared store lets replicas resume each other'… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …ill behave this way. </Tip> To resume sessions across machines or in serverless environments, mirror transcripts to shared storage with a [`SessionStore` adapter](/docs/en/agent-sdk/session-storage).… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …skills loaded](#confirm-skills-loaded). Sessions that configure [MCP servers](/docs/en/agent-sdk/mcp) can also expose [MCP prompts as commands](/docs/en/mcp#use-mcp-prompts-as-commands). ### Dispatc… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …rrupt * **Tool integration**: full access to all tools and custom MCP servers during the session * **Real-time feedback**: see responses as they're generated, not just final results * **Context persis… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …` | No | Array of tool names to remove from the agent's tool set. MCP server-level patterns are also accepted: `mcp__server` or `mcp__server__*` removes every tool from that server, and `mcp__*` remov… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …dk/custom-tools): define your own tools with the SDK's in-process MCP server Scale to many tools with tool search Claude Code CLI · in the page agent-sdk/tool-search …-claude/claude-in-microsoft-foundry#hosting-options), which reject it server-side: the SDK detects the rejection and loads tool definitions upfront for that deployment instead. [`ENABLE_TOOL_SEARCH`](… Troubleshoot the Agent SDK Claude Code CLI · in the page agent-sdk/troubleshooting …s troubleshooting](/docs/en/agent-sdk/skills#troubleshooting) | | MCP server shows `failed` status, tools not being called, connection timeouts, tool output that exceeds the maximum allowed tokens | [… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …entry exports the same `query()`, `startup()`, `tool()`, `createSdkMcpServer()`, and `resolveSettings()` as the root entry, along with the functions that rename, tag, and delete sessions, `AbortError`… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …he teammate loads skills from your project and user settings. * **`mcpServers`**: for a split-pane teammate, Claude Code applies the definition's `mcpServers` under the [rules for that field](/docs/en… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …andbox](/docs/en/sandboxing) prompt to allow a network host or an MCP server's [request for input](/docs/en/mcp#respond-to-mcp-elicitation-requests). A command that needs an attached terminal, such as… Run agents in parallel Claude Code CLI · in the page agents …sessions. To involve a different tool, expose it to Claude as an [MCP server](/docs/en/mcp). Three more tools support this work without being a way to run agents themselves: * [Worktrees](/docs/en/w… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …policy instead, they count as [settings that need approval](/docs/en/server-managed-settings#environment-variables-and-the-approval-dialog). ## Use the Mantle endpoint Mantle is an Amazon Bedrock e…
Feedback