---
search:
  tags:
    - gateway
    - POST
seo:
  description: >-
    The same tools as an MCP server over Streamable HTTP, answering with JSON.
    Reference for the POST /mcp endpoint in the Fieldwork gateway API.
sidebar:
  label: MCP
  badge: POST
title: MCP
type: openapi-operation
---
The same tools as an MCP server over Streamable HTTP, answering with JSON.

`POST /mcp`

**Request body** (`application/json`, required)

Request body example:

```json
{}
```

**Responses**

- `200` — A JSON-RPC response.
- `default` — A refusal or a failed call. Branch on error.code; never parse the message.

Response example, 200:

```json
{}
```
