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

# Import Mcp Servers

`POST /v1/mcp/server/import`

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-09-23** `7ed45f30a5f0` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `mcp` added
  - api tag `mcp_management` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

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

---

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