# MCP server (no sessions)

Source: https://immiscible.fly.dev/docs/api/delete-mcp

`DELETE /mcp`

Answers `405`: sessions are stateless, so there is nothing to delete.

## Authentication

Agent key. An agent-scoped key (`ask_...`) bound to exactly one agent, or an OAuth access token (`aat_...`) issued to an MCP client for that agent, sent as `Authorization: Bearer`. An agent key may ask, poll and settle. It can never approve, widen a mandate or lift a freeze.

## Request

curl:

```bash
curl -X DELETE "https://immiscible.fly.dev/mcp" \
  -H "authorization: Bearer $IMMISCIBLE_AGENT_KEY"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/mcp', {
  method: 'DELETE',
  headers: {
    authorization: `Bearer ${process.env.IMMISCIBLE_AGENT_KEY}`,
  },
});
const data = await res.json();
console.log(res.status, data);
```

Python:

```python
import os
import requests

res = requests.delete(
    "https://immiscible.fly.dev/mcp",
    headers={
        "authorization": f"Bearer {os.environ['IMMISCIBLE_AGENT_KEY']}",
    },
)
print(res.status_code, res.json())
```
