---
title: "Add MCP Client"
method: POST
path: "/api/mcp/client"
tags: ["MCP Management"]
---

# Add MCP Client

`POST /api/mcp/client`

Add a new MCP client configuration and establish connection. Supports STDIO, HTTP, and SSE connection types.

## Request body

- MCPClientConfig
  - `name` string, required — Client name
  - `connection_type` 'http' | 'stdio' | 'sse', required — Communication protocol for MCP connections
  - `connection_string` string — HTTP or SSE URL (required for HTTP or SSE connections)
  - `stdio_config` MCPStdioConfig
    - `command` string, required — Executable command to run
    - `args` string[], required — Command line arguments
    - `envs` string[] — Environment variables required
  - `tools_to_skip` string[] — Tools to exclude from this client
  - `tools_to_execute` string[] — Tools to include from this client (if specified, only these are used)

## Response `200`

MCP client added successfully

- SuccessResponse
  - `status` 'success', required — Operation status
  - `message` string, required — Success message

## Other responses

- `400` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.dev/getbifrost/apis/bifrost-http-transport-api.md) · [All operations](https://skmtc.dev/getbifrost/apis/bifrost-http-transport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getbifrost/bifrost-http-transport-api/revisions/e70d3ae3c0d0/schema)
