---
title: "Create a server under a namespace (deprecated)"
method: PUT
path: "/namespaces/{namespace}/servers/{server}"
tags: ["namespaces"]
deprecated: true
---

# Create a server under a namespace (deprecated)

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

> **Deprecated.**

**Deprecated:** Use PUT /servers/{namespace}/{server} instead. Create a new server under the specified namespace. This endpoint is idempotent.

## Path parameters

- `server` string, required
- `namespace` 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

---

[API](https://skmtc.net/smithery-ai/apis/smithery-platform-api.md) · [All operations](https://skmtc.net/smithery-ai/apis/smithery-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smithery-ai/smithery-platform-api/revisions/60b8c3d2fecf/schema)
