Greeninvoice MCP

Local MCP for processing financial transactions using Green Invoice

About This Project

GreenInvoice-MCP is an unofficial Model Context Protocol server that exposes the Green Invoice API, an Israeli invoicing and accounting platform, to AI assistants such as Claude Code. It consolidates 66 API endpoints into 11 tools, each selected by an action parameter, covering documents, clients, suppliers, items, expenses, payments, webhooks, business and account configuration, reference data, and a sandbox environment. The server handles automatic JWT token management with caching and refresh, and applies built-in rate limiting of roughly three requests per second to match API limits. It is configured through environment variables for API credentials and can be installed from npm or run from source.

The project is written in TypeScript and runs as a local stdio server. A notable design feature is its sandbox tool, which is bound at construction to Green Invoice's test environment and has no code path to production, allowing users to create test documents, preview payloads as PDFs, and validate flows without issuing legally binding records. The project documentation states that the sandbox requires separate credentials, since production keys are rejected there.

This server may be useful to developers and bookkeepers in Israel who want to automate invoicing, expense tracking, or client management through an AI assistant. Because it is unofficial and operates on live financial records, the documentation advises verifying operations against the official Green Invoice dashboard and testing workflows in the sandbox first.

Project Details

Explore More Projects