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

# List MCP Connections

> List the caller’s MCP connections, newest first. Match `provider_uuid` to your server ID. Only connections with `status: "success"` are usable for inference.

### Endpoint

**GET** `/v3/tools/credentials/connected_accounts`

### Description

List the caller’s MCP connections, newest first. Match `provider_uuid` to your server ID. Only connections with `status: "success"` are usable for inference.

### Authentication

API key (`x-api-key`) in the header.

### Request

```bash theme={null}
curl -X GET 'https://agent-prod.studio.lyzr.ai/v3/tools/credentials/connected_accounts?user_id=you%40example.com&provider_source=mcp' \
  -H "x-api-key: $LYZR_API_KEY"
```

### Response

Returns an array of connection records.


## OpenAPI

````yaml get /tools/credentials/connected_accounts
openapi: 3.0.3
info:
  title: Lyzr MCP Connections API
  version: 1.0.0
servers:
  - url: https://agent-prod.studio.lyzr.ai/v3
security:
  - ApiKeyAuth: []
paths:
  /tools/credentials/connected_accounts:
    get:
      summary: List MCP Connections
      description: >-
        List the caller’s MCP connections, newest first. Match `provider_uuid`
        to your server ID. Only connections with `status: "success"` are usable
        for inference.
      parameters:
        - name: user_id
          in: query
          required: true
          schema:
            type: string
            description: Your user ID, such as your account email.
        - name: provider_source
          in: query
          required: true
          schema:
            type: string
            enum:
              - mcp
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    provider_uuid:
                      type: string
                      description: MCP server ID returned by List MCP Servers.
                    credential_name:
                      type: string
                      description: Display name for this connection.
                    user_id:
                      type: string
                      description: Your user ID, such as your account email.
                    credential_id:
                      type: string
                      description: ID of the named connection.
                    status:
                      type: string
                      enum:
                        - success
                        - pending
                        - failed
        '400':
          description: Invalid request
        '401':
          description: Authentication required
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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