---
title: "Create a personal MCP token for a local agent (returned once)"
method: POST
path: "/api/v1/mcp/connections"
tags: ["MCP access"]
---

# Create a personal MCP token for a local agent (returned once)

`POST /api/v1/mcp/connections`

## Request body

- object
  - `name` string
  - `workspaceId` string, required
  - `access` 'read' | 'write' | 'full', required
  - `ttlDays` integer

## Response `200`

Successful response. Stable response schemas are documented in workflow guides when available.

- unknown

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid authentication.
- `500` — Unexpected server error.

## Changes

- **2026-10-02** `6288e97d9d7a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/layernorm/apis/overlay-web-api/changes/api/v1/mcp/connections/post.md)

---

[API](https://skmtc.dev/layernorm/apis/overlay-web-api.md) · [All operations](https://skmtc.dev/layernorm/apis/overlay-web-api/llms.txt) · [OpenAPI document](https://skmtc.dev/layernorm/apis/overlay-web-api/revisions/723150bfdd74?raw)
