---
title: "Deploy an MCP server"
method: PUT
path: "/servers/{namespace}/deployments"
tags: ["servers"]
---

# Deploy an MCP server

`PUT /servers/{namespace}/deployments`

Deploy an MCP server via multipart form. Supports hosted deployments (upload a JS module), external deployments (register a URL), stdio deployments (upload an MCPB bundle), and repo deployments (build from a connected GitHub repository).

## Path parameters

- `namespace` string, required

## Response `202`

Deployment accepted

- DeployResponse
  - `deploymentId` string, uuid, required — Unique identifier for this deployment.
  - `status` string, required — Initial deployment status. Will be WORKING while the deployment is in progress.
  - `mcpUrl` string, uri, required — The MCP endpoint URL for connecting to this server once deployed.
  - `warnings` string[] — Non-fatal warnings encountered during deployment submission.

## Other responses

- `400` — Invalid payload

## Changes

- **2026-01-27** `12e546828dc5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/smithery-ai/apis/smithery-platform-api/changes/servers/:namespace/deployments/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/eab7f6413d3a?raw)
