Docs navigation
Agents

Get Agent Inherited Mcp Servers

Get Agent Inherited Mcp Servers

GET/v2/agents/{agent_id}/mcp-servers/inherited

The MCP servers this agent inherits from its orchestration, and how each is composed with the agent's own servers of the same name. Behind the same manage authority as the orchestration's own MCP servers even though it returns no secret values: knowing what an agent can call is itself project-scoped information. It exists as its own route so the web client can render the inheritance UI — Override / Suppress per server — without fetching the full agent object. Takes a session or a user-scoped PAT. A missing or inaccessible agent, or a resource-scoped PAT (agent, thread, or task), answers 404.

Path Parameters

agent_idstring · uuidrequired
Request
curl --request GET \
  --url https://api.brainbaselabs.com/v2/agents/{agent_id}/mcp-servers/inherited \
  --header 'Authorization: Bearer YOUR_API_KEY'
Response
json
{
  "enabled": true,
  "source": null,
  "ambiguous": false,
  "servers": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "url": null,
      "command": null,
      "args": [
        "string"
      ],
      "is_enabled": true,
      "icon": null,
      "icon_color": null,
      "env_keys": [
        "string"
      ],
      "headers_keys": [
        "string"
      ],
      "env_refs": {
        "property1": "string",
        "property2": "string"
      },
      "headers_refs": {
        "property1": "string",
        "property2": "string"
      },
      "created_at": null,
      "updated_at": null,
      "status": "inherited"
    }
  ],
  "degraded": false,
  "warnings": [
    "string"
  ]
}