MCPBundler Docs
MCPBundler Docs
Volver al marketplacePrimeros PasosAutenticacionTutorial - De un Bundle a un Agente Conectado
API Reference
Agent A2A Tools
Agent Channels
Agent Configuration (Staging)
Agent Configuration (Versions)
Agent Tools
Agents
Create AgentDelete AgentGet AgentList Agent MCP ToolsUpdate AgentList Agents
Auth
Billing
Bundler
Bundler Tool
Bundles
Call Campaigns
Catalog
Conversations
Credentials
Deployments
Discover
Embedding
Fleet
Knowledge Bases
LLM
MCP Listings
Media
OAuth Clients
OAuth2
Observability
Organisations
Realtime
Reviews
Roadmap
SCIM
STT
Suppression
Triggers
TTS
Users
Utils
Voices
Webhooks
Workflows
API ReferenceAgents

List Agent MCP Tools

GET
/v1/agents/{agent_id}/mcp-tools

Every MCP tool this agent can call, grouped by server.

Mounted under the app's /v1 prefix, so the full path is /v1/agents/{agent_id}/mcp-tools.

Authorized through _get_owned_agent, the same helper the PATCH, DELETE and widget-key routes in this file use: it admits the creator, an org ADMIN/OWNER of an org-owned agent, and global-access admins, and resolves every denied case to 404 so the response does not confirm that another tenant's agent exists. get_owned_by_id is deliberately NOT used here - it compares only against context.user_id, so it would refuse org admins who can already read this agent through GET /agents/{id} and edit its workflow.

Filtered by each bundle entry's own allowed_tools with the same matches_pattern the bundler resolve path uses, so the editor can never offer a tool the deployment would refuse at run time.

Authorization

OAuth2AuthorizationCodeBearer
AuthorizationBearer <token>

In: header

Path Parameters

agent_id*Agent Id
Formatuuid

Query Parameters

verify_locally?Verify Locally
Defaulttrue

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-tools"
{  "servers": [    {      "alias": "string",      "serverName": "string",      "iconUrl": "string",      "tools": [        {          "toolName": "string",          "displayName": "string",          "description": "string",          "inputSchema": {}        }      ]    }  ]}
{  "detail": "string",  "code": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}

Get Agent

Previous Page

Update Agent

Next Page