---
title: "Get MCP configuration"
method: GET
path: "/workspaces/{workspace_id}/mcp-config"
tags: ["mcp"]
---

# Get MCP configuration

`GET /workspaces/{workspace_id}/mcp-config`

Retrieves the MCP server configuration for a specific workspace.

## Path parameters

- `workspace_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

MCP configuration retrieved successfully

- AgentMCPConfigOut
  - `servers` MCPServerOut[], required — List of MCP server configurations with redacted headers
    - `id` string, required — Stable config ID for linking actions to this server entry
    - `mcp_url` string, uri, required — The HTTPS URL of the MCP server (SSE endpoint)
    - `has_headers` boolean, required — Whether custom headers are stored in Vault
    - `headers_keys` string[] — Names of stored header keys (values redacted)

## Other responses

- `404` — No MCP configuration found for this workspace

---

[API](https://skmtc.net/synthflow/apis/platform-api.md) · [All operations](https://skmtc.net/synthflow/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/synthflow/platform-api/versions/decb652b52e0/schema)
