---
title: "List agent MCP servers"
method: GET
path: "/agents/{agent_id}/mcp-servers"
tags: ["Agents"]
---

# List agent MCP servers

`GET /agents/{agent_id}/mcp-servers`

List the MCP servers (connectors) attached to an agent. Sensitive fields such as `secret_id` and `mcp_server_url` are scrubbed from the response.

## Path parameters

- `agent_id` string, required

## Response `200`

The MCP servers attached to the agent.

- object
  - `agent_id` string
  - `mcp_servers` object[] — Attached MCP server tool configs, with secrets and server URLs redacted.

## Other responses

- `401` — Unauthorized — missing or invalid API key.
- `403` — Forbidden — the caller does not have read access to this agent's configuration.
- `404` — Agent not found.
- `500` — Internal server error.

---

[API](https://skmtc.dev/gumloop/apis/public-api.md) · [All operations](https://skmtc.dev/gumloop/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gumloop/public-api/revisions/115f2d6ce387/schema)
