# pref_sp_sao_carlos_cnd — how to use (mcp.ai)

Prefeitura SP São Carlos: Clearance Certificate (Debts), official-source lookup. Platform-hosted, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_pref_sp_sao_carlos_cnd?ms=1787218560000`
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. `pref_sp_sao_carlos_cnd_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/pref_sp_sao_carlos_cnd/consultar` — Prefeitura SP São Carlos: Certidão Negativa de Débitos, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informaçã
  - body: { cpf?: string, cnpj?: string, inscricao: string }

## Example prompts
- "Look up Prefeitura SP São Carlos: Clearance Certificate (Debts)"

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