# Deck MCP server

Official first-party MCP (Model Context Protocol) server for Deck.

- **Live endpoint (Streamable HTTP):** https://docs.deck.co/mcp
- **Discovery:** https://deck.co/.well-known/mcp
- **Server card:** https://deck.co/.well-known/mcp/server-card.json
- **OpenAPI:** https://deck.co/openapi.json
- **Auth docs:** https://docs.deck.co/api/using-the-api
- **Webhooks:** https://docs.deck.co/events/events

## Handshake

```bash
curl -s -X POST https://docs.deck.co/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"example","version":"1.0.0"}}}'
```

The initialize result advertises `tools` and `resources`. After initialize, send `notifications/initialized` then `tools/list`.
