---
title: "List MCP servers"
method: GET
path: "/v1/mcp_server"
tags: ["McpServers"]
---

# List MCP servers

`GET /v1/mcp_server`

## Request

- Base URL: `https://api.braintrust.dev`
- URL: `https://api.braintrust.dev/v1/mcp_server`
- Auth: one of:
  - HTTP bearer
  - none

List out all MCP servers. The MCP servers are sorted by creation date, with the most recently-created MCP servers coming first

## Query parameters

- `limit` integer, nullable: Limit the number of objects to return
- `starting_after` string, uuid: Pagination cursor id. For example, if the final item in the last page you fetched had an id of `foo`, pass `starting_after=foo` to fetch the next page. Note: you may only pass one of `starting_after` and `ending_before`
- `ending_before` string, uuid: Pagination cursor id. For example, if the initial item in the last page you fetched had an id of `foo`, pass `ending_before=foo` to fetch the previous page. Note: you may only pass one of `starting_after` and `ending_before`
- `ids` union: Filter search results to a particular set of object IDs. To specify a list of IDs, include the query param multiple times
  - string, uuid
  - string[]
- `mcp_server_name` string: Name of the mcp_server to search for
- `org_name` string: Filter search results to within a particular organization

## Response `200`

Returns a list of MCP server objects

- object
  - `objects` MCPServer[], required: A list of MCP server objects
    - `id` string, uuid, required: Unique identifier for the MCP server
    - `project_id` string, uuid, required: Unique identifier for the project that the MCP server belongs under
    - `user_id` string, uuid, nullable: Identifies the user who created the MCP server
    - `created` string, date-time, nullable: Date of MCP server creation
    - `deleted_at` string, date-time, nullable: Date of MCP server deletion, or null if the MCP server is still active
    - `name` string, required: Name of the MCP server. Within a project, MCP server names are unique
    - `description` string, nullable: Textual description of the MCP server
    - `url` string, required: URL of the MCP server endpoint

## Other responses

- `400`: The request was unacceptable, often due to missing a required parameter
- `401`: No valid API key provided
- `403`: The API key doesn’t have permissions to perform the request
- `429`: Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- `500`: Something went wrong on Braintrust's end. (These are rare.)

## Changes

- **2025-12-04** `b6967d956e2f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/braintrustdata/apis/braintrust-api/changes/v1/mcp_server/get.md)

---

[API](https://skmtc.dev/braintrustdata/apis/braintrust-api.md) - [All operations](https://skmtc.dev/braintrustdata/apis/braintrust-api/llms.txt) - [OpenAPI document](https://skmtc.dev/braintrustdata/apis/braintrust-api/revisions/19184ec94018?raw)
