Tring
MCP server for Israeli receipts and invoices, with issuing gated on human approval
Tring is an MCP server for accounting and tax. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Access
- Needs a secret key or token
- Version
- 0.2.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add tring-mcp --env TRING_API_KEY='<TRING_API_KEY>' -- npx -y tring-mcpAdd --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": {
"tring-mcp": {
"command": "npx",
"args": [
"-y",
"tring-mcp"
],
"env": {
"TRING_API_KEY": "<TRING_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"tring-mcp": {
"command": "npx",
"args": [
"-y",
"tring-mcp"
],
"env": {
"TRING_API_KEY": "<TRING_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"tring-mcp": {
"command": "npx",
"args": [
"-y",
"tring-mcp"
],
"env": {
"TRING_API_KEY": "<TRING_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"tring-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tring-mcp"
],
"env": {
"TRING_API_KEY": "<TRING_API_KEY>"
}
}
}
}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 tring-mcp --env TRING_API_KEY='<TRING_API_KEY>' -- npx -y tring-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.tring-mcp]
command = "npx"
args = ["-y", "tring-mcp"]
env = { TRING_API_KEY = "<TRING_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"tring-mcp": {
"command": "npx",
"args": [
"-y",
"tring-mcp"
],
"env": {
"TRING_API_KEY": "<TRING_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }Or run: gemini mcp add -s user -e TRING_API_KEY='<TRING_API_KEY>' tring-mcp npx -- -y tring-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }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": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }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": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }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": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "tring-mcp": { "command": "npx", "args": [ "-y", "tring-mcp" ], "env": { "TRING_API_KEY": "<TRING_API_KEY>" } } } }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
TRING_API_KEYA Tring API key; sandbox keys start with kbl_test_RequiredTRING_ISSUER_IDThe default business for the toolsTRING_FILES_DIRThe only folder an expense receipt may be read from by pathTRING_BASE_URLThe API address (default: the sandbox)TRING_MCP_ALLOW_LIVE1 allows a production key (kbl_live_)
About Tring
Tring's MCP server connects an AI coding agent such as Claude Code or Cursor to a Tring account. The agent can read documents and customers, look up VAT rates, and prepare draft receipts or invoices, which a person then reviews in plain text before anything is issued.
Issuing is a separate tool. It only goes through when the person approves the exact draft, and the server re-reads the draft and refuses if the total or document type has changed. Each API key carries scopes, so a key limited to read keeps the agent from preparing or issuing anything.
The server starts from a sandbox key by default, and production keys are refused unless explicitly allowed. It suits developers and finance teams in Israel who want an agent to handle bookkeeping lookups and document drafting while keeping tax documents under human control.
Tools this server provides (23)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 20 of 23 tools read data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- tring_statusName suggests: reads
- Shows environment, address, key id and default business.
- tring_list_businessesName suggests: reads
- Lists businesses this key may act for.
- tring_get_businessName suggests: reads
- Returns details for a business.
- tring_list_documentsName suggests: reads
- Lists documents with filters.
- tring_get_documentName suggests: reads
- Returns a single document.
- tring_list_customersName suggests: reads
- Lists customers.
- tring_get_customerName suggests: reads
- Returns a single customer.
- tring_get_referenceName suggests: reads
- Returns the VAT rate and allocation threshold.
- tring_list_eventsName suggests: reads
- Lists events since a given id.
- tring_list_webhook_endpointsName suggests: reads
- Lists webhook addresses.
- tring_list_webhook_deliveriesName suggests: reads
- Lists the webhook delivery log.
- tring_get_document_designName suggests: reads
- Returns the design a document is produced with.
- tring_list_designsName suggests: reads
- Lists the design library.
- tring_list_quotesName suggests: reads
- Lists price quotes.
- tring_get_quoteName suggests: reads
- Returns a single price quote.
- tring_get_quote_pdfName suggests: reads
- Saves a quote PDF to a private local file.
- tring_read_draft_textName suggests: reads
- Reads a Hebrew request into a prepare request body without storing anything.
- tring_prepare_draft
- Computes a draft document without issuing it.
- tring_get_draftName suggests: reads
- Reads a draft.
- tring_preview_draftName suggests: reads
- Writes a draft PDF preview to a private local file.
- tring_attach_expense_receipt
- Attaches a supplier receipt to an expense.
- tring_get_expense_receiptName suggests: reads
- Saves an expense receipt to a private local file.
- tring_confirm_draft
- Issues the document after approval; this is irreversible.
What it does
- Approval-gated issuing
- Documents are issued only after a person approves the exact draft total and type shown to them.
- Read-only access
- A key limited to the read scope lets the agent list and inspect documents, customers and quotes without changing anything.
- Draft preparation
- The agent computes a draft receipt or invoice from a request, including Hebrew text, without storing it as a tax document.
- Expense receipt handling
- Supplier receipts in JPEG, PNG or PDF can be attached to expenses from a local folder or base64 data.
- Webhook debugging
- Agents can list webhook endpoints and their delivery logs to help debug a receiver, without exposing secrets.
- Sandbox by default
- Production keys are refused unless the environment explicitly allows live use.
Good for
- Listing this week's issued receipts and their totals for a bookkeeping check
- Preparing a receipt for a bank transfer payment and reviewing it before issuing
- Writing a payment integration that issues tax invoices after successful checkout
- Looking up VAT rates and customer records while working in a code editor
- Attaching supplier receipts to expenses from a local folder
Tring FAQ
Can the agent issue documents on its own?
No. Issuing is a separate tool that only runs after the person approves the exact draft, and the server refuses if the total or type differs from what was approved.
How do I keep the agent read-only?
Give the API key only the read scope. A prepare call with a read-only key returns a scope error and nothing is created.
Which AI clients does Tring work with?
The setup guide covers Claude Code and Cursor, and the server works with any MCP client.
Does Tring use the production environment by default?
No. It uses the sandbox by default, and a live key is refused unless the live option is set.
How do I add Tring to Claude Code?
Run this command in your terminal: claude mcp add tring-mcp --env TRING_API_KEY='<TRING_API_KEY>' -- npx -y tring-mcp
What are the best alternatives to Tring?
The closest alternatives to Tring are Kontiq, TACITo, AskAIs AI Receipt Generator, Mobilna Faktura and Xero.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.