Server data from the Official MCP Registry
Create and edit Frappe DocTypes, customize forms, and sync a dev site with your app's files.
About
Create and edit Frappe DocTypes, customize forms, and sync a dev site with your app's files.
Security Report
Valid MCP server (1 strong, 4 medium validity signals). 5 known CVEs in dependencies (0 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry.
3 files analyzed · 6 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: FRAPPE_URL
Environment variable: FRAPPE_SITE
Environment variable: FRAPPE_API_KEY
Environment variable: FRAPPE_API_SECRET
Environment variable: FRAPPE_USERNAME
Environment variable: FRAPPE_PASSWORD
Environment variable: FRAPPE_APPS_PATH
Environment variable: FRAPPE_MCP_TOOLSETS
Environment variable: FRAPPE_MCP_READ_ONLY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"mcp-frappe": {
"command": "uvx",
"args": [
"mcp-frappe==0.4.0"
],
"env": {
"FRAPPE_URL": "your-frappe-url-here",
"FRAPPE_SITE": "your-frappe-site-here",
"FRAPPE_API_KEY": "your-frappe-api-key-here",
"FRAPPE_PASSWORD": "your-frappe-password-here",
"FRAPPE_USERNAME": "your-frappe-username-here",
"FRAPPE_APPS_PATH": "your-frappe-apps-path-here",
"FRAPPE_API_SECRET": "your-frappe-api-secret-here",
"FRAPPE_MCP_TOOLSETS": "your-frappe-mcp-toolsets-here",
"FRAPPE_MCP_READ_ONLY": "your-frappe-mcp-read-only-here"
}
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
Frappe MCP
A Model Context Protocol server for Frappe developers. Point Claude Code or Claude Desktop at a development site and let it create and change DocTypes, customize ERPNext forms, keep the site and your app's files in sync, and set up workflows, reports, and Workspaces. Every change is previewed before it happens.
It runs as a local stdio process and talks to the site only through Frappe's REST API. You don't install it as a Frappe app, add it to a Bench, or migrate anything. Frappe's own permissions and validation apply to every call, and there is no SQL, Python eval, or arbitrary method call.
What you can ask
- "Create a submittable DocType Lab Sample in
lab_app, module Lab, with a title, a customer link, a status select, and a child table of readings." - "Add a required Priority field after the title on Lab Sample, show it in the list view, and drop the old
legacy_codefield." - "On the ERPNext Customer form, add a Custom Field Account Manager linked to User, make Territory mandatory, then export the customizations to
lab_app." - "Has anything drifted between the site and
lab_app? Show me whatbench migratewould change for Lab Sample." - "I just migrated. Which
lab_apppatches haven't run, and what failed on the server in the last hour?" - "I prototyped Lab Equipment as a custom DocType on the site. Move it into
lab_appso it ships with the app." - "Add an approval workflow to Lab Sample: Draft → Pending → Approved, approved by Lab Manager."
- "Send a System Notification to Lab Managers when a Lab Sample is submitted."
- "Build a Lab Workspace with shortcuts to Lab Sample and an Open Samples report."
- "Create three test Lab Samples, submit one, and check the controller set its status."
The server answers by reading the schema first, returning a preview (fields added, moved, and removed; files Frappe will write; records affected), and acting only after you confirm.
Install
uvx mcp-frappe --version
You need Python 3.10+ and an MCP host that runs local stdio servers.
Configure
Create an API key for a user on your development site, export the settings, and check them:
export FRAPPE_URL=http://127.0.0.1:8000 FRAPPE_SITE=site1.localhost
export FRAPPE_API_KEY=... FRAPPE_API_SECRET=...
export FRAPPE_APPS_PATH=/absolute/path/to/frappe-bench/apps # for standard DocTypes and exports
uvx mcp-frappe check
check logs in and prints the user, app versions, toolsets, how many characters each toolset adds to the host's context, and whether FRAPPE_APPS_PATH holds the site's apps. It never prints a secret. HTTPS is required except for loopback and .localhost hosts.
For a site in a container, configure FRAPPE_URL with the HTTP URL published on the host, not the container's internal port or the Socket.IO URL; see ports and containers.
Claude Code plugin
The quickest setup in Claude Code is the plugin. It adds the server as frappe-dev and a frappe-development skill that tells Claude which tool fits which DocType and how to run the change, compare, export, migrate, and check loop:
claude plugin marketplace add DannyFiallo030503/mcp-frappe
claude plugin install frappe-dev@mcp-frappe
Claude Code asks for the site URL, the API key and secret (kept in the system's credential store), and optionally the Bench apps folder. See the plugin's README for every option.
Codex
Codex users can install the frappe-development skill from this repository's plugin marketplace, then register the local MCP server. The skill gives Codex the same Frappe workflow as the Claude Code plugin; the MCP server is configured separately so API credentials can come from the environment instead of being embedded in a shared plugin manifest. Follow the Codex setup.
By hand
Add the server to your host. The examples name it frappe-dev, so it doesn't clash with Frappe's built-in MCP server, whose guide suggests frappe. Claude Code:
claude mcp add frappe-dev \
-e FRAPPE_URL=http://127.0.0.1:8000 -e FRAPPE_SITE=site1.localhost \
-e FRAPPE_API_KEY="$FRAPPE_API_KEY" -e FRAPPE_API_SECRET="$FRAPPE_API_SECRET" \
-e FRAPPE_APPS_PATH=/absolute/path/to/frappe-bench/apps \
-- uvx mcp-frappe
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"frappe-dev": {
"command": "uvx",
"args": ["mcp-frappe"],
"env": {
"FRAPPE_URL": "http://127.0.0.1:8000",
"FRAPPE_SITE": "site1.localhost",
"FRAPPE_API_KEY": "<api key>",
"FRAPPE_API_SECRET": "<api secret>"
}
}
}
}
Other hosts: a stdio server with command uvx and arguments ["mcp-frappe"]. Password login, shared .mcp.json files, containers, and every setting are covered in installation and configuration.
Standard DocTypes, DocType edits, and file exports need developer mode on the site and FRAPPE_APPS_PATH pointing at the site's Bench apps folder. Site-custom DocTypes, Custom Fields, and records need neither.
Next to Frappe's built-in MCP
Frappe v16 ships its own MCP server for record data and whitelisted method calls. This server covers the development side: DocTypes, customizations, app files, and configuration records, with a preview before every write. To run both, keep the native server as frappe, add this one as frappe-dev, and set FRAPPE_MCP_TOOLSETS=read,customize,developer here so record writes are not duplicated; add bench when FRAPPE_BENCH_PATH is configured. See using both servers.
Toolsets
| Toolset | What it does |
|---|---|
read | Site info, DocTypes and schemas, records, counts, search, reports, drift checks, pending patches, recent errors, the app's whitelisted methods, workflows, notifications, Workspaces |
data | Create, update, delete, submit, and cancel records; with FRAPPE_MCP_METHODS, call the app methods you allowlist (mapped drafts such as Sales Order to Sales Invoice, reads, previewed writes) |
customize | Custom Fields, Property Setters, role permissions, export to app files, rollback |
developer | Create, edit, delete, and promote DocTypes; Workflows, Notifications, Report Builder reports, Workspaces |
bench | Only with FRAPPE_BENCH_PATH on a local site: run migrate, reload-doc, export-fixtures, clear-cache, or run-tests, each previewed first |
All toolsets are on by default for a local (loopback or .localhost) site; a remote site gets only read unless FRAPPE_MCP_READ_ONLY=NO. FRAPPE_MCP_TOOLSETS=read,customize narrows them, and FRAPPE_MCP_READ_ONLY=YES exposes only read. Every tool carries MCP annotations, so a host can run reads freely and ask before writes.
Safety
- Writes return a preview first. Updates and deletes are bound to the record's
modifiedtimestamp, and exports to a hash of the preview, so nothing changes if the site moved in between. - File writes stay inside the configured app, refuse
frappeanderpnext, back up what they overwrite, and can be rolled back. - Fields Frappe evaluates as code (Python conditions, Query and Script Reports, custom HTML blocks,
Codefields) are refused, and the record tools don't write schema, configuration, or code records such as Server Scripts. - The server runs Bench commands only when you opt in with
FRAPPE_BENCH_PATHon a local site, and then only five fixed commands, each previewed. It never restarts Bench or deploys. Review and commit the generated files yourself.
Use an Administrator key only on a development site. See the security model.
Docs
- Tool reference: every tool, its arguments, and its limits
- AI agent guide: the workflows an agent should follow
- Using both servers: this server next to Frappe's built-in MCP
- Developer-task evaluations: twelve development tasks run with this server, Frappe's built-in MCP, and both
- Compatibility and validation: what has been run on v15 and v16 sites
- Complete developer-pack roadmap: remaining validation and coding-agent workflow phases
- Field feedback: sanitized task usage, missing capabilities, and bugs reported from real MCP use
- Architecture, security, development
- Frappe capability study: what Frappe offers and what the server covers
- Changelog, roadmap, contributing, security policy, LLM index
License
MIT. The archived code under legacy/ keeps its upstream notices; see UPSTREAM.md and the third-party notices.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
