# ecac_dctf_web — how to use (mcp.ai)

ECAC: DCTF WEB, 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_ecac_dctf_web?ms=1787246940000`
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. `ecac_dctf_web_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/ecac_dctf_web/consultar` — ECAC: DCTF WEB, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais brasileiro
  - body: { pkcs12_cert: string, pkcs12_pass: string, data_inicial_apuracao?: string, data_final_apuracao?: string, data_inicial_transmissao?: string, data_final_transmissao?: string, perfil_procurador_cnpj?: string, perfil_procurador_cpf?: string, categoria_declaracao?: string, situacoes_declaracao?: string, numero_recibo?: string, pagina?: string }

## Example prompts
- "Look up ECAC: DCTF WEB"

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