Skip to content
VS Code

ANAF SPV for VS Code

com.foreverworks/anaf-spv

Download what ANAF posts to your SPV inbox, request documents, and validate or file declarations.

client:VS Code transport:stdio runtime:npm

Install ANAF SPV in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "anaf-spv-username",
      "description": "ANAF_SPV_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anaf-spv-password-file",
      "description": "ANAF_SPV_PASSWORD_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anaf-spv-mail-mcp-url",
      "description": "ANAF_SPV_MAIL_MCP_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anaf-spv-mail-mcp-token-file",
      "description": "ANAF_SPV_MAIL_MCP_TOKEN_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "anaf-spv-mail-mcp-command",
      "description": "ANAF_SPV_MAIL_MCP_COMMAND",
      "password": true
    }
  ],
  "servers": {
    "anaf-spv": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@foreverworks/mcp-anaf-spv"
      ],
      "env": {
        "ANAF_SPV_USERNAME": "${input:anaf-spv-username}",
        "ANAF_SPV_PASSWORD_FILE": "${input:anaf-spv-password-file}",
        "ANAF_SPV_MAIL_MCP_URL": "${input:anaf-spv-mail-mcp-url}",
        "ANAF_SPV_MAIL_MCP_TOKEN_FILE": "${input:anaf-spv-mail-mcp-token-file}",
        "ANAF_SPV_MAIL_MCP_COMMAND": "${input:anaf-spv-mail-mcp-command}"
      }
    }
  }
}

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

ANAF SPV in other clients