---
title: "Import Mcp Servers"
method: POST
path: "/v1/mcp/server/import"
tags: ["mcp_management"]
---

# Import Mcp Servers

`POST /v1/mcp/server/import`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/v1/mcp/server/import`
- Auth: API key in header `x-litellm-api-key`

Bulk-import MCP connectors from Anthropic mcpServers or mcp_servers JSON

## Request body

- MCPConnectorImportRequest
  - `mcp_servers` union, required
    - object
    - MCPConnectorEntry[]
      - `args` string[]
      - `authorization_token` string, nullable
      - `command` string, nullable
      - `description` string, nullable
      - `env` object
      - `headers` object, nullable
      - `name` string, nullable
      - `type` string, nullable
      - `url` string, nullable

## Response `200`

Successful Response

- MCPConnectorImportResponse
  - `errors` MCPConnectorImportFailure[], required
    - `error` string, required
    - `name` string, required
  - `imported` MCPConnectorImportResult[], required
    - `alias` string, required
    - `name` string, required
    - `server_id` string, required
  - `skipped` MCPConnectorImportSkipped[], required
    - `name` string, required
    - `reason` string, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/v1/mcp/server/import/post.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/f2fb14eab3f5?raw)
