SAGA C. (Romanian accounting)

v0.1.1
io.github.klove-app/saga-mcp Checked 1 day ago Published 1 day ago

SAGA C. accounting (Romania): balances, invoices, VAT, stock.

Values you need

VariableWhat it is
SAGA_FB_PASSWORDrequired secret Firebird password of the user below, set when SAGA was installed
SAGA_ROOTrequired SAGA install folder with one sub-folder per firm, e.g. C:\SAGA C.3.0
SAGA_FB_USERoptional Firebird user (SYSDBA or a read-only user) Default: SYSDBA
SAGA_FB_HOSToptional Computer running SAGA's Firebird server Default: 127.0.0.1
SAGA_FB_PORToptional Firebird port Default: 3050
SAGA_MCP_ENABLE_WRITESoptional 1 enables the experimental write tools (preview first, backup before saving) Default: 0

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add saga-mcp -e 'SAGA_FB_PASSWORD=<SAGA_FB_PASSWORD>' -e 'SAGA_ROOT=<SAGA_ROOT>' -- npx -y saga-c-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "saga-mcp": {
      "args": [
        "-y",
        "saga-c-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "SAGA_FB_PASSWORD": "<SAGA_FB_PASSWORD>",
        "SAGA_ROOT": "<SAGA_ROOT>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "saga-mcp": {
      "args": [
        "-y",
        "saga-c-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "SAGA_FB_PASSWORD": "<SAGA_FB_PASSWORD>",
        "SAGA_ROOT": "<SAGA_ROOT>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SAGA_FB_PASSWORD",
      "id": "saga-fb-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SAGA_ROOT",
      "id": "saga-root",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "saga-mcp": {
      "args": [
        "-y",
        "saga-c-mcp@0.1.1"
      ],
      "command": "npx",
      "env": {
        "SAGA_FB_PASSWORD": "${input:saga-fb-password}",
        "SAGA_ROOT": "${input:saga-root}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.saga-mcp]
command = "npx"
args = ["-y", "saga-c-mcp@0.1.1"]
env = { "SAGA_FB_PASSWORD" = "<SAGA_FB_PASSWORD>", "SAGA_ROOT" = "<SAGA_ROOT>" }

For AI agents

  1. Ask the user for: SAGA_FB_PASSWORD, SAGA_ROOT. 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: saga_list_firms, saga_firm_info, saga_list_accounts, saga_trial_balance, saga_account_ledger, saga_journal, saga_journal_sources, saga_partners, ….
  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