---
title: "Post Mcp Servers"
method: POST
path: "/api/workspaces/{workspace_id}/mcp-servers"
tags: ["mcp-client"]
---

# Post Mcp Servers

`POST /api/workspaces/{workspace_id}/mcp-servers`

## Request

- Base URL: `https://api.outcallerai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outcallerai.com/api/workspaces/{workspace_id}/mcp-servers`
- Auth: none declared

## Path parameters

- `workspace_id` string, required

## Request body

- McpServerCreateRequest
  - `name` string, nullable
  - `displayName` string, nullable
  - `transportType` string, nullable
  - `url` string, nullable
  - `command` string, nullable
  - `args` string[], nullable
  - `cwd` string, nullable
  - `headers` object, nullable
  - `env` object, nullable
  - `sseFallback` boolean, nullable
  - `enabled` boolean, nullable
  - `paste` string, nullable
  - `mcpServers` object, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-07** `22bf77a55154`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outcallerai/apis/outcallerai-api/changes/api/workspaces/:workspace_id/mcp-servers/post.md)

---

[API](https://skmtc.dev/outcallerai/apis/outcallerai-api.md) - [All operations](https://skmtc.dev/outcallerai/apis/outcallerai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outcallerai/apis/outcallerai-api/revisions/40736cf433b4?raw)
