mcp-connector changedagents-and-tools/mcp-connector
Nearest release: v2.1.330, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+46added
Lines−46removed
From line
344
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits53to this page, all time
The whole hunk
from line 344, old and new numbered
/
from line 344
344344
345345### Field descriptions
346346
347| Property | Type | Required | Description |
348| --------------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
349| `type` | string | Yes | Currently only `url` is supported. |
350| `url` | string | Yes | The URL of the MCP server. Must start with `https://`. |
351| `name` | string | Yes | A unique identifier for this MCP server. Must be referenced by exactly one MCPToolset in the `tools` array. |
352| `authorization_token` | string | No | OAuth authorization token if required by the MCP server. See [Authentication](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#authentication) for how to obtain one. |
347| Property | Type | Required | Description |
348| ----- | ----- | ----- | ----- |
349| `type` | string | Yes | Currently only `url` is supported. |
350| `url` | string | Yes | The URL of the MCP server. Must start with `https://`. |
351| `name` | string | Yes | A unique identifier for this MCP server. Must be referenced by exactly one MCPToolset in the `tools` array. |
352| `authorization_token` | string | No | OAuth authorization token if required by the MCP server. See [Authentication](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#authentication) for how to obtain one. |
353353
354354## MCP toolset configuration
355355
from line 376
376376
377377### Field descriptions
378378
379| Property | Type | Required | Description |
380| ----------------- | ------ | -------- | --------------------------------------------------------------------------------------------------------------------------------------- |
381| `type` | string | Yes | Must be `mcp_toolset`. |
382| `mcp_server_name` | string | Yes | Must match a server name defined in the `mcp_servers` array. |
383| `default_config` | object | No | Default configuration applied to all tools in this set. Individual tool configs in `configs` override these defaults. |
384| `configs` | object | No | Per-tool configuration overrides. Keys are tool names; values are configuration objects. |
385| `cache_control` | object | No | [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) cache breakpoint configuration for this toolset. |
379| Property | Type | Required | Description |
380| ----- | ----- | ----- | ----- |
381| `type` | string | Yes | Must be `mcp_toolset`. |
382| `mcp_server_name` | string | Yes | Must match a server name defined in the `mcp_servers` array. |
383| `default_config` | object | No | Default configuration applied to all tools in this set. Individual tool configs in `configs` override these defaults. |
384| `configs` | object | No | Per-tool configuration overrides. Keys are tool names; values are configuration objects. |
385| `cache_control` | object | No | [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) cache breakpoint configuration for this toolset. |
386386
387387With the `mcp-client-2026-09-15` beta header, an MCPToolset also accepts `tools`, a pinned copy of the server’s tool list. See [Pin an MCP server’s tool list](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#pin-mcp-tool-list).
388388
from line 390
390390
391391Each tool (whether configured in `default_config` or in `configs`) supports the following fields:
392392
393| Property | Type | Default | Description |
394| --------------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
395| `enabled` | boolean | `true` | Whether this tool is enabled. |
393| Property | Type | Default | Description |
394| ----- | ----- | ----- | ----- |
395| `enabled` | boolean | `true` | Whether this tool is enabled. |
396396| `defer_loading` | boolean | `false` | If true, tool description is not sent to the model initially. Used with [Tool search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool). |
397397
398398For the full directory of Anthropic-provided tools and optional properties such as `defer_loading`, see the [Tool reference](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-reference). To search across large tool sets, see [Tool search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool).
from line 1395
13951395 ```
13961396</CodeGroup>
13971397
1398| Helper | Description |
1399| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1400| `async_mcp_tool(tool, mcp_client)` (typescript: `mcpTools(tools, mcpClient)`; csharp: `BetaMcp.ListToolsAsync(mcpClient)`; go: `mcp.NewBetaTools(tools, session)`; java: `BetaMcp.mcpTools(tools, mcpClient)`; php: `BetaMcp::tools($tools, $mcp)`; ruby: `Anthropic::Mcp.tools(tools, mcp_client)`) | Converts MCP tools to Claude API tools for use with `client.beta.messages.tool_runner()` (typescript: `client.beta.messages.toolRunner()`; java: `client.beta().messages().toolRunner()`; php: `$client->beta->messages->toolRunner()`; csharp: `client.Beta.Messages.ToolRunner()`; go: `client.Beta.Messages.NewToolRunner()`) |
1401| `mcp_message(message)` (typescript: `mcpMessages(messages)`; csharp: `BetaMcp.Messages(messages)`; go: `mcp.ToMessage(message)`; java: `BetaMcp.mcpMessages(messages)`; php: `BetaMcp::message($message)`; ruby: `Anthropic::Mcp.message(message)`) | Converts MCP prompt messages to Claude API message format |
1402| `mcp_resource_to_content(resource)` (typescript: `mcpResourceToContent(resource)`; csharp: `BetaMcp.ResourceToContent(resource)`; go: `mcp.ResourceToBlock(resource)`; java: `BetaMcp.mcpResourceContents(resource)`; php: `BetaMcp::resourceToContent($resource)`; ruby: `Anthropic::Mcp.resource_to_contents(resource)`) | Converts an MCP resource to a Claude API content block |
1403| `mcp_resource_to_file(resource)` (typescript: `mcpResourceToFile(resource)`; csharp: `BetaMcp.ResourceToFile(resource)`; go: `mcp.ResourceToFile(resource)`; java: `BetaMcp.mcpResourceFiles(resource)`; php: `BetaMcp::resourceToFile($resource)`; ruby: `Anthropic::Mcp.resource_to_files(resource)`) | Converts an MCP resource to a file object for upload |
1398| Helper | Description |
1399| ----- | ----- |
1400| `async_mcp_tool(tool, mcp_client)` (typescript: `mcpTools(tools, mcpClient)`; csharp: `BetaMcp.ListToolsAsync(mcpClient)`; go: `mcp.NewBetaTools(tools, session)`; java: `BetaMcp.mcpTools(tools, mcpClient)`; php: `BetaMcp::tools($tools, $mcp)`; ruby: `Anthropic::Mcp.tools(tools, mcp_client)`) | Converts MCP tools to Claude API tools for use with `client.beta.messages.tool_runner()` (typescript: `client.beta.messages.toolRunner()`; java: `client.beta().messages().toolRunner()`; php: `$client->beta->messages->toolRunner()`; csharp: `client.Beta.Messages.ToolRunner()`; go: `client.Beta.Messages.NewToolRunner()`) |
1401| `mcp_message(message)` (typescript: `mcpMessages(messages)`; csharp: `BetaMcp.Messages(messages)`; go: `mcp.ToMessage(message)`; java: `BetaMcp.mcpMessages(messages)`; php: `BetaMcp::message($message)`; ruby: `Anthropic::Mcp.message(message)`) | Converts MCP prompt messages to Claude API message format |
1402| `mcp_resource_to_content(resource)` (typescript: `mcpResourceToContent(resource)`; csharp: `BetaMcp.ResourceToContent(resource)`; go: `mcp.ResourceToBlock(resource)`; java: `BetaMcp.mcpResourceContents(resource)`; php: `BetaMcp::resourceToContent($resource)`; ruby: `Anthropic::Mcp.resource_to_contents(resource)`) | Converts an MCP resource to a Claude API content block |
1403| `mcp_resource_to_file(resource)` (typescript: `mcpResourceToFile(resource)`; csharp: `BetaMcp.ResourceToFile(resource)`; go: `mcp.ResourceToFile(resource)`; java: `BetaMcp.mcpResourceFiles(resource)`; php: `BetaMcp::resourceToFile($resource)`; ruby: `Anthropic::Mcp.resource_to_files(resource)`) | Converts an MCP resource to a file object for upload |
14041404
14051405### Use MCP tools
14061406
from line 2093
20932093
20942094### Common migration patterns
20952095
2096| Old pattern | New pattern |
2097| ------------------------------------------- | --------------------------------------------------------------------------------------- |
2098| No `tool_configuration` (all tools enabled) | MCPToolset with no `default_config` or `configs` |
2099| `tool_configuration.enabled: false` | MCPToolset with `default_config.enabled: false` |
2100| `tool_configuration.allowed_tools: [...]` | MCPToolset with `default_config.enabled: false` and specific tools enabled in `configs` |
2096| Old pattern | New pattern |
2097| ----- | ----- |
2098| No `tool_configuration` (all tools enabled) | MCPToolset with no `default_config` or `configs` |
2099| `tool_configuration.enabled: false` | MCPToolset with `default_config.enabled: false` |
2100| `tool_configuration.allowed_tools: [...]` | MCPToolset with `default_config.enabled: false` and specific tools enabled in `configs` |
21012101
21022102## Deprecated version: mcp-client-2025-04-04
21032103
from line 2126
21262126
21272127### Deprecated field descriptions
21282128
2129| Property | Type | Description |
2130| ---------------------------------- | ------- | ------------------------------------------------------------------ |
2131| `tool_configuration` | object | **Deprecated:** Use MCPToolset in the `tools` array instead |
2132| `tool_configuration.enabled` | boolean | **Deprecated:** Use `default_config.enabled` in MCPToolset |
2133| `tool_configuration.allowed_tools` | array | **Deprecated:** Use allowlist pattern with `configs` in MCPToolset |
2129| Property | Type | Description |
2130| ----- | ----- | ----- |
2131| `tool_configuration` | object | **Deprecated:** Use MCPToolset in the `tools` array instead |
2132| `tool_configuration.enabled` | boolean | **Deprecated:** Use `default_config.enabled` in MCPToolset |
2133| `tool_configuration.allowed_tools` | array | **Deprecated:** Use allowlist pattern with `configs` in MCPToolset |
21342134
21352135## Availability
21362136
from line 2143
21432143* Availability: Available
21442144* Usage: Pass `mcp_servers` and a matching `mcp_toolset` in `tools` on each request. For OAuth servers you get and refresh the access token yourself and pass it as `authorization_token`.
21452145
2146| Status | Cloud platforms |
2147| ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2148| Beta | Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) |
2146| Status | Cloud platforms |
2147| ----- | ----- |
2148| Beta | Claude API, [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) |
21492149
21502150#### [Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview)
21512151
from line 2152
21522152* Availability: Available
21532153* Usage: Declare MCP servers on the agent. Each session supplies credentials by referencing a vault, so secrets stay out of the agent definition.
21542154
2155| Status | Cloud platforms |
2156| ------ | ----------------------- |
2157| Beta | All supported platforms |
2155| Status | Cloud platforms |
2156| ----- | ----- |
2157| Beta | All supported platforms |
21582158
21592159### Required beta headers
21602160
from line 2162
21622162
21632163Beta headers allow you to access experimental features and new model capabilities before they become part of the standard API.
21642164
2165| Header | APIs | Cloud platforms |
2166| -------------------------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2167| `mcp-client-2026-09-15` or `mcp-client-2025-11-20` | [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | Claude API, [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) |
2168| `mcp-client-2025-11-20` | [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) |
2165| Header | APIs | Cloud platforms |
2166| ----- | ----- | ----- |
2167| `mcp-client-2026-09-15` or `mcp-client-2025-11-20` | [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | Claude API, [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) |
2168| `mcp-client-2025-11-20` | [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), [Microsoft Foundry](https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry) |
21692169
21702170### Data handling
21712171
21722172[Data handling overview](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#feature-eligibility)
21732173
2174| Item | Zero data retention | HIPAA |
2175| ------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
2176| Status | Not eligible | Not eligible |
2177| Details | Data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#data-retention) | — |
2174| Item | Zero data retention | HIPAA |
2175| ----- | ----- | ----- |
2176| Status | Not eligible | Not eligible |
2177| Details | Data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#data-retention) | — |
21782178
21792179Applicable endpoints:
21802180
No line in this hunk matches that.