MCP Catalogs
Home

erpnext-mcp-server

by rakeshgangwar·90·Score 47

Connect AI assistants to ERPNext/Frappe systems via MCP for document management and API calls.

productivitydeveloper-toolsfinance
33
Forks
5
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server provides comprehensive integration between AI assistants and ERPNext business management systems. It exposes tools for creating, reading, updating, and deleting documents, as well as executing custom API methods and reports. The server uses the official Frappe API to securely connect to ERPNext instances, supporting both resource-based document access and direct tool calls for various operations. TypeScript implementation ensures type safety while the clean architecture makes it easy to extend functionality.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI assistant retrieves customer lists and details from ERPNext to answer customer inquiries
you:Automate document creation and updates in ERPNext through natural language commands
you:Generate reports and business insights by leveraging ERPNext data through AI tools
you:What ERPNext versions are supported?
you:How is authentication handled?

When to choose this

Choose this if your team uses ERPNext and wants AI assistants to directly access and manipulate ERP data without custom development.

When NOT to choose this

Don't choose this if you need integration with non-ERPNext systems or if your ERPNext instance doesn't expose API access.

Tools this server exposes

11 tools extracted from the README
  • get_doctypes

    Get a list of all available DocTypes

  • get_doctype_fields

    Get fields list for a specific DocType

  • get_documents

    Get a list of documents for a specific doctype

  • get_document

    Get a single document by name, including all child tables

  • create_document

    Create a new document in ERPNext

  • update_document

    Update an existing document in ERPNext

  • delete_document

    Permanently delete a document

  • submit_document

    Submit a document (set docstatus to 1)

  • cancel_document

    Cancel a submitted document (set docstatus to 2)

  • call_method

    Call an ERPNext/Frappe whitelisted server-side API method

  • run_report

    Run an ERPNext report

Comparable tools

frappe-mcperpnext-api-integrationmcp-business-connector

Installation

Installation

Install dependencies:

npm install

Build the server:

npm run build

Claude Desktop Configuration

Add to your config file:

{
  "mcpServers": {
    "erpnext": {
      "command": "node",
      "args": ["/path/to/erpnext-server/build/index.js"],
      "env": {
        "ERPNEXT_URL": "http://your-erpnext-instance.com",
        "ERPNEXT_API_KEY": "your-api-key",
        "ERPNEXT_API_SECRET": "your-api-secret"
      }
    }
  }
}

FAQ

What ERPNext versions are supported?
This server uses the official Frappe API which is compatible with most recent ERPNext versions.
How is authentication handled?
Authentication is handled via API key and/or secret passed through environment variables.

Compare erpnext-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.