B

Bookie

by yuens1002 · io.github.yuens1002/bookie

A Model Context Protocol (MCP) server that keeps the books for your personal and business finances using double-entry accounting — driven entirely from an LLM.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-yuens1002-bookie": {
      "command": "npx",
      "args": [
        "-y",
        "bookie-mcp"
      ],
      "env": {
        "BOOKIE_DB_URL": "<YOUR_VALUE>",
        "BOOKIE_DB_DIRECT_URL": "<YOUR_VALUE>",
        "BOOKIE_API_KEY": "<YOUR_VALUE>",
        "JWT_SECRET": "<VALUE>",
        "PUBLIC_URL": "<VALUE>",
        "RESEND_API_KEY": "<VALUE>",
        "OAUTH_CLIENT_ID": "claude-ai-connector",
        "AWS_ENDPOINT_URL": "<VALUE>",
        "BOOKIE_TRANSPORT": "stdio",
        "AWS_ACCESS_KEY_ID": "<VALUE>",
        "AWS_DEFAULT_REGION": "<VALUE>",
        "AWS_S3_BUCKET_NAME": "<VALUE>",
        "OAUTH_CLIENT_SECRET": "<VALUE>",
        "AWS_SECRET_ACCESS_KEY": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
BOOKIE_DB_URL secret Yes Neon pooled connection string for the database.
BOOKIE_DB_DIRECT_URL secret Yes Neon direct connection string (for db push).
BOOKIE_API_KEY secret Yes Static Bearer token for HTTP transport authentication.
JWT_SECRET No HS256 signing secret for OAuth JWT access tokens.
PUBLIC_URL No Public HTTPS base URL of the deployed server (for Claude.ai connector).
RESEND_API_KEY No Resend API key for send_report tool.
OAUTH_CLIENT_ID No OAuth client ID. Default: claude-ai-connector
AWS_ENDPOINT_URL No Railway Bucket endpoint URL for receipt uploads.
BOOKIE_TRANSPORT No Transport mode: stdio (default) or http. Default: stdio
AWS_ACCESS_KEY_ID No Railway Bucket access key ID.
AWS_DEFAULT_REGION No Railway Bucket region.
AWS_S3_BUCKET_NAME No Railway Bucket name.
OAUTH_CLIENT_SECRET No Single-owner gate: /token requires a matching client_secret.
AWS_SECRET_ACCESS_KEY No Railway Bucket secret access key.

Similar servers