---
title: "Call the Slimlytics MCP server"
method: POST
path: "/api/mcp"
tags: ["Reporting"]
---

# Call the Slimlytics MCP server

`POST /api/mcp`

## Request

- Base URL: `https://slimlytics.com`
- URL: `https://slimlytics.com/api/mcp`
- Auth: HTTP bearer

Stateless Streamable HTTP JSON-RPC 2.0. Negotiates MCP 2025-03-26, 2025-06-18 and 2025-11-25. Supports browser OAuth or scoped personal API tokens, site setup and first-party installation tools, and analytics reports. Calls are audited. See docs/MCP.md.

## Request body

- object
  - `jsonrpc` '2.0', required
  - `id` unknown
  - `method` string, required
  - `params` object

## Response `200`

JSON-RPC response or MCP tool result

## Other responses

- `202`: Notification accepted; empty body
- `400`: Invalid request
- `401`: Authentication required
- `403`: Insufficient site role
- `500`: Internal service error

---

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