---
title: "Get Mcp User Env Vars"
method: GET
path: "/v1/mcp/server/{server_id}/user-env-vars"
tags: ["mcp_management"]
---

# Get Mcp User Env Vars

`GET /v1/mcp/server/{server_id}/user-env-vars`

Return the calling user's per-user MCP env var status for this server.

## Path parameters

- `server_id` string, required

## Response `200`

Successful Response

- MCPUserEnvVarsStatus — Per-user env var status for a single MCP server.
  - `alias` string, nullable
  - `missing_count` integer
  - `required` MCPUserEnvVarSpec[]
    - `description` string, nullable
    - `is_set` boolean
    - `name` string, required
  - `server_id` string, required
  - `server_name` string, nullable
  - `setup_url` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-23** `7ed45f30a5f0` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `mcp` added
  - api tag `mcp_management` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `mcp_management` added
  - api tag `mcp` removed
- **2026-09-18** `082b5fabd909` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/mcp/server/:server_id/user-env-vars/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/7ed45f30a5f0?raw)
