BeeL
v0.12.0Spanish e-invoicing with VeriFactu (AEAT): issue invoices, manage customers, validate NIFs.
Values you need
| Variable | What it is | |
|---|---|---|
BEEL_API_KEY | required 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_ENV | optional | 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-mcpAdd 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/mcpAdd 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
- Ask the user for: BEEL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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