What authentication is required?
The server requires a digital certificate file (`.pfx` or `.p12`) and its password. Authentication is handled automatically; if the session expires, the server re-authenticates transparently.
@SamuelMoraesF
Basic information
🇧🇷 MCP Server para consultar NFSe no portal nacional (nfse.gov.br). Busque notas, baixe XMLs e PDFs direto do seu AI agent.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"nfse-nacional": {
"command": "npx",
"args": [
"-y",
"samuelmoraesf/mcp-nfse-nacional"
],
"env": {
"CERT_PASSWORD": "sua_senha_do_certificado",
"CERT_FILE": "caminho/para/seu/certificado.pfx",
"NODE_OPTIONS": "--openssl-legacy-provider"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
MCP NFSe Nacional is an MCP (Model Context Protocol) server that enables AI agents to authenticate with an e-CNPJ/e-CPF digital certificate and consult, retrieve details, and download PDFs of Brazilian Electronic Service Invoices (NFSe) from the national portal (nfse.gov.br).
Install and run via npx with the required environment variables CERT_FILE (path to .pfx/.p12 certificate) and CERT_PASSWORD. Optionally configure MCP_TRANSPORT (stdio or streamable-http) and STORAGE_PATH. The server exposes three tools: nfse_buscar, nfse_detalhes, and nfse_pdf. Docker images are also provided for the streamable-http mode.
The server requires a digital certificate file (`.pfx` or `.p12`) and its password. Authentication is handled automatically; if the session expires, the server re-authenticates transparently.
The server is a Node.js application run via `npx`. No additional runtime dependencies beyond Node.js are required. For Docker, a pre-built image is available.
XMLs and PDFs are saved locally in the directory specified by `STORAGE_PATH` (defaults to `./storage`). The path can be customized via environment variable.
Two modes: `stdio` (default, for direct client integration like Claude Desktop or VS Code) and `streamable-http` (for HTTP-based servers). In HTTP mode, bind address and port are configurable.
The certificate is a critical asset; never version it in Git, restrict file permissions, use environment variables for the password, and do not expose the HTTP server publicly without authentication. Mount the certificate as read-only in Docker.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Yuppsy MCP: build and publish real estate websites from your AI assistant. Yuppsy lets your AI assistant create live websites for real estate agents and individual property listings. You don't need a designer or any code

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Open-source MCP to use Blender with any LLM
不止于 CSS
Comments