---
title: "Create a server"
method: PUT
path: "/servers/{namespace}/{server}"
tags: ["servers"]
---

# Create a server

`PUT /servers/{namespace}/{server}`

Create a new server under the specified namespace. This endpoint is idempotent - if the server already exists and is owned by the user, returns success.

## Path parameters

- `namespace` string, required
- `server` string, required

## Request body

- CreateServerRequest
  - `displayName` string
  - `description` string

## Response `201`

Server created successfully

- CreateServerResponse
  - `namespace` string, required
  - `server` string, required
  - `displayName` string, required
  - `description` string, required
  - `createdAt` string, required

## Other responses

- `400` — Bad request (invalid name format)
- `401` — Unauthorized
- `403` — Forbidden (namespace not owned by user or missing servers:write permission)
- `404` — Namespace not found

## Changes

- **2026-02-04** `0ea2d8e23fa1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:namespace/:server/put.md)

---

[API](https://skmtc.dev/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/revisions/9d53933ba12e?raw)
