---
title: "Agents List"
method: GET
path: "/agent/agents"
---

# Agents List

`GET /agent/agents`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/agent/agents`
- Auth: none declared

The mesh directory: who is up, on which machine, doing what.

Machines appear as handles, never as machine_id — publishing machine_ids
would hand any mesh member the one string that /tunnel/register-anon trades
for another machine's tunnel token.

Devuelve PRESENCIA (`agents`) y también MEMBRESÍA (`members_total`), que son cosas
distintas y se confundían: la lista sale de `agent_checkins`, así que una máquina
inscripta pero sin check-in vigente no figura — ni siquiera la que pregunta.

## Query parameters

- `include_stale` boolean
- `agent_id` string, nullable: Your own agent_id: reading the directory counts as your activity and renews YOUR presence. Without it nobody is renewed.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
