---
title: "Get MCP client setup"
method: GET
path: "/v1/connect"
tags: ["connect"]
---

# Get MCP client setup

`GET /v1/connect`

## Request

- Base URL: `https://api.pomerado.ai`
- URL: `https://api.pomerado.ai/v1/connect`
- Auth: HTTP bearer

Get the setup for adding an MCP to one client: the command or config, ready to paste.

- Clients: Claude Code, Codex, Cursor, VS Code, Claude Desktop or any MCP client.
- Without integration_id, this sets up the Pomerado MCP. With it, that integration's own MCP; one whose MCP is disabled or not hosted is not found.
- The snippet never carries a secret. With oauth, the default, the client signs in itself; with api_key, it reads the POMERADO_API_KEY environment variable.

## Query parameters

- `client` 'claude_code' | 'codex' | 'cursor' | 'vscode' | 'claude_desktop' | 'any', required
- `integration_id` string
- `auth` 'oauth' | 'api_key'

## Response `200`

The client's setup

- Connect
  - `client` 'claude_code' | 'codex' | 'cursor' | 'vscode' | 'claude_desktop' | 'any', required
  - `name` string, required
  - `mcp_url` string, required
  - `keyless_mcp_url` string, nullable, required: The same MCP's URL for use without signing in; null for a private integration
  - `transport` 'streamable_http', required
  - `auth` 'oauth' | 'api_key', required
  - `format` 'shell' | 'json' | 'text', required
  - `snippet` string, required: What to paste or run, as format says
  - `docs_url` string, required
  - `api_base_url` string, required: The REST API's base URL, such as https://api.pomerado.ai/v1
  - `openapi_url` string, required: The OpenAPI document for what this MCP reaches: the Pomerado API or the integration

## Other responses

- `400`: invalid_request
- `401`: unauthorized, reauthentication_required
- `403`: forbidden
- `404`: not_found
- `500`: internal_error
- `501`: not_configured
- `503`: temporarily_unavailable

---

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