mcp-connector changedmanaged-agents/mcp-connector
Nearest release: v2.1.336, published 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+51added
Lines−0removed
From line
237
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 237, old and new numbered
/
from line 237
237237 ]
238238 )
239239 ```
240
241 ```hcl Terraform
242 resource "anthropic_beta_agent" "github_assistant" {
243 name = "GitHub Assistant"
244 model = { id = "claude-opus-5-5" }
245 mcp_servers = [
246 { url = { name = "github", url = "https://api.githubcopilot.com/mcp/" } },
247 ]
248 tools = [
249 { agent_toolset_20260401 = {} },
250 {
251 mcp_toolset = {
252 mcp_server_name = "github"
253 }
254 },
255 ]
256 }
257 ```
240258</CodeGroup>
241259
242260<Tip>
from line 295
277295}
278296```
279297
298With the Terraform provider, this entry goes in the `tools` argument of an `anthropic_beta_agent` resource:
299
300```hcl
301tools = [
302 {
303 mcp_toolset = {
304 mcp_server_name = "github"
305 default_config = { enabled = false }
306 configs = [
307 { name = "get_issue", enabled = true },
308 { name = "list_issues", enabled = true },
309 { name = "add_issue_comment", enabled = true },
310 ]
311 }
312 },
313]
314```
315
280316This pattern is useful when a server exposes many tools but the agent only needs a few, or when you want tools added by the server operator to stay off until you review them.
281317
282318To disable specific tools while keeping the rest enabled, omit `default_config` (java, php: `defaultConfig`; csharp, go: `DefaultConfig`) and set `enabled: false` on individual entries:
from line 323
287323 "mcp_server_name": "github",
288324 "configs": [{ "name": "delete_repository", "enabled": false }]
289325}
326```
327
328With the Terraform provider, this entry goes in the `tools` argument of an `anthropic_beta_agent` resource:
329
330```hcl
331tools = [
332 {
333 mcp_toolset = {
334 mcp_server_name = "github"
335 configs = [
336 { name = "delete_repository", enabled = false },
337 ]
338 }
339 },
340]
290341```
291342
292343See [Configuring the toolset](https://platform.claude.com/docs/en/managed-agents/tools#configuring-the-toolset) for the general `default_config` (java, php: `defaultConfig`; csharp, go: `DefaultConfig`) / `configs` (csharp, go: `Configs`) pattern, and [MCP toolset permissions](https://platform.claude.com/docs/en/managed-agents/permission-policies#mcp-toolset-permissions) for setting `permission_policy` (java, php: `permissionPolicy`; csharp, go: `PermissionPolicy`) on MCP tools and handling confirmation requests.
No line in this hunk matches that.