mcp-midaz
v0.1.0MCP server for Midaz by Lerian — self-hosted double-entry ledger: accounts, balances, transactions
Values you need
| Variable | What it is | |
|---|---|---|
MIDAZ_BASE_URL | required | Base URL of your self-hosted Midaz onboarding service |
MIDAZ_TRANSACTION_URL | optional | Base URL of the Midaz transaction service. Defaults to MIDAZ_BASE_URL. |
MIDAZ_API_KEY | optional 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.0Add 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
- Ask the user for: MIDAZ_BASE_URL. 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: create_account, list_accounts, get_balance, create_transaction, get_transaction.
- 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