---
title: "Create or update one admin-managed MCP server"
method: PUT
path: "/admin/mcp-servers"
tags: ["admin"]
---

# Create or update one admin-managed MCP server

`PUT /admin/mcp-servers`

## Request body

- AdminUpsertMCPServerRequest
  - `allowed_tools` string[]
  - `description` string
  - `disallowed_tools` string[]
  - `enabled` boolean
  - `headers` object
  - `name` string
  - `slug` string
  - `tool_timeout_seconds` integer
  - `transport` string
  - `url` string
  - `user_paths` string[]

## Response `200`

OK

- AdminMcpServerViewResponse
  - `allowed_tools` string[]
  - `connected_at` string
  - `description` string
  - `disallowed_tools` string[]
  - `enabled` boolean
  - `headers` object
  - `last_error` string
  - `managed` boolean
  - `name` string
  - `prompt_count` integer
  - `resource_count` integer
  - `slug` string
  - `status` string
  - `tool_count` integer
  - `tool_timeout_seconds` integer
  - `transport` string
  - `url` string
  - `user_paths` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `502` — Bad Gateway
- `503` — Service Unavailable

## Changes

> 53 revisions in range; 10 could not be searched.

- **2026-07-21** `a807d76b5ae5` — 2 info
  - added the new optional request property `slug`
  - added the optional property `slug` to the response with the `200` status
- **2026-07-14** `f183374f8ddf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/enterpilot/apis/gomodel-api/changes/admin/mcp-servers/put.md)

---

[API](https://skmtc.dev/enterpilot/apis/gomodel-api.md) · [All operations](https://skmtc.dev/enterpilot/apis/gomodel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enterpilot/gomodel-api/revisions/7b5727a74f59/schema)
