---
title: "Register a new client"
method: POST
path: "/api/v1beta/clients"
tags: ["clients"]
---

# Register a new client

`POST /api/v1beta/clients`

Register a new client with ToolHive

## Request body

- union
  - object
  - V1CreateClientRequest
    - `groups` string[] — Groups is the list of groups configured on the client.
    - `name` 'roo-code' | 'cline' | 'cursor' | 'vscode-insider' | 'vscode' | 'claude-code' | 'windsurf' | 'windsurf-jetbrains' | 'amp-cli' | 'amp-vscode' | 'amp-cursor' | 'amp-vscode-insider' | 'amp-windsurf' | 'lm-studio' | 'goose' | 'trae' | 'continue' | 'opencode' | 'kiro' | 'antigravity' | 'zed' — ClientType is the type of MCP client

## Response `200`

OK

- V1CreateClientResponse
  - `groups` string[] — Groups is the list of groups configured on the client.
  - `name` 'roo-code' | 'cline' | 'cursor' | 'vscode-insider' | 'vscode' | 'claude-code' | 'windsurf' | 'windsurf-jetbrains' | 'amp-cli' | 'amp-vscode' | 'amp-cursor' | 'amp-vscode-insider' | 'amp-windsurf' | 'lm-studio' | 'goose' | 'trae' | 'continue' | 'opencode' | 'kiro' | 'antigravity' | 'zed' — ClientType is the type of MCP client

## Other responses

- `400` — Invalid request or unsupported client type

## Changes

- **2026-01-29** `ff6ce8dd8f3a` — 1 breaking, 4 warning, 8 info
  - removed `#/components/schemas/pkg_api_v1.createClientRequest` from the request body `oneOf` list
  - added the new `amp-cursor` enum value to the `name` response property for the response status `200`
  - added the new `amp-vscode` enum value to the `name` response property for the response status `200`
  - added the new `amp-vscode-insider` enum value to the `name` response property for the response status `200`
  - …9 more

[Change history](https://skmtc.dev/stacklok/apis/toolhive-api/changes/api/v1beta/clients/post.md)

---

[API](https://skmtc.dev/stacklok/apis/toolhive-api.md) · [All operations](https://skmtc.dev/stacklok/apis/toolhive-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stacklok/toolhive-api/revisions/ff6ce8dd8f3a/schema)
