---
title: "The MCP door — stateless JSON-RPC 2.0 POST (initialize / tools/list / tools/call)"
method: POST
path: "/mcp"
---

# The MCP door — stateless JSON-RPC 2.0 POST (initialize / tools/list / tools/call)

`POST /mcp`

## Request

- Base URL: `https://theagentsindex.com`
- URL: `https://theagentsindex.com/mcp`
- Auth: one of:
  - none
  - API key in cookie `__Secure-better-auth.session_token`
  - HTTP bearer

Read tools need no authentication. submit_listing requires a verified account session cookie, or an agent key (Authorization: Bearer) the account made at https://theagentsindex.com/dashboard/agents, on this request; sign in or explicitly create an account at https://theagentsindex.com/login?next=%2Fsubmit. Its JSON-RPC text content reports the submission httpStatus (401 with loginUrl, 403 with email/remediation, or 201/200 on success).

## Request body

- object

## Response `200`

JSON-RPC response.

- object

---

[API](https://skmtc.dev/theagentsindex/apis/the-agents-index-machine-api.md) · [All operations](https://skmtc.dev/theagentsindex/apis/the-agents-index-machine-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theagentsindex/apis/the-agents-index-machine-api/revisions/575bafbb80ad?raw)
