---
title: "Create a personal MCP agent token"
method: POST
path: "/mcp/agent-tokens"
tags: ["Administration"]
---

# Create a personal MCP agent token

`POST /mcp/agent-tokens`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/mcp/agent-tokens`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Requires a signed-in human with personal connections enabled. Omit scopes, company ids, and expiration to inherit the actor's live LedgerHQ access; owner/admin callers may optionally narrow the connection. Returns the raw token once.

## Response `201`

One-time MCP token result

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
