BeeL

v0.12.0
es.beel/mcp Checked 1 day ago Published 2 days ago

Spanish e-invoicing with VeriFactu (AEAT): issue invoices, manage customers, validate NIFs.

Values you need

VariableWhat it is
BEEL_API_KEYrequired secret BeeL API key. The prefix selects the environment: beel_sk_test_ for Test, beel_sk_live_ for Live. It may be omitted on a machine where the BeeL CLI has been signed in (`beel login`), whose credentials the server reads from ~/.config/beel/config.json as a fallback; with neither, the server starts and
BEEL_ENVoptional Which stored CLI credential to use when BEEL_API_KEY is not set: test (default) or live. Ignored when BEEL_API_KEY is set, since the key's prefix already says which environment it belongs to.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'BEEL_API_KEY=<BEEL_API_KEY>' -- npx -y --package=@beel_es/mcp@0.12.0 beel-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@beel_es/mcp@0.12.0",
        "beel-mcp"
      ],
      "command": "npx",
      "env": {
        "BEEL_API_KEY": "<BEEL_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@beel_es/mcp@0.12.0",
        "beel-mcp"
      ],
      "command": "npx",
      "env": {
        "BEEL_API_KEY": "<BEEL_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "BEEL_API_KEY",
      "id": "beel-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@beel_es/mcp@0.12.0",
        "beel-mcp"
      ],
      "command": "npx",
      "env": {
        "BEEL_API_KEY": "${input:beel-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@beel_es/mcp@0.12.0", "beel-mcp"]
env = { "BEEL_API_KEY" = "<BEEL_API_KEY>" }

Remote (hosted)

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

For AI agents

  1. Ask the user for: BEEL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: beel_activate_company, beel_activate_compliance_system, beel_cancel_representation, beel_change_managed_access_level, beel_convert_proforma_to_invoice, beel_create_claim_token, beel_create_email_domain, beel_create_account_import, ….
  5. 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