MCP server for Frappe/ERPNext development with DocTypes, bench commands, and app management
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A Model Context Protocol (MCP) server that provides AI assistance for Frappe/ERPNext development. This server offers tools to help with creating DocTypes, running bench commands, managing apps, and other Frappe development tasks.
Clone or download this repository
Install dependencies:
Build the server:
Set the FRAPPE_PATH environment variable to point to your Frappe bench directory:
If not set, it defaults to /Users/mac/ERPNext/mkahawa.
The server now supports SSE transport for use with GitHub Copilot Chat:
Build and run the SSE server:
The server will be automatically discovered by GitHub Copilot Chat at http://localhost:3000/sse
Add the following configuration to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Run the server directly:
Creates a new Frappe DocType with JSON definition and Python controller.
Parameters:
app_name: Name of the Frappe appdoctype_name: Name of the DocTypemodule: Module where DocType belongsfields: Array of field definitionsis_submittable: Whether the DocType is submittable (default: false)is_child: Whether this is a child DocType (default: false)Executes bench commands for Frappe development.
Parameters:
command: Bench command to executesite: Site name (optional)cwd: Working directory (optional)Gets the directory structure of a Frappe app.
Parameters:
app_name: Name of the Frappe appCreates a custom API endpoint for a Frappe app.
Parameters:
app_name: Name of the Frappe appendpoint_name: Name of the API endpointmethod: HTTP method (get, post, put, delete) (default: get)code: Python code for the API endpointRuns database migration for a Frappe site.
Parameters:
site: Site name to migrateInstalls a Frappe app on a site.
Parameters:
app_name: Name of the app to installsite: Site nameCreates a new Frappe app.
Parameters:
app_name: Name of the new apptitle: Title of the apppublisher: Publisher namedescription: App description (optional)To modify the server:
src/ directorynpm run build to compile TypeScriptnpm run dev for development modeMIT License - see LICENSE file for details
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/frappe-dev-mcp-server)<a href="https://allmcps.com/mcp/frappe-dev-mcp-server"><img src="https://allmcps.com/api/badge/frappe-dev-mcp-server?style=directory" alt="Frappe Dev MCP Server on AllMCPs" /></a>