---
title: "HTTP MCP compatibility endpoint."
method: POST
path: "/api/mcp"
tags: ["Agents and API Keys"]
---

# HTTP MCP compatibility endpoint.

`POST /api/mcp`

## Request

- Base URL: `https://rentahuman.ai`
- URL: `https://rentahuman.ai/api/mcp`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

The npm package exposes the full toolset; this endpoint exposes the remote JSON-RPC compatibility set, supports OAuth discovery for remote connectors, and accepts account API keys through X-API-Key or Authorization: Bearer.

## Request body

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

## Response `2XX`

Successful response.

- object

## Other responses

- `4XX`: Error response.

---

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