Skip to main content
Glama
ERPNext MCP Server

ERPNext MCP Server

ERPNext API and MCP server

ChatGPT, Claude and other AI agents can work in your ERPNext account. Cotlet.dev provides hosted MCP and REST access to your signed-in ERPNext Cloud Browser.

What you can ask

Read customers and invoices.

Record a customer payment.

Prepare a weekly overdue report.

Related MCP server: MCP Task

Connect in 2 minutes

Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.

Claude Code

claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"

ChatGPT

Settings -> Apps -> add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.

Cursor

Copy .cursor/mcp.json from this repo into your project.

Run it locally (stdio)

This repo includes a small stdio MCP client that forwards calls to Cotlet.dev. Set COTLET_API_KEY before running it.

python3 erpnext_agent.py connect
python3 erpnext_agent.py status
python3 erpnext_agent.py guide

Tools: erpnext_guide, erpnext_status, erpnext_open, erpnext_read, erpnext_click, erpnext_type, erpnext_close.

Questions from ERPNext users

Does ERPNext have an API or MCP server? The live ERPNext page documents Cotlet.dev MCP and REST access for your signed-in account.

How does Cotlet.dev connect to ERPNext? Sign in to ERPNext in your Cotlet Cloud Browser, then connect your agent over MCP or REST.

What can an AI agent do? It can read customers, invoices and other workflows available to your ERPNext account.

Available Tools

7 tools
erpnext_clickB

Click a numbered element on the current ERPNext page.

Inputs: element (required).

erpnext_closeA

Close the ERPNext browser session when the work is done, so credits stop running.

Inputs: no named parameters.

erpnext_guideA

How to work in ERPNext (create jobs and reschedule visits): its screens and the sign-in link. Call this first.

Inputs: task.

erpnext_openB

Open a ERPNext page in your signed-in Cloud Browser (default https://erpnext.com) to work with create jobs and reschedule visits.

Inputs: url.

erpnext_readA

Read the current ERPNext page: its text and numbered buttons, links and fields.

Inputs: element.

erpnext_statusA

Check that your Cotlet.dev account and ERPNext are ready: account, credits and ERPNext connection.

Inputs: no named parameters.

erpnext_typeB

Type text into a numbered field on the current ERPNext page.

Inputs: text (required), element (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool maps to a distinct step in a browser automation loop: guidance, readiness check, open, read, click, type, close. The guide/status pair is separated by clear intent (instructions vs. account/connection state), so an agent can select unambiguously.

    Naming Consistency4/5

    All tools share a consistent erpnext_ snake_case prefix, which makes the set highly predictable. Two names (guide, status) are nouns rather than verbs, a minor deviation from the verb-style pattern used by open/read/click/type/close.

    Tool Count5/5

    Seven tools is well-scoped for a browser-driven ERPNext agent: one tool per primitive action plus onboarding and session teardown. Nothing feels redundant or missing from the count perspective.

    Completeness4/5

    The core perceive-act loop (open, read, click, type, close) plus guide and status covers the stated purpose of creating jobs and rescheduling visits. Minor gaps remain: no in-session navigation to a different URL, scrolling, or dropdown/select handling, which agents may need for deeper ERPNext forms.

    Related MCP Connectors

    • ERPNext MCP server for ChatGPT, Claude and any AI agent: create sales invoice, submit invoice, create payment entry, list overdue invoices and create customer in your own ERPNext account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to ERPNext yourself; Cotlet does not store your password and you need no ERPNext API key. About the official ERPNext API: Yes. ERPNext has a full REST API (checked 14 Oct 2026): any record, including customers, sales invoices and payment entries, can be listed, created, updated and deleted, and whitelisted methods can be called. Setup and FAQ: https://cotlet.dev/integrations/erpnext-api-mcp-server

      https://cotlet.dev/mcp/v1/erpnext
    • Odoo MCP server for ChatGPT, Claude and any AI agent: create invoice, send invoice, register payment, list unpaid invoices and create contact in your own Odoo account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Odoo yourself; Cotlet does not store your password and you need no Odoo API key. About the official Odoo API: Yes, Odoo has an external API, but on Odoo Online it is only available on the Custom plan, not on One App Free or Standard (checked 14 Oct 2026). It is a full read and write API (JSON-2 since Odoo 19, XML-RPC and JSON-RPC deprecated), authenticated with an API key per user. Setup and FAQ: https://cotlet.dev/integrations/odoo-api-mcp-server

      https://cotlet.dev/mcp/v1/odoo
    • Accounts receivable automation for Xero and QuickBooks Online, inside your AI assistant. Ask Claude, ChatGPT or any MCP client for a receivables summary, find customers and invoices, read the email and SMS replies your customers sent, and see what Paidnice sent or skipped. Ask why a reminder, late fee or statement did or did not go out, and update a customer's contact people straight into your ledger. Secure OAuth sign-in. One connection covers every organisation you tick, with Read or Read and Write access.

      https://mcp.paidnice.com/mcp
    • Method CRM MCP server for ChatGPT, Claude and any AI agent: list customers and leads, list overdue invoices, create estimate, convert estimate to invoice, send invoice, record payment, create activity and convert lead to customer in your own Method CRM account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Method CRM yourself; Cotlet does not store your password and you need no Method CRM API key. About the official Method CRM API: Method CRM has a full REST API with read and write access to permitted records, but no ready-made official MCP server (checked 23 Oct 2026). Method builds a custom MCP for a customer on request. Setup and FAQ: https://cotlet.dev/integrations/method-crm-api-mcp-server

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables LLMs to interact with any ERPNext instance through comprehensive CRUD operations, advanced permissions, and a web chat interface.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to interact with ERPNext data and functionality through the Model Context Protocol, including document CRUD, report running, and API method calls.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that enables Claude, ChatGPT, and other LLMs to interact with ERPNext sites through natural language, supporting document CRUD, search, reports, workflows, and custom tools, while respecting user permissions and logging all calls.
      AGPL 3.0