---
title: "Save Mcp Connector"
method: POST
path: "/api/mcp_connectors/save"
tags: ["MCP connectors"]
---

# Save Mcp Connector

`POST /api/mcp_connectors/save`

## Request

- Base URL: `https://app.getdot.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.getdot.ai/api/mcp_connectors/save`
- Auth: one of:
  - API key in header `X-API-KEY`
  - API key in cookie `Authorization`
  - OAuth 2 (password, token URL `/api/auth/token`)

Create or update a connector, loading its tools. Nothing is saved if the server can't be reached.

## Request body

- BodySaveMcpConnectorApiMcpConnectorsSavePost
  - `name` string, required
  - `slug` string, required
  - `description` string, required
  - `url` string, required
  - `id` string, nullable
  - `api_key_header` string, nullable
  - `api_key` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getdot/apis/dot-api-2.md) · [All operations](https://skmtc.dev/getdot/apis/dot-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/getdot/apis/dot-api-2/revisions/d26fe7163a7f?raw)
