# POST

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/p/[slugId]/mcp/route.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/p/[slugId]/mcp/route.ts#L11)

Slug-fronted, same-origin MCP endpoint: POST /p/<slug>/mcp — proxies the API's public,
urlId-keyed MCP server (docs + entity graph over technical + user manuals). Coding agents
(Claude, Cursor, …) add this URL directly. Stateless: each POST is a self-contained JSON-RPC
exchange, so no session state crosses the proxy.

## Signature

```ts
async function POST(req: Request, ctx: { params: Promise<{ slugId: string }> })
```

## Parameters

| Name | Type |
|---|---|
| `req` | `Request` |
| `ctx` | `{ params: Promise<{ slugId: string }> }` |
