---
title: "Create an MCP server"
method: POST
path: "/table-enrichments/mcp-servers/"
tags: ["table-enrichments"]
---

# Create an MCP server

`POST /table-enrichments/mcp-servers/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/table-enrichments/mcp-servers/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Register a tool server agents can attach.

## Request body

- McpServerCreateSchema: A new MCP server's configuration.
  - `enabled` boolean
  - `headers` object: Request headers sent with every call, e.g. Authorization.
  - `name` string, required
  - `url` string, required

## Response `201`

Successful Response

- McpServerReadSchema: One org-level MCP server as the agent editor renders it.
  - `account_label` string, nullable, required: OAuth servers only: best-effort account/workspace name of the grant.
  - `auth_mode` string, required: How requests authenticate: 'headers' (static) or 'oauth'.
  - `catalog_slug` string, nullable, required: The curated-catalog entry this server came from; null for custom servers.
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `header_names` string[], required: The names of the configured request headers. Values are credentials and are never returned by the API.
  - `id` string, uuid, required
  - `name` string, required
  - `oauth_status` string, nullable, required: OAuth servers only: 'active' or 'needs_reconnect'; null for static-header servers and never-connected rows.
  - `updated_at` string, date-time, required
  - `url` string, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Server name already taken
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
