---
title: "Mint Mcp Token"
method: POST
path: "/api/auth/mcp-token"
---

# Mint Mcp Token

`POST /api/auth/mcp-token`

## Request

- Base URL: `https://pozeidon.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://pozeidon.ai/api/auth/mcp-token`
- Auth: none declared

Mint a short-lived JWT for a direct MCP integration.

Customers POST here with their pozeidon API key to get a token they
can attach as `Authorization: Bearer <token>` when calling the MCP
server directly (e.g. https://analyze.pozeidon.bubbleye.ai/mcp).

Body: {"mcp": "analyze", "ttl_minutes": 30}  — ttl_minutes optional,
defaults to 30, capped at 60.
Returns: {"token": "<jwt>", "expires_at": "<iso8601>", "mcp": "analyze"}

## Request body

- McpTokenRequest
  - `mcp` string, required
  - `ttl_minutes` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pozeidon/apis/pozeidon-demo.md) · [All operations](https://skmtc.dev/pozeidon/apis/pozeidon-demo/llms.txt) · [OpenAPI document](https://skmtc.dev/pozeidon/apis/pozeidon-demo/revisions/de288dc26752?raw)
