---
title: "Reconcile Mcp Server"
method: POST
path: "/api/mcp/servers/{name}/reconcile"
---

# Reconcile Mcp Server

`POST /api/mcp/servers/{name}/reconcile`

## Path parameters

- `name` string, required

## Request body

- ReconcileMcpServerRequest
  - `harnesses` string[], nullable
  - `observedHarness` string, nullable
  - `sourceKind` 'managed' | 'harness', required

## Response `200`

Successful Response

- McpApplyConfigResponse
  - `failed` McpMutationFailureResponse[], required
    - `error` string, required
    - `harness` string, required
  - `ok` boolean, required
  - `server` McpServerSpecResponse, required
    - `args` string[], nullable
    - `command` string, nullable
    - `displayName` string, required
    - `env` object, nullable
    - `headers` object, nullable
    - `installedAt` string, required
    - `name` string, required
    - `revision` string, required
    - `source` McpSourceResponse, required
      - `kind` 'marketplace' | 'adopted' | 'manual', required
      - `locator` string, required
    - `transport` 'stdio' | 'http' | 'sse', required
    - `url` string, nullable
  - `succeeded` string[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mode-io/apis/skill-manager.md) · [All operations](https://skmtc.net/mode-io/apis/skill-manager/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mode-io/skill-manager/versions/a2b29a5aa8b4/schema)
