# jucesp_nire_socio — how to use (mcp.ai)

Finds companies at JUCESP from a partner (name, CPF or CNPJ), returning each NIRE. 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_jucesp_nire_socio?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. `jucesp_nire_socio_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/jucesp_nire_socio/consultar` — Encontra empresas na JUCESP a partir de um sócio (nome, CPF ou CNPJ), retornando o NIRE de cada participação. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consu
  - body: { login_cpf?: string, login_senha?: string, pkcs12_cert?: string, pkcs12_pass?: string, socio_nome?: string, socio_cpf?: string, socio_cnpj?: string, inclui_inativas?: string }

## Example prompts
- "Which companies does this partner hold at JUCESP?"

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