Skip to content
VS Code

ANAF e-Factura for VS Code

com.foreverworks/anaf-efactura

Read, check and file a Romanian company's e-invoices and e-Transport declarations with ANAF.

client:VS Code transport:stdio runtime:npm

Install ANAF e-Factura in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anaf-config",
      "description": "ANAF_CONFIG",
      "password": true
    }
  ],
  "servers": {
    "anaf-efactura": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-anaf-efactura"
      ],
      "env": {
        "ANAF_CONFIG": "${input:anaf-config}"
      }
    }
  }
}

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

ANAF e-Factura in other clients