# sintegra — how to use (mcp.ai)

Looks up the state taxpayer registration of a person or company in Sintegra from the CPF or CNPJ, state registration, and state. 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_sintegra?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. `sintegra_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/sintegra/consultar` — Consulta o cadastro estadual de contribuinte de uma pessoa ou empresa no Sintegra a partir do CPF ou CNPJ, inscrição estadual e UF. Hospedado pela plataforma, sem credenciais, pague por consulta com c
  - body: { Cpf: string, Cnpj: string, ie: string, Uf: string, completo?: boolean }

## Example prompts
- "Sintegra for CNPJ 12345678000190 in SP"
- "State registration for CNPJ 12345678000190"

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