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

# List MCP servers

> MCP servers available to the account. `custom=true` returns only the account's own; `servers` filters by id.



## OpenAPI

````yaml /api-reference/endpoint/assistants/openapi.json get /hub/agent/mcp
openapi: 3.0.0
info:
  title: Quiva Assistants API
  x-gateway-name: API Gateway
  description: >-
    API for managing Quiva Assistants. Every endpoint requires either a Bearer
    JWT or an API key — the gateway resolves an API key into the user/account
    context these endpoints read. A restricted API key must explicitly allow the
    /hub/agent* paths it's used against, or requests are rejected before they
    reach this API.
  version: 0.1.1
  contact:
    name: quiva.ai Support
servers:
  - url: https://api.quiva.ai
    description: Production API server
security:
  - bearerAuth: []
  - apiKeyAuth: []
tags:
  - name: MCP servers
    description: Custom MCP servers an assistant can use
paths:
  /hub/agent/mcp:
    get:
      tags:
        - MCP servers
      summary: List MCP servers
      description: >-
        MCP servers available to the account. `custom=true` returns only the
        account's own; `servers` filters by id.
      operationId: listMcpServers
      parameters:
        - name: custom
          in: query
          required: false
          description: Only custom servers
          schema:
            type: boolean
        - name: servers
          in: query
          required: false
          description: Comma-separated server ids
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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