---
title: "Admin Publish Version"
method: POST
path: "/admin/versions"
---

# Admin Publish Version

`POST /admin/versions`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/admin/versions`
- Auth: none declared. Required headers: `x-admin-key`

## Headers

- `x-admin-key` string, required

## Request body

- VersionRequest
  - `version` string, required
  - `notes` string
  - `files` object
  - `download_url` string
  - `dmg_url` string
  - `sparkle_signature` string
  - `file_size` integer
  - `min_os_version` string
  - `set_latest` boolean
  - `platform` string
  - `commit_sha` string
  - `allow_downgrade` boolean
  - `downgrade_reason` string
  - `promotion` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
