Invoice MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Invoice MCP Server
A standalone Model Context Protocol (MCP) Server for the Invoice Generator application. This server bridges an AI Client (like Claude, Cursor, ChatGPT) with an existing Express.js/Supabase backend, allowing the AI to authenticate and interact with invoices.
Features
login: Authenticates against the backend and stores the JWT securely in-memory.
create_invoice: Searches for a client by name and creates a new invoice for them.
download_invoice: Retrieves the download link/stream for a specific invoice.
Related MCP server: InvoiceBloom MCP server
Setup and Installation
Install dependencies:
npm installEnvironment Variables: Ensure you have a
.envfile at the root of the project with the following variable:API_BASE_URL=https://suriyainvoicegenerator.inReplace the URL with your actual backend URL.
Running Locally
To run the server locally for testing:
npm startNote: The server uses stdio for MCP communication, so it will wait for stdin messages rather than acting as an HTTP server.
Registering the MCP Server
You can register this MCP server in your AI client. For example, in Cursor, go to Settings -> Features -> MCP, and add a new server with the following command:
node /absolute/path/to/invoice-mcp-server/src/index.js(Make sure to use the absolute path to your src/index.js file.)
Architecture & Folder Structure
mcp-server/
├── src/
│ ├── index.js # Entry point, sets up stdio transport
│ ├── server.js # Registers MCP server and routes tool requests
│ ├── config/
│ │ └── env.js # Environment variable configuration (dotenv & Zod)
│ ├── services/
│ │ └── api.js # Axios client and in-memory session manager
│ ├── tools/
│ │ ├── login.js # Tool for backend authentication
│ │ ├── createInvoice.js # Tool for creating an invoice
│ │ └── downloadInvoice.js # Tool for downloading an invoice
│ ├── middleware/
│ │ └── errorHandler.js # Centralized error handler returning MCP errors
│ └── utils/
│ ├── logger.js # Basic logger (hides sensitive data)
│ └── response.js # MCP response formatting utilities
├── package.json
├── .env
└── README.mdSample Prompts
Once registered with your AI client, try prompts like:
"Login to the invoice generator with email user@example.com and password mypassword."
"Create an invoice for Acme Corp with 2 Laptops at 45000 each. The invoice date is today and due in 30 days."
"Download invoice number 12345 and give me the link."
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Document sharing, invoicing, and personal finance platform. 15+ AI tools via OAuth 2.1.
Create EU-compliant invoices, manage clients and download PDFs from your AI assistant.
Free invoice drafts, templates and direct PDF generation for AI agents. No account needed.
Make PDF invoices from your AI chat: clients, numbering, VAT, overdue reports. All data is local.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables MCP-capable LLMs to securely autofill and save invoices on Digital Invoicing Software on behalf of tenants, with multi-tenant authentication and session management.-
- AlicenseNot gradedqualityCmaintenanceEnables creating, sending, and tracking invoices from MCP clients like Claude, Cursor, or Windsurf, using a hosted endpoint with API token.MIT
- AlicenseNot gradedqualityBmaintenanceLets LLM clients such as Claude, ChatGPT and Cursor search, fetch, issue and track Moldova SFS electronic invoices, check async post status, assign serials, and look up taxpayers in the registry. Each user authenticates with their own e-Factura credentials via OAuth 2.1 + PKCE, so invoices can be managed in natural language without touching SOAP or XML.2AGPL 3.0
- AlicenseAqualityBmaintenanceConnects an AI agent to a user's own signed-in Invoice Simple account so it can create, send, duplicate and chase invoices and estimates in plain language, including listing unpaid invoices by client, amount and due date. Runs as a hosted HTTP endpoint or a local stdio proxy, requiring no Invoice Simple API key.7Elastic 2.0