# MCP server card

Source: https://immiscible.fly.dev/docs/api/get-mcp-server-card

`GET /mcp/server-card`

The server's card, as `application/mcp-server-card+json`: its registry name (the public host in reverse DNS), transport, URL, the `Authorization` header it takes, the protocol versions it speaks, and its tools. It follows the experimental MCP server card extension. `/.well-known/mcp/server-card.json` and `/.well-known/mcp.json` answer with the same card for clients that look there.

## 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 "https://immiscible.fly.dev/mcp/server-card" \
  -H "authorization: Bearer $IMMISCIBLE_AGENT_KEY"
```

Node:

```ts
const res = await fetch('https://immiscible.fly.dev/mcp/server-card', {
  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.get(
    "https://immiscible.fly.dev/mcp/server-card",
    headers={
        "authorization": f"Bearer {os.environ['IMMISCIBLE_AGENT_KEY']}",
    },
)
print(res.status_code, res.json())
```
