---
title: "Create MCP Tool Group"
method: POST
path: "/api/mcp/tool-groups"
tags: ["MCP Tool Groups"]
---

# Create MCP Tool Group

`POST /api/mcp/tool-groups`

Creates a new tool group along with its attachments in a single transaction.
Validates that every `mcp_client_id` points to a deployed MCP client and that every named
tool exists on its server.

## Request body

- object
  - `name` string, required
  - `description` string
  - `enabled` boolean — If omitted, the group is created with `enabled: false`. Send `true` explicitly to activate the group on creation.
  - `tools` object[], required
    - `mcp_client_id` string, required — ID of a deployed MCP client.
    - `tool_names` string[] — Specific tools from this client to include in the group. An empty or omitted array means "all tools from this client".
  - `virtual_key_ids` string[]
  - `team_ids` string[]
  - `customer_ids` string[]
  - `user_ids` string[]
  - `provider_names` string[]
  - `api_key_ids` integer[]

## Response `201`

Group created

- object
  - `mcp_tool_group` object
    - `id` integer
    - `name` string
    - `description` string, nullable
    - `enabled` boolean
    - `tools` object[]
      - `mcp_client_id` string, required — ID of a deployed MCP client.
      - `tool_names` string[] — Specific tools from this client to include in the group. An empty or omitted array means "all tools from this client".
    - `virtual_key_ids` string[]
    - `team_ids` string[]
    - `customer_ids` string[]
    - `user_ids` string[]
    - `provider_names` string[]
    - `api_key_ids` integer[]
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400` — Validation failed (missing name, invalid MCP client IDs, or invalid tool names).
- `500` — Internal server error

---

[API](https://skmtc.net/getbifrost/apis/bifrost-api.md) · [All operations](https://skmtc.net/getbifrost/apis/bifrost-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbifrost/bifrost-api/versions/f8cab88f64ea/schema)
