# seguro_defeso — how to use (mcp.ai)

Checks receipt of the closed-season fishing insurance by a beneficiary from the CPF and NIS. 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_seguro_defeso?ms=1787194080000`
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. `seguro_defeso_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/seguro_defeso`
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/seguro_defeso/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/seguro_defeso/consultar` — Verifica o recebimento do Seguro Defeso por um beneficiário a partir do CPF e do NIS. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de ACESSO
  - body: { Cpf: string, Nis: string, completo?: boolean }

## Example prompts
- "Did CPF 12345678909 receive closed-season insurance?"
- "Closed-season insurance for NIS 12345678901"

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