Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the Sage 200 in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Read Sage 200 Standard and Professional through the Sage 200 API: customers, suppliers, sales and purchase orders, posted invoices, credit notes and payments, stock items and stock levels, nominal codes. Sage ID OAuth 2.0, read-only.
Try asking
Example prompts for Sage 200
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Sage 200, paste your credentials, mint an MCP API key — done. No Docker, no
git clone, no local server.
Sage 200 + Gemini
Read Sage 200 Standard and Professional through the Sage 200 API: customers, suppliers, sales and purchase orders, posted invoices, credit notes and payments, stock items and stock levels, nominal codes. Sage ID OAuth 2.0, read-only.
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:
SAGE200_PRODUCT, SAGE200_CLIENT_ID, SAGE200_CLIENT_SECRET, SAGE200_SUBSCRIPTION_KEY
Step 1 — Get credentials
Sage issues the OAuth credentials; they cannot be created inside Sage 200, so allow a few days.
- Request a client ID and secret from Sage Developer Services ([email protected], then Sage's application form). Ask for a confidential (web server) client with the redirect URI
https://cloud.anythingmcp.com/api/mcp-oauth/callback, or<your AnythingMCP URL>/api/mcp-oauth/callbackwhen self-hosted. - In the Sage Developer Portal, copy the primary key of your Sage 200 API subscription into
SAGE200_SUBSCRIPTION_KEY(sent asOcp-Apim-Subscription-Key). - Set
SAGE200_PRODUCTtosage200for Sage 200 Standard orsage200extrafor Sage 200 Professional, and fill inSAGE200_CLIENT_IDandSAGE200_CLIENT_SECRET. - On the connector page, click Authorize with Provider and sign in with a Sage ID that is an API user of your companies. For Sage 200 Professional, the company must be connected to the API in System Administration.
- Call
sage_200_list_sitesfirst: every other tool needs thesite_idandcompany_idit returns.
The connector only reads. Lists take OData options (filter, select, orderby, top, skip) with snake_case field names. Posted invoices and credit notes are ledger transactions: read them with sage_200_list_sales_transactions and sage_200_list_purchase_transactions. A 401 means authorize again or check the subscription key and edition; a 403 means the Sage ID is not an API user of that company.
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 showsYOUR_SERVER_ID.
Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart
gemini. - Run
/mcpinside Gemini CLI (orgemini mcp listin your shell) —anythingmcpshould show as connected. - Start prompting — Gemini CLI can now call the
Sage 200tools.
Available tools
| Tool | What it does |
|---|---|
sage_200_list_sites | The Sage 200 sites and companies the signed-in Sage ID user can reach through the API, with site_id, site name, company_id and company name |
sage_200_list_customers | Customer accounts with id, reference, name, balance, credit limit, on-hold flag, account status, currency and contact details |
sage_200_get_customer | One customer account by id with addresses, contacts, credit terms, balance, analysis codes and default tax code |
sage_200_list_suppliers | Supplier accounts with id, reference, name, balance, credit limit, on-hold flag, currency and contact details |
sage_200_get_supplier | One supplier account by id with addresses, contacts, payment terms, balance, bank details and default tax code |
sage_200_list_sales_orders | Sales orders (SOP) with id, document number, customer, document date, requested delivery date, status, totals and currency |
sage_200_get_sales_order | One sales order by id with header, delivery address and, with expand lines, every order line (product, quantity, price, discount… |
sage_200_list_purchase_orders | Purchase orders (POP) with id, document number, supplier, document date, status, totals and currency |
sage_200_get_purchase_order | One purchase order by id with header and, with expand lines, every line (product, quantity, cost, received and invoiced quantities) |
sage_200_list_sales_transactions | Posted sales ledger transactions: invoices, credit notes, receipts and adjustments with customer, reference, date, due date, goods, tax and… |
sage_200_list_purchase_transactions | Posted purchase ledger transactions: supplier invoices, credit notes, payments and adjustments with supplier, reference, date, due date… |
sage_200_list_products | Stock items (products) with id, code, name, product group, unit of sale, prices, cost and stock settings |
sage_200_get_product | One stock item by id with descriptions, units, prices, cost, analysis codes, suppliers and warehouses |
sage_200_list_stock_levels | Stock holdings per product and warehouse: quantity in stock, allocated, free, on order and reorder levels |
sage_200_list_nominal_codes | Nominal (general ledger) accounts with id, reference, cost centre, department, name, account type and balances |
FAQ
Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.
Next steps
Was this guide helpful?