---
title: "Get MCP connection"
method: GET
path: "/v1/mcp-connections/{connection_id}"
tags: ["MCP Connections"]
---

# Get MCP connection

`GET /v1/mcp-connections/{connection_id}`

## Request

- Base URL: `https://api.sandbase.ai`
- URL: `https://api.sandbase.ai/v1/mcp-connections/{connection_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Read a connection.

## Response `200`

Connection

- MCPConnection
  - `id` string, required: Connection ID (`mcp_` prefix).
  - `name` string, required
  - `server_url` string, required
  - `secret_id` string
  - `status` 'active' | 'disabled', required
  - `row_version` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: unauthorized: missing, malformed, or conflicting API key headers
- `402`: spending_limit_exceeded: API key spending limit or organization balance exhausted
- `403`: insufficient_scope (scoped key) or org_disabled
- `404`: not_found: the resource does not exist in this organization
- `503`: authorization_unavailable, admission_unavailable, executor_unavailable, storage_unavailable, or internal_error

---

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