Attestwire

v1.2.3
com.attestwire/en16931 Checked 2 days ago Published 3 days ago

EN 16931: validate invoice data, UBL/CII or PDF; emit XRechnung/Peppol XML, never a PDF.

Values you need

VariableWhat it is
ATTESTWIRE_API_KEYoptional secret Optional. An Attestwire API key. Six of the fourteen tools work without it, and validate_invoice, validate_invoice_xml, generate_invoice and diagnose_invoice run without it for 30 documents a day per IP address; lookup_peppol_participant, verify_vat_vies, get_recipient_profile and get_upgrade_link r
ATTESTWIRE_MCP_URLoptional Optional endpoint override. Defaults to https://api.attestwire.com/mcp. Default: https://api.attestwire.com/mcp

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add en16931 -- npx -y --package=@attestwire/mcp@1.2.3 attestwire-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "en16931": {
      "args": [
        "-y",
        "--package=@attestwire/mcp@1.2.3",
        "attestwire-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "en16931": {
      "args": [
        "-y",
        "--package=@attestwire/mcp@1.2.3",
        "attestwire-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "en16931": {
      "args": [
        "-y",
        "--package=@attestwire/mcp@1.2.3",
        "attestwire-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.en16931]
command = "npx"
args = ["-y", "--package=@attestwire/mcp@1.2.3", "attestwire-mcp"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http en16931 https://api.attestwire.com/mcp --header 'Authorization: <Authorization>'
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "en16931": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.attestwire.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "en16931": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "url": "https://api.attestwire.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "en16931": {
      "headers": {
        "Authorization": "<Authorization>"
      },
      "type": "http",
      "url": "https://api.attestwire.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.en16931]
command = "npx"
args = ["-y", "mcp-remote", "https://api.attestwire.com/mcp", "--header", "Authorization: <Authorization>"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json