B

Beel MCP

by beel.es · es.beel/mcp

Enables AI agents to issue, correct, and register legally compliant Spanish electronic invoices with AEAT VeriFactu, supporting F1/F2 types, R1–R5 correctives, and NIF validation from Claude, ChatGPT, Cursor, or VS Code.

npm Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "es-beel-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@beel_es/mcp"
      ],
      "env": {
        "BEEL_API_KEY": "<YOUR_VALUE>",
        "BEEL_ENV": "test",
        "BEEL_BASE_URL": "https://app.beel.es/api",
        "BEEL_DOCS_URL": "https://docs.beel.es",
        "BEEL_CONFIG_DIR": "<VALUE>",
        "BEEL_DISABLE_PREFLIGHT": "<VALUE>",
        "BEEL_REQUEST_TIMEOUT_MS": "30000"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BEEL_API_KEY secret Yes API key. The prefix selects the environment: beel_sk_test_ → Test, beel_sk_live_ → Live.
BEEL_ENV No Optional. With BEEL_API_KEY unset, falls back to the CLI's ~/.config/beel/config.json (beel login); BEEL_ENV (test/live, default test) picks which stored key. Default: test
BEEL_BASE_URL No API base URL. Default https://app.beel.es/api. Default: https://app.beel.es/api
BEEL_DOCS_URL No Documentation source for the docs tools. Default https://docs.beel.es. Default: https://docs.beel.es
BEEL_CONFIG_DIR No Optional. Directory holding the CLI config file used when BEEL_API_KEY is unset.
BEEL_DISABLE_PREFLIGHT No Set to 1 to skip the enforced guardrails.
BEEL_REQUEST_TIMEOUT_MS No Hard ceiling on a single API call. Default 30000. Default: 30000

Similar servers