# cnd_imovel_rural — how to use (mcp.ai)

Issues the federal debt and active-debt clearance certificate for a rural property from the CIB. 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_cnd_imovel_rural?ms=1787191740000`
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. `cnd_imovel_rural_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/cnd_imovel_rural/consultar` — Emite a Certidão Negativa de Débitos e Dívida Ativa da União de um imóvel rural a partir do CIB. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informaçã
  - body: { CIB: string, completo?: boolean }

## Example prompts
- "Rural property clearance for CIB 1234567-8"
- "Does rural property CIB 1234567-8 have federal debts?"

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