---
title: "Changes to Store a bearer token for an MCP server"
method: POST
path: "/api/mcp/token"
---

# Changes to Store a bearer token for an MCP server

`POST /api/mcp/token`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 165 revisions.

- **2026-09-07** `d3946c727d24` — 1 warning, 1 info
- **2026-08-20** `ae1be5efc67a` — 1 warning

## Changes

- **2026-09-07** `d3946c727d24` — 1 warning, 1 info
  - the `token` request property's maxLength was set to `8192`
  - added the optional property `mcp_auth_scheme` to the response with the `200` status
- **2026-08-20** `ae1be5efc67a` — 1 warning
  - added the new `device_code` enum value to the `type` response property for the response status `200`

---

[Operation](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/docs/api/mcp/token/post.md) · [API](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server.md) · [Page](https://skmtc.dev/significant-gravitas/apis/autogpt-agent-server/changes/api/mcp/token/post)
