# ibama_embargos — how to use (mcp.ai)

Issues the environmental embargo clearance from IBAMA for a person or company from the CPF or CNPJ. 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_ibama_embargos?ms=1787191260000`
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. `ibama_embargos_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/ibama_embargos/consultar` — Emite a certidão negativa de embargos ambientais do IBAMA para uma pessoa ou empresa a partir do CPF ou CNPJ. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consu
  - body: { Cpf: string, Cnpj: string, completo?: boolean }

## Example prompts
- "Does CNPJ 12345678000190 have IBAMA-embargoed areas?"
- "Embargo clearance for CPF 12345678909"

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