Skip to main content
Glama
SamuelMoraesF

mcp-nfse-nacional

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoEndereço de bind do servidor HTTP (somente no modo streamable-http).127.0.0.1
MCP_PORTNoPorta do servidor HTTP (somente no modo streamable-http).3000
CERT_FILEYesCaminho para o arquivo do certificado digital (.pfx / .p12), relativo ao diretório do projeto ou absoluto.
STORAGE_PATHNoDiretório onde os XMLs e PDFs baixados serão armazenados../storage
CERT_PASSWORDYesSenha do certificado digital.
MCP_TRANSPORTNoModo de transporte do servidor MCP. Valores aceitos: stdio ou streamable-http.stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
nfse_buscarA

Busca notas fiscais de serviço eletrônicas (NFSe) emitidas em um período. Retorna lista com data, destinatário, valor, status e chave de cada nota.

nfse_detalhesA

Obtém os detalhes completos de uma NFSe específica a partir de sua chave. Retorna dados do cabeçalho, emitente, valores, DPS e salva o XML localmente.

nfse_pdfA

Baixa o PDF (DANFSe) de uma NFSe específica a partir de sua chave. Retorna o caminho do arquivo PDF salvo localmente.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a distinct purpose: nfse_buscar searches for invoices in a period, nfse_detalhes retrieves full details for a specific invoice, and nfse_pdf downloads the PDF. There is no overlap or ambiguity between them.

Naming Consistency4/5

All tools share the 'nfse_' prefix, but the second part mixes a verb (buscar) with nouns (detalhes, pdf). This is a minor deviation from a strict verb_noun pattern, though the prefix provides consistency and readability.

Tool Count4/5

With 3 tools, the server is minimal but well-scoped for a focused NFSe consultation/download workflow. It is not too thin for the apparent purpose, and each tool adds clear value.

Completeness4/5

The set covers the core operations for retrieving NFSe documents: search, detail retrieval, and PDF download. Missing actions like emission or cancellation are outside the apparent consumer-focused scope, so no critical gaps exist.

Maintenance

ActivityInactive
ResponsivenessNo issues