sevDesk

v1.6.0
io.github.jaylann/mcp-server-sevdesk Checked 1 day ago Published 16 days ago

Safety-first MCP server for sevDesk accounting: invoices, receipts, banking, reports.

Values you need

VariableWhat it is
SEVDESK_API_TOKENrequired secret sevDesk API token (Settings > Users > API token). It has full access to the account; ideally create it for a dedicated user. To keep it out of the client configuration, run the image by hand with SEVDESK_API_TOKEN_FILE and a mounted secret file instead: https://sevdeskmcp.lanfermann.dev/docs/en/conf
SEVDESK_ALLOWoptional Comma-separated permission tiers to enable: read, write, commit, external, or all. Tools above the allowed tiers are not registered. read is always on. Default: read
SEVDESK_READ_ONLYoptional Set to true to allow only read tools, whatever SEVDESK_ALLOW says. Default: false
SEVDESK_DRY_RUNoptional Set to true to make write tools only return a preview of what they would do, without sending anything. Default: false
SEVDESK_CONFIRMoptional How a human confirms commit and external actions: elicit (in the client) or off (also needs SEVDESK_I_UNDERSTAND_NO_CONFIRM=1). The browser mode's local approval page is not reachable from outside the container. Default: elicit
SEVDESK_AUDIT_LOGoptional Path inside the container (on a mounted, writable volume) of a JSON Lines file that records every write the server makes (redacted). Unset: no audit log.
SEVDESK_TOOLSETSoptional Comma-separated toolsets to load, e.g. invoices,vouchers,banking. Unset loads all except advanced; all adds advanced.
SEVDESK_FILE_DIRSoptional Absolute folders inside the container (separated by colons) that receipts and e-invoices may be read from; mount them into the container. Unset: no local file is read.
SEVDESK_OUTPUT_DIRoptional Folder inside the container (mount it, writable) where PDFs, e-invoice XML, CSV and DATEV exports may be saved. Unset: the file-saving tools are not offered.

npm (npx) discovery passed

Requires Node.js 18+

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

Docker

Requires Docker

Run in a terminal
claude mcp add mcp-server-sevdesk -e 'SEVDESK_API_TOKEN=<SEVDESK_API_TOKEN>' -- docker run -i --rm -e SEVDESK_API_TOKEN ghcr.io/jaylann/mcp-server-sevdesk:1.6.0 --stdio
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-sevdesk": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SEVDESK_API_TOKEN",
        "ghcr.io/jaylann/mcp-server-sevdesk:1.6.0",
        "--stdio"
      ],
      "command": "docker",
      "env": {
        "SEVDESK_API_TOKEN": "<SEVDESK_API_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-sevdesk": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SEVDESK_API_TOKEN",
        "ghcr.io/jaylann/mcp-server-sevdesk:1.6.0",
        "--stdio"
      ],
      "command": "docker",
      "env": {
        "SEVDESK_API_TOKEN": "<SEVDESK_API_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SEVDESK_API_TOKEN",
      "id": "sevdesk-api-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp-server-sevdesk": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SEVDESK_API_TOKEN",
        "ghcr.io/jaylann/mcp-server-sevdesk:1.6.0",
        "--stdio"
      ],
      "command": "docker",
      "env": {
        "SEVDESK_API_TOKEN": "${input:sevdesk-api-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-server-sevdesk]
command = "docker"
args = ["run", "-i", "--rm", "-e", "SEVDESK_API_TOKEN", "ghcr.io/jaylann/mcp-server-sevdesk:1.6.0", "--stdio"]
env = { "SEVDESK_API_TOKEN" = "<SEVDESK_API_TOKEN>" }

For AI agents

  1. Ask the user for: SEVDESK_API_TOKEN. 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: sevdesk_account_info, sevdesk_bank_accounts_list, sevdesk_cash_position, sevdesk_changed_since, sevdesk_contact_get, sevdesk_contacts_next_customer_number, sevdesk_contacts_search, sevdesk_credit_note_get, ….
  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