---
title: "List recent MCP tool calls"
method: GET
path: "/mcp/activity"
tags: ["MCP"]
---

# List recent MCP tool calls

`GET /mcp/activity`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/mcp/activity`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Query parameters

- `workspace_id` string: Optional workspace ID to filter activity
- `limit` integer: Maximum number of recent calls to return. Defaults to 20 and caps at 100.

## Response `200`

OK

- MCPActivityItem[], nullable
  - `client_id` string: API token ID associated with the call, when available
  - `client_name` string: API token name associated with the call, when available
  - `client_scope` string: API token scope associated with the call, when available
  - `client_token_prefix` string: API token prefix associated with the call, when available
  - `created_at` string, required: Call creation time
  - `duration_ms` integer, required: Call duration in milliseconds
  - `error_message` string: Error text for failed calls
  - `id` string, required: Tool call ID
  - `status` string, required: Tool call status
  - `tool_name` string, required: MCP tool name
  - `workspace_id` string: Workspace associated with the call, when provided

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
