Skip to content
VS Code

mcp nfse nacional for VS Code

io.github.samuelmoraesf/mcp-nfse-nacional

MCP Server para consulta de NFSe no portal nacional (nfse.gov.br)

client:VS Code transport:stdio runtime:npm

Install mcp nfse nacional in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cert-password",
      "description": "CERT_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cert-file",
      "description": "CERT_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "node-options",
      "description": "NODE_OPTIONS",
      "password": true
    }
  ],
  "servers": {
    "mcp-nfse-nacional": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-nfse-nacional"
      ],
      "env": {
        "CERT_PASSWORD": "${input:cert-password}",
        "CERT_FILE": "${input:cert-file}",
        "NODE_OPTIONS": "${input:node-options}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp nfse nacional in other clients