---
title: "List MCP agents for the current user"
method: GET
path: "/mcp/auth/agents"
tags: ["mcp-auth"]
---

# List MCP agents for the current user

`GET /mcp/auth/agents`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/mcp/auth/agents`
- Auth: HTTP bearer

Returns all MCP tokens that have an agent_name set. Use the token id as assigned_mcp_token_id when assigning tasks to an AI agent via the tasks API.

## Response `200`

- McpAgentResponseDto[]
  - `id` string, required: Token ID — use this as assigned_mcp_token_id when assigning tasks to this agent
  - `agent_name` string: Agent name
  - `label` string: Human-readable label for this token
  - `scopes` string[], required: Scopes granted to this token
  - `created_at` string, required: When the token was created

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
