ERPNext MCP Bridge
Connects to an ERPNext instance via Frappe Assistant Core, enabling creation, retrieval, updating, and deletion of ERPNext documents, submission of drafts, global and DocType-scoped search, report generation and discovery, DocType metadata inspection, and workflow execution (approve, reject, etc.) through native MCP tool calls.
Communicates with Frappe Assistant Core over HTTPS using Frappe's standard API key/secret authentication, exposing Frappe-powered document, search, report, and workflow operations as MCP tools.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ERPNext MCP Bridge
A stdio bridge that connects Claude Desktop (or any MCP client) to Frappe Assistant Core running on your ERPNext instance.
This enables Claude to directly create, read, update, and delete ERPNext documents, run reports, execute workflows, and search across your ERP — all through native MCP tool calls.
Prerequisites
Python 3.10+
Frappe Assistant Core installed on your ERPNext site
ERPNext API key with Administrator or System Manager role
Related MCP server: ERPNext MCP Server
Quick Install
# Clone and install
git clone https://github.com/No-Smoke/erpnext-mcp-bridge.git
cd erpnext-mcp-bridge
pip install -e .
# Or install directly
pip install git+https://github.com/No-Smoke/erpnext-mcp-bridge.gitSetup
Run the setup script to configure Claude Desktop automatically:
python setup_claude.pyOr manually add to ~/.config/Claude/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"erpnext-fac": {
"command": "erpnext-mcp-bridge",
"args": [],
"env": {
"FRAPPE_SERVER_URL": "https://your-site.example.com",
"FRAPPE_API_KEY": "your-api-key",
"FRAPPE_API_SECRET": "your-api-secret"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | Your ERPNext site URL (e.g., |
| Yes | API key from User Settings in ERPNext |
| Yes | API secret (generated when creating API key) |
| No | Set to |
Available Tools (16)
Once connected, Claude gets access to these ERPNext tools:
Tool | Description |
| Create new documents with validation and child table support |
| Retrieve document details |
| Modify existing documents |
| Delete documents |
| Search and filter document lists |
| Submit draft documents |
| Global search across all DocTypes |
| Search within a specific DocType |
| Search link field options |
| Vector search (if configured) |
| Retrieve complete document by ID |
| Get DocType metadata and field info |
| Execute business reports |
| Discover available reports |
| Get report filter requirements |
| Execute workflow actions (approve, reject, etc.) |
How It Works
Claude Desktop <--stdio--> erpnext-mcp-bridge <--HTTPS--> Frappe Assistant Core (ERPNext)The bridge:
Reads JSON-RPC messages from stdin (Claude Desktop)
Forwards them via HTTPS to the FAC MCP endpoint on your ERPNext
Unwraps Frappe's response envelope
Returns the JSON-RPC response on stdout
Authentication uses Frappe's standard API key/secret token auth.
Generating API Keys
Log into ERPNext as Administrator
Go to User Settings > API Access
Click Generate Keys
Save the API Secret (shown only once)
The API Key is always visible in User Settings
For admin-level access, generate keys on the Administrator user account.
Troubleshooting
"Connection failed": Verify your FRAPPE_SERVER_URL is accessible and Frappe Assistant Core is installed.
"Not whitelisted": The API key user needs Administrator or System Manager role.
Timeout errors: The bridge uses a 5-second timeout per request. For large operations, this may need adjusting.
Debug mode: Set MCP_DEBUG=1 in the env to see request/response details on stderr.
License
MIT
Credits
Based on the stdio bridge from Frappe Assistant Core by Paul Clinton.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
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
Create contacts, move deals, send proposals and invoices, read your inbox, from Claude or ChatGPT.
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to interact with ERPNext/Frappe instances through the REST API, allowing document management, report execution, and DocType operations using natural language.6MIT
- AlicenseBqualityDmaintenanceIntegrates with ERPNext/Frappe API to enable AI assistants to create, read, update, and list documents, run reports, and authenticate via the Model Context Protocol.6MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates with ERPNext/Frappe API to enable AI assistants to interact with ERPNext data and create custom applications including DocTypes, workflows, scripts, and more.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to directly interact with ERPNext/Frappe business data and operations, including document management, submissions, cancellations, reports, PDF generation, file uploads, and whitelisted method calls, with per-request permission enforcement.MIT