---
title: "Record Mcp Call"
method: POST
path: "/api/v1/mcp-calls"
tags: ["mcp-calls"]
---

# Record Mcp Call

`POST /api/v1/mcp-calls`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/mcp-calls`
- Auth: none declared

Store one MCP tool call for the user whose token the MCP server forwarded.

## Headers

- `x-mcp-service-token` string, nullable

## Request body

- McpCallRecord
  - `tool` string, required
  - `arguments` object, nullable
  - `status` 'ok' | 'error', required
  - `error` string, nullable
  - `duration_ms` integer, nullable
  - `client` string, nullable
  - `client_ip` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
