---
title: "Get MCP status"
method: GET
path: "/mcp"
---

# Get MCP status

`GET /mcp`

Get the status of all Model Context Protocol (MCP) servers.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

MCP server status

- object

## Changes

- **2026-04-25** `0a2d50cb4204` — 1 info
  - added the new optional `query` request parameter `workspace`
- **2025-12-16** `dc065d96c390` — 1 breaking, 1 info
  - the response's body type/format changed from ``/`` to `object`/`` for status `200`
  - added 'propertyNames' constraint to the response body for the status `200`

[Change history](https://skmtc.dev/kaaass/apis/opencode/changes/mcp/get.md)

---

[API](https://skmtc.dev/kaaass/apis/opencode.md) · [All operations](https://skmtc.dev/kaaass/apis/opencode/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kaaass/opencode/revisions/8bb9a15bd144/schema)
