> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pomerado.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get MCP setup for a client

> Copy-paste setup of an MCP for one client (Claude Code, Codex, Cursor, VS Code, Claude Desktop or any MCP client): the MCP's name and URL and the command or config to add it. With integration_id, that integration's own MCP, named after its site; without, the Pomerado MCP. Every MCP signs in with OAuth, which the client discovers, so the snippet carries no secret.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/connect
openapi: 3.1.0
info:
  title: Pomerado API
  version: '1'
  description: >-
    Run and build website tools, follow their jobs, and manage logins, API keys
    and webhooks. Authenticate with a Pomerado API key (pom_…), an MCP OAuth
    token or a Dashboard session as a Bearer token.
servers:
  - url: https://api.pomerado.ai
security: []
tags:
  - name: account
    x-group: Account
  - name: api_keys
    x-group: API keys
  - name: usage
    x-group: Usage
  - name: quota
    x-group: Quota
  - name: billing
    x-group: Billing
  - name: integrations
    x-group: Integrations
  - name: connect
    x-group: Connect
  - name: tools
    x-group: Tools
  - name: webhooks
    x-group: Webhooks
paths:
  /v1/connect:
    get:
      tags:
        - connect
      summary: Get MCP setup for a client
      description: >-
        Copy-paste setup of an MCP for one client (Claude Code, Codex, Cursor,
        VS Code, Claude Desktop or any MCP client): the MCP's name and URL and
        the command or config to add it. With integration_id, that integration's
        own MCP, named after its site; without, the Pomerado MCP. Every MCP
        signs in with OAuth, which the client discovers, so the snippet carries
        no secret.
      operationId: connect.get
      parameters:
        - name: client
          in: query
          required: true
          description: The MCP client to set up; any is a generic client's JSON config
          schema:
            type: string
            enum:
              - claude_code
              - codex
              - cursor
              - vscode
              - claude_desktop
              - any
        - name: integration_id
          in: query
          required: false
          description: The integration whose MCP to connect; omit it for the Pomerado MCP
          schema:
            type: string
            examples:
              - int_0f8e2d1c4b3a49e8a7f6e5d4c3b2a190
      responses:
        '200':
          description: The client's setup
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Connect'
        '400':
          description: invalid_request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: unauthorized, reauthentication_required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: mcp_not_ready, mcp_not_offered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: not_configured
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: temporarily_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearer: []
components:
  schemas:
    Connect:
      type: object
      required:
        - client
        - name
        - mcp_url
        - transport
        - auth
        - format
        - snippet
        - docs_url
      properties:
        client:
          type: string
          enum:
            - claude_code
            - codex
            - cursor
            - vscode
            - claude_desktop
            - any
        name:
          type: string
        mcp_url:
          type: string
        transport:
          type: string
          enum:
            - streamable_http
        auth:
          type: string
          enum:
            - oauth
        format:
          type: string
          enum:
            - shell
            - json
            - text
        snippet:
          type: string
          description: What to paste or run, as format says
        docs_url:
          type: string
      additionalProperties: false
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - retryable
            - docs_url
          properties:
            code:
              type: string
            message:
              type: string
            retryable:
              type: boolean
            docs_url:
              type: string
            details:
              type: object
              required: []
              properties: {}
              additionalProperties:
                $id: /schemas/unknown
          additionalProperties: false
      additionalProperties: false
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.