---
title: "Fetch Mcp Server"
method: GET
path: "/v1/mcp/server/{server_id}"
tags: ["mcp"]
---

# Fetch Mcp Server

`GET /v1/mcp/server/{server_id}`

Returns the mcp server info

## Path parameters

- `server_id` string, required

## Response `200`

Successful Response

- LiteLLMMCPServerTable — Represents a LiteLLM_MCPServerTable record
  - `server_id` string, required
  - `server_name` string, nullable
  - `alias` string, nullable
  - `description` string, nullable
  - `url` string, nullable
  - `spec_path` string, nullable
  - `transport` 'sse' | 'http' | 'stdio', required
  - `auth_type` 'none' | 'api_key' | 'bearer_token' | 'basic' | 'authorization' | 'oauth2', nullable
  - `credentials` MCPCredentials
    - `auth_value` string, nullable
    - `client_id` string, nullable
    - `client_secret` string, nullable
    - `scopes` string[], nullable
  - `created_at` string, date-time, nullable
  - `created_by` string, nullable
  - `updated_at` string, date-time, nullable
  - `updated_by` string, nullable
  - `teams` object[]
  - `mcp_access_groups` string[]
  - `allowed_tools` string[]
  - `extra_headers` string[]
  - `mcp_info` object, nullable
  - `static_headers` object, nullable
  - `status` 'healthy' | 'unhealthy' | 'unknown', nullable — Health status: 'healthy', 'unhealthy', 'unknown'
  - `last_health_check` string, date-time, nullable
  - `health_check_error` string, nullable
  - `command` string, nullable
  - `args` string[]
  - `env` object
  - `authorization_url` string, nullable
  - `token_url` string, nullable
  - `registration_url` string, nullable
  - `allow_all_keys` boolean
  - `available_on_public_internet` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/koboillm/apis/litellm-api.md) · [All operations](https://skmtc.dev/koboillm/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/koboillm/litellm-api/revisions/d4d54fef65be/schema)
