---
title: "MCP server (Streamable HTTP, stateless JSON-RPC)"
method: POST
path: "/mcp"
tags: ["Agents"]
---

# MCP server (Streamable HTTP, stateless JSON-RPC)

`POST /mcp`

## Request

- Base URL: `https://api.phoenixlabs.space`
- URL: `https://api.phoenixlabs.space/mcp`
- Auth: none declared

The same operations as MCP tools. Needs a key: sign in with OAuth (the 401 carries a WWW-Authenticate challenge pointing at /.well-known/oauth-protected-resource/mcp), or send `Authorization: Bearer pak_…`, or `?key=pak_…` for clients that only take a URL.

## Response `200`

JSON-RPC response.

- object

---

[API](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api.md) · [All operations](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/phoenixlabs/apis/phoenix-labs-api/revisions/7648b94d8dd2?raw)
