Connector guide3-minute read10 MCP tools7 languages

Connect e-conomic to Gemini CLI via MCP: Invoices

e-conomic — the Danish accounting standard (Visma group): customers, suppliers, booked and draft invoices, products, accounts and journals. REST API, authenticated with two separate tokens.

HCBy HelpCode teamUpdated 3 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

e-conomic

e-conomic

e-conomic — the Danish accounting standard (Visma group): customers, suppliers, booked and draft invoices, products, accounts and journals. REST API, authenticated with two separate tokens.

tools

10

Region

DK

Category

Accounting

Authentication

API Key

Required env vars

ECONOMIC_APP_SECRET_TOKENECONOMIC_AGREEMENT_GRANT_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

e-conomic — the Danish accounting standard (Visma group): customers, suppliers, booked and draft invoices, products, accounts and journals. REST API, authenticated with two separate tokens.

Guided setup

Connect e-conomic to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect e-conomic in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for e-conomic

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

e-conomic · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → e-conomic, paste your credentials, mint an MCP API key — done. No Docker, no git clone, no local server.

e-conomic + Gemini

e-conomic — the Danish accounting standard (Visma group): customers, suppliers, booked and draft invoices, products, accounts and journals. REST API, authenticated with two separate tokens.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

ECONOMIC_APP_SECRET_TOKEN, ECONOMIC_AGREEMENT_GRANT_TOKEN

Step 1 — Get credentials

e-conomic needs two tokens, and they come from different places.

  1. The App Secret Token identifies your application. You get it once, from e-conomic, when you register as a developer partner at secure.e-conomic.com/secure/api1/requestaccess.aspx. It is the same for every customer you connect.
  2. The Agreement Grant Token identifies the customer's agreement (their e-conomic company). The customer grants it by going through e-conomic's app-authorisation URL for your app; each customer produces a different one.
  3. Set ECONOMIC_APP_SECRET_TOKEN and ECONOMIC_AGREEMENT_GRANT_TOKEN.

…(continued in the in-app connector instructions)

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (or %APPDATA%\gemini\settings.json on Windows). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Get your MCP API key from AnythingMCP → MCP Servers → your server → API keys.
  2. Save the file and restart gemini.
  3. Run /mcp inside the Gemini CLI — e-conomic should be listed as available.
  4. Vertex AI Studio: pass https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID to the tools array of your request with the same X-API-Key header.

Available tools

ToolWhat it does
e_conomic_get_selfRead the agreement this connector is bound to: the company name, its CVR number, the application name and the modules enabled
e_conomic_list_customersList customers with their number, name, CVR number, address, currency and payment terms
e_conomic_get_customerRead one customer by their customer number, with addresses, VAT zone, payment terms and the layout used for their invoices
e_conomic_list_booked_invoicesList booked (posted, immutable) invoices with their number, date, due date, customer and totals
e_conomic_get_booked_invoiceRead one booked invoice in full: every line with product, quantity, unit price and VAT, plus the totals and the remaining amount
e_conomic_list_overdue_invoicesList booked invoices that are past their due date and still unpaid — the direct answer to 'who is late', without needing a filter
e_conomic_list_draft_invoicesList unbooked invoice drafts
e_conomic_list_suppliersList suppliers with their number, name, CVR number, currency and payment terms, for the purchasing side of the ledger
e_conomic_list_productsList products with their number, name, sales price, cost price, unit and the product group they belong to
e_conomic_list_accountsList the chart of accounts with each account's number, name, type, VAT account and current balance

FAQ

Does Gemini 1.5 Pro or 2.x support MCP? Yes — Gemini CLI ≥ 0.4 and Vertex AI tools API both accept MCP httpUrl connectors with custom headers.

Next steps

Was this guide helpful?

Connect e-conomic to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect e-conomic in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides