---
title: "POST /api/ai/mcp/refresh"
method: POST
path: "/api/ai/mcp/refresh"
---

# POST /api/ai/mcp/refresh

`POST /api/ai/mcp/refresh`

## Headers

- `Marimo-Session-Id` string, required

## Response `200`

Refresh MCP server configuration

- MCPRefreshResponse
  - `error` string, nullable
  - `servers` object
  - `success` boolean, required

---

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