---
title: "Register a client-side MCP server"
method: POST
path: "/api/v1/w/{wId}/mcp/register"
tags: ["MCP"]
---

# Register a client-side MCP server

`POST /api/v1/w/{wId}/mcp/register`

[Documentation](https://docs.dust.tt/docs/client-side-mcp-server)
Register a client-side MCP server to Dust.
The registration is scoped to the current user and workspace.
A serverId identifier is generated and returned in the response.

## Path parameters

- `wId` string, required

## Request body

- object
  - `serverName` string, required — Name of the MCP server

## Response `200`

Server registered successfully

- object
  - `serverId` string
  - `expiresAt` string, date-time

## Other responses

- `400` — Bad Request. Missing or invalid parameters.
- `401` — Unauthorized. Invalid or missing authentication token.
- `403` — Forbidden. User does not have access to the workspace.

---

[API](https://skmtc.net/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.net/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/versions/5834d690c29d/schema)
