Install SEFAZ PI: Solicitar Certidão Negativa da Dívida Ativa (CNDA) in Codex
What you need first
- Codex, installed.
- Nothing else: the server runs on its publisher's machines and Codex connects to it.
Steps
- Run this in a terminal. It writes the server into
~/.codex/config.toml, which the Codex CLI, its IDE extension and the ChatGPT desktop app share.
codex mcp add sefaz_pi_cnda-mcp --url https://api.mcp.ai/p_sefaz_pi_cnda - Start Codex again and type
/mcp: the server is listed.
Check it worked
Ask Codex: List the tools of sefaz_pi_cnda-mcp.
If it does not start
- 401 Unauthorized
- The endpoint wants a sign-in or a key. Sign in when Codex asks.
Back to SEFAZ PI: Solicitar Certidão Negativa da Dívida Ativa (CNDA)