Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the ERPNext 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
ERPNext / Frappe: read and write any DocType — customers, sales orders, invoices, items, stock and leads — with Frappe's filter syntax, plus a generic resource escape hatch. Token auth against your own instance.
Try asking
Example prompts for ERPNext
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 → ERPNext, paste your credentials, mint an MCP API key — done. No Docker, no
git clone, no local server.
ERPNext + ChatGPT
ERPNext / Frappe: read and write any DocType — customers, sales orders, invoices, items, stock and leads — with Frappe's filter syntax, plus a generic resource escape hatch. Token auth against your own instance.
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:
ERPNEXT_URL, ERPNEXT_API_KEY, ERPNEXT_API_SECRET
Step 1 — Get credentials
Getting a key
- In ERPNext open the user you want the agent to act as → Settings → API Access → Generate Keys. You receive an API key and an API secret; the secret is shown once.
- Set
ERPNEXT_URLto your instance root (no trailing slash),ERPNEXT_API_KEYandERPNEXT_API_SECRET.
The Authorization header is token key:secret — lower-case token, the two values joined by a colon. Not Bearer, not Basic. This is the single most common reason a correct ERPNext key 401s.
…(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 ChatGPT
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.
ChatGPT connects to MCP servers as custom apps in developer mode, available on paid plans (not on Free). On Business and Enterprise workspaces an admin may have to allow it first.
- In ChatGPT, open Settings → Security and login and turn on Developer mode.
- Go to chatgpt.com/plugins and click +.
- Enter a name and a short description, e.g. Name:
ERPNext. - Under Connection, enter the MCP server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDand create the connection. - When ChatGPT asks, sign in to AnythingMCP (OAuth) and allow access.
Available tools
| Tool | What it does |
|---|---|
erpnext_get_logged_user | Read which user the API key belongs to |
erpnext_list_documents | List documents of any DocType with Frappe filters |
erpnext_get_document | Read one document of any DocType in full by its name (ERPNext's primary key), including its child tables |
erpnext_count_documents | Count the documents of a DocType matching a filter, without transferring them |
erpnext_get_doctype_meta | Describe a DocType: every field with its type, label, options and whether it is required |
erpnext_list_customers | List customers with their name, group, territory, currency and default payment terms |
erpnext_list_sales_orders | List sales orders with their customer, date, delivery date, status and grand total |
erpnext_list_sales_invoices | List sales invoices with their customer, posting date, due date, status and outstanding amount — the answer to 'what is still unpaid' |
erpnext_list_items | List items from the catalogue with their code, name, group, stock UOM and default rate |
erpnext_list_stock_balance | Read per-warehouse stock: actual, reserved and projected quantity per item |
erpnext_create_document | Create a document of any DocType |
FAQ
Does the free ChatGPT plan work with custom MCP connectors? No. Custom MCP connections need developer mode, which is only on paid plans.
Next steps
Was this guide helpful?