erpnext-fast-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@erpnext-fast-mcp-servershow me the details of customer 'Acme Corp'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
erpnext-fast-mcp-server
A FastMCP server that exposes generic ERPNext / Frappe DocType operations as MCP tools, so any MCP-compatible client (Claude Desktop, Claude Code, etc.) can read and write data in an ERPNext site over its REST API.
Tools
get_document(doctype, name)— fetch a single documentlist_documents(doctype, filters, fields, order_by, limit, limit_start)— search/list documentscreate_document(doctype, data)— create a documentupdate_document(doctype, name, data)— update fields on a documentdelete_document(doctype, name)— delete a documentget_doctype_meta(doctype)— fetch a DocType's field/schema definitionget_count(doctype, filters)— count documents matching filtersrun_report(report_name, filters)— run a Query/Script report
These are generic, so they work against any DocType (Customer, Sales Invoice, Item, Stock Entry, etc.) without hardcoding business objects.
Related MCP server: ERPNext MCP Server
Setup
Install dependencies (using uv):
uv syncGet API credentials from your Frappe/ERPNext site: User → API Access → Generate Keys. Copy the API Key and API Secret shown (the secret is only displayed once).
Copy
.env.exampleto.envand fill in your values:cp .env.example .envFRAPPE_URL=https://your-site.frappe.cloud FRAPPE_API_KEY=your-api-key FRAPPE_API_SECRET=your-api-secret.envis git-ignored — never commit real credentials.Run the server directly to check it starts:
uv run erpnext-mcp
Using with Claude Desktop / Claude Code
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"erpnext": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/erpnext-fast-mcp-server", "erpnext-mcp"],
"env": {
"FRAPPE_URL": "https://your-site.frappe.cloud",
"FRAPPE_API_KEY": "your-api-key",
"FRAPPE_API_SECRET": "your-api-secret"
}
}
}
}Alternatively, keep credentials only in .env (not in the client config) and
omit the env block above — python-dotenv will load .env from the
project directory at startup.
Security notes
Never commit
.envor hardcode API keys/secrets in source.Scope the Frappe user's role/permissions to the minimum needed — the MCP tools inherit whatever permissions the API key's user has on the site.
delete_documentis irreversible; consider removing it from the tool list if you don't want an MCP client to be able to delete records.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sppandita85/erpnext-fast-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server