Skip to content
VS Code

mcp afip for VS Code

io.github.codespar/mcp-afip

AFIP — Argentine tax authority, electronic invoicing (Factura Electrónica)

client:VS Code transport:stdio runtime:npm

Install mcp afip in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "afip-cert-path",
      "description": "AFIP_CERT_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "afip-key-path",
      "description": "AFIP_KEY_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "afip-cuit",
      "description": "AFIP_CUIT",
      "password": true
    }
  ],
  "servers": {
    "mcp-afip": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-afip"
      ],
      "env": {
        "AFIP_CERT_PATH": "${input:afip-cert-path}",
        "AFIP_KEY_PATH": "${input:afip-key-path}",
        "AFIP_CUIT": "${input:afip-cuit}"
      }
    }
  }
}

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

mcp afip in other clients