---
title: "List Mcp Server User Credentials"
method: GET
path: "/v1/mcp/server/{server_id}/user-credentials"
tags: ["mcp"]
---

# List Mcp Server User Credentials

`GET /v1/mcp/server/{server_id}/user-credentials`

List every user's stored BYOK or OAuth2 credential for an MCP server (admin only, no secrets)

## Path parameters

- `server_id` string, required

## Response `200`

Successful Response

- MCPServerUserCredentialListItem[]
  - `user_id` string, required
  - `credential_type` 'oauth2' | 'byok', required
  - `expires_at` string, nullable
  - `connected_at` string, nullable
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-10-05** `611a0ed75fe8` — 2 info
  - api tag `mcp` added
  - api tag `mcp_management` removed
- **2026-10-04** `51c2ca10dc0b` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-30** `85ac4287140e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/mcp/server/:server_id/user-credentials/get.md)

---

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