mcp-midaz

v0.1.0
io.github.codespar/mcp-midaz Checked 17 hours ago Published 5 months ago

MCP server for Midaz by Lerian — self-hosted double-entry ledger: accounts, balances, transactions

Values you need

VariableWhat it is
MIDAZ_BASE_URLrequired Base URL of your self-hosted Midaz onboarding service
MIDAZ_TRANSACTION_URLoptional Base URL of the Midaz transaction service. Defaults to MIDAZ_BASE_URL.
MIDAZ_API_KEYoptional secret Bearer token when your deployment enforces auth

npm (npx) discovery passed

Requires Node.js 18+

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

For AI agents

  1. Ask the user for: MIDAZ_BASE_URL. 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: create_account, list_accounts, get_balance, create_transaction, get_transaction.
  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