Tethlo MCP server for Invoice Ninja (unofficial demo)
MCP server letting AI clients manage Invoice Ninja clients, invoices and payments
Tethlo MCP server for Invoice Ninja (unofficial demo) is an open-source MCP server for accounting and tax. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (3 tools)
- Access
- Needs a secret key or token
- Version
- 0.1.0
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-for-invoice-ninja --env INVOICENINJA_API_TOKEN='<INVOICENINJA_API_TOKEN>' -- npx -y @tethlo/mcp-for-invoice-ninjaAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-for-invoice-ninja": {
"command": "npx",
"args": [
"-y",
"@tethlo/mcp-for-invoice-ninja"
],
"env": {
"INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-for-invoice-ninja": {
"command": "npx",
"args": [
"-y",
"@tethlo/mcp-for-invoice-ninja"
],
"env": {
"INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-for-invoice-ninja": {
"command": "npx",
"args": [
"-y",
"@tethlo/mcp-for-invoice-ninja"
],
"env": {
"INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-for-invoice-ninja": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tethlo/mcp-for-invoice-ninja"
],
"env": {
"INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-for-invoice-ninja --env INVOICENINJA_API_TOKEN='<INVOICENINJA_API_TOKEN>' -- npx -y @tethlo/mcp-for-invoice-ninjaOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-for-invoice-ninja]
command = "npx"
args = ["-y", "@tethlo/mcp-for-invoice-ninja"]
env = { INVOICENINJA_API_TOKEN = "<INVOICENINJA_API_TOKEN>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-for-invoice-ninja": {
"command": "npx",
"args": [
"-y",
"@tethlo/mcp-for-invoice-ninja"
],
"env": {
"INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Or run: gemini mcp add -s user -e INVOICENINJA_API_TOKEN='<INVOICENINJA_API_TOKEN>' mcp-for-invoice-ninja npx -- -y @tethlo/mcp-for-invoice-ninja
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-for-invoice-ninja": { "command": "npx", "args": [ "-y", "@tethlo/mcp-for-invoice-ninja" ], "env": { "INVOICENINJA_API_TOKEN": "<INVOICENINJA_API_TOKEN>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
INVOICENINJA_API_TOKENInvoice Ninja API token (Settings > Account Management > API Tokens).RequiredINVOICENINJA_BASE_URLOptional: a self-hosted instance, e.g. https://invoices.example.com. Default: https://invoicing.co
About Tethlo MCP server for Invoice Ninja (unofficial demo)
Connects an Invoice Ninja account to Claude, ChatGPT and other MCP clients so billing can be handled through plain-language requests. Clients can be found by name, partial name or email, and invoices by number or id, so a request like chasing an overdue balance does not require navigating the app.
The server wraps the invoicing loop in eight tools rather than mirroring the API endpoints one by one. Drafts are the default when creating invoices, payments cannot exceed the outstanding balance, and write requests are not retried automatically, which avoids duplicate invoices or payments. A receivables tool computes aging buckets and top debtors that the Invoice Ninja API does not return directly.
It runs locally over stdio with an npm package, or as a stateless Streamable HTTP server for hosted clients. It is an unofficial demo from Tethlo and is aimed at developers and freelancers who want an AI assistant on top of their own Invoice Ninja account.
Tools this server provides (8)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 3 of 8 tools change data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- find_clientsName suggests: reads
- Search customers by name or email, with balance and paid to date; or list who owes money.
- create_clientName suggests: changes
- Add a customer with a primary contact; returns the existing one instead of a duplicate.
- list_invoicesName suggests: reads
- Invoices by client and status, with totals and days overdue.
- get_invoiceName suggests: reads
- One invoice: client email, line items, totals, balance, status, portal link.
- create_invoiceName suggests: changes
- Bill a client from line items; draft by default, or create and email it.
- send_invoiceName suggests: changes
- Email an invoice, or a reminder (reminder1/2/3 templates).
- record_payment
- Record money received against an invoice (full balance by default).
- get_receivables_summaryName suggests: reads
- Total outstanding and overdue, aging buckets, top debtors, oldest overdue invoices.
What it does
- Plain-language record lookup
- Finds clients by name, partial name or contact email and invoices by number or id.
- Receivables summary
- Reports total outstanding and overdue amounts, aging buckets, top debtors and oldest overdue invoices.
- Draft-first invoicing
- Creates invoices as drafts unless told to send them, and emails only when a client address exists.
- Guarded payment recording
- Records payments against an invoice and refuses amounts above the remaining balance.
- Reminder emails
- Sends invoice emails or reminder templates to clients from the assistant.
- Actionable error messages
- Returns validation errors as readable lines and explains plan requirements for hosted 403 responses.
- Stdio and HTTP transports
- Runs locally for desktop clients or as a remote Streamable HTTP endpoint with token-based access.
Good for
- Check which customers owe money and decide who to follow up with first
- Create an invoice for a client from a list of line items as a draft
- Send a polite payment reminder for an overdue invoice
- Record a bank transfer against an invoice without leaving the chat
- Look up a client's balance and paid-to-date total before a meeting
Pricing
Open source
Free MIT-licensed server; the Invoice Ninja hosted service needs a Pro or Enterprise plan for API access.
Tethlo MCP server for Invoice Ninja (unofficial demo) FAQ
Do I need my own Invoice Ninja account?
Yes. Each user supplies their own API token, and the server only calls the account or instance that token belongs to.
Can Tethlo MCP server for Invoice Ninja (unofficial demo) work with a self-hosted Invoice Ninja?
Yes. Setting INVOICENINJA_BASE_URL points the server at a self-hosted instance instead of the hosted service.
Does the hosted service need a paid plan for API access?
API access on the hosted service requires the Pro or Enterprise plan. A self-hosted install is free to use.
Can invoices be sent accidentally?
Invoices are created as drafts unless send is set to true, so nothing reaches a client by default.
Is there a read-only mode?
No. This demo has no read-only switch, so sending and payment tools are active whenever the server is connected.
How do I add Tethlo MCP server for Invoice Ninja (unofficial demo) to Claude Code?
Run this command in your terminal: claude mcp add mcp-for-invoice-ninja --env INVOICENINJA_API_TOKEN='<INVOICENINJA_API_TOKEN>' -- npx -y @tethlo/mcp-for-invoice-ninja
What are the best alternatives to Tethlo MCP server for Invoice Ninja (unofficial demo)?
The closest alternatives to Tethlo MCP server for Invoice Ninja (unofficial demo) are Freelance Ops MCP, QuickBooks Online MCP Server, Freshbooks MCP, TACITo and Xero.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.