---
title: "Get MCP token"
method: POST
path: "/mcp-token"
tags: ["MCP"]
---

# Get MCP token

`POST /mcp-token`

## Request

- Base URL: `https://api.chift.eu`
- URL: `https://api.chift.eu/mcp-token`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chift/apis/chift-api/docs/mcp-token/post.ts> (a function with typed inputs; its response is checked against the schema)

Authenticates and returns a Bearer access token scoped to the MCP server for the specified consumer, enabling MCP-level API access.

## Request body

- MCPAuthItem
  - `clientId` string, required
  - `clientSecret` string, required
  - `accountId` string, uuid, required
  - `envId` string, uuid, nullable
  - `marketplaceId` string, uuid, nullable
  - `consumerId` string, uuid, required

## Response `200`

Successful Response

- Token
  - `access_token` string, required
  - `token_type` string, required
  - `expires_in` integer, required
  - `expires_on` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `020884969534`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chift/apis/chift-api/changes/mcp-token/post.md)

---

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