# ceaf — how to use (mcp.ai)

Checks whether a person is in the register of federal administration expulsions (CEAF) from the CPF. Platform-hosted, no credentials, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_ceaf?ms=1787191620000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `ceaf_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/ceaf`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/ceaf/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/ceaf/consultar` — Verifica se uma pessoa consta no Cadastro de Expulsões da Administração Federal (CEAF) a partir do CPF. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta in
  - body: { Cpf: string, completo?: boolean }

## Example prompts
- "Was CPF 12345678909 expelled from the federal administration?"
- "CEAF check for CPF 12345678909"

## More
- Page: https://mcp.ai/ceaf
- Agent spec (llms.txt): https://mcp.ai/ceaf/llms.txt
- Postman collection: https://mcp.ai/ceaf/postman.json
