bokio-mcp
v0.7.0Bokio accounting API as MCP tools: ledger, invoices, SIE balances, VAT, P&L.
Values you need
| Variable | What it is | |
|---|---|---|
BOKIO_TOKEN | required secret | Private Bearer token, created in Bokio under Integrations |
BOKIO_COMPANY_ID | optional | Default company, used when a tool call leaves out companyId |
BOKIO_ALLOW_WRITES | optional | 1, true, yes or on enables write tools; anything else keeps them hidden and blocked |
BOKIO_DOWNLOAD_DIR | optional | Where SIE, PDF and upload downloads are saved; paths outside it are rejected and files are never overwritten |
BOKIO_BASE_URL | optional | Defaults to https://api.bokio.se/v1 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add bokio-mcp -e 'BOKIO_TOKEN=<BOKIO_TOKEN>' -- npx -y bokio-mcp@0.7.0Add to
claude_desktop_config.json{
"mcpServers": {
"bokio-mcp": {
"args": [
"-y",
"bokio-mcp@0.7.0"
],
"command": "npx",
"env": {
"BOKIO_TOKEN": "<BOKIO_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"bokio-mcp": {
"args": [
"-y",
"bokio-mcp@0.7.0"
],
"command": "npx",
"env": {
"BOKIO_TOKEN": "<BOKIO_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BOKIO_TOKEN",
"id": "bokio-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"bokio-mcp": {
"args": [
"-y",
"bokio-mcp@0.7.0"
],
"command": "npx",
"env": {
"BOKIO_TOKEN": "${input:bokio-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.bokio-mcp]
command = "npx"
args = ["-y", "bokio-mcp@0.7.0"]
env = { "BOKIO_TOKEN" = "<BOKIO_TOKEN>" }For AI agents
- Ask the user for: BOKIO_TOKEN. 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: bokio_company_info, bokio_list_fiscal_years, bokio_get_fiscal_year, bokio_chart_of_accounts, bokio_get_account, bokio_download_sie, bokio_account_balances, bokio_account_ledger, ….
- 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