Frappe MCP Server
A server that implements the Anthropic Model Control Protocol (MCP) server for accessing Frappe.
Overview
Frappe MCP Server is a Model Context Protocol (MCP) server designed for the Frappe Framework, enabling AI assistants to access Frappe's functionalities through a standardized REST API.
To use the Frappe MCP Server, install it via npm or run it directly with npx. Configure it with your Frappe instance URL and API credentials, then integrate it with your AI assistant.
- Document CRUD operations (create, read, update, delete) - Schema and metadata handling - DocType discovery and exploration - Detailed API usage instructions and examples - Comprehensive error handling and validation
- Integrating Frappe applications with AI assistants for automated document management.
- Facilitating AI-driven data entry and retrieval in Frappe.
- Enabling AI assistants to perform complex operations on Frappe documents.
Add to your AI client
Use these steps to connect Frappe MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"frappe-mcp-server-appliedrelevance": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"frappe-mcp-server-appliedrelevance": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"frappe-mcp-server-appliedrelevance": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"frappe-mcp-server-appliedrelevance": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"frappe-mcp-server-appliedrelevance": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"frappe-mcp-server-appliedrelevance": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-frappe-mcp-server-appliedrelevance"
]
}
}
}FAQ
What are the prerequisites for using Frappe MCP Server?
You need Node.js 18 or higher and a running Frappe instance (version 15 or higher).
How do I get API credentials?
You can generate API keys from the User > API Access section in your Frappe instance.
Is there error handling in the server?
Yes, the server provides detailed error messages to help diagnose issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2591,"uuid":"1ec8e8b4-aad2-450a-b8c9-1b0d1a6cbb12","name":"frappe_mcp_server","title":"Frappe MCP Server","description":"A server that implements the Anthropic Model Control Protocol (MCP) server for accessing Frappe.","avatar_url":"https://avatars.githubusercontent.com/u/16386835?v=4","created_at":"2025-03-13T09:01:33.202Z","updated_at":"2025-03-16T10:31:27.407Z","status":"created","author_name":"appliedrelevance","author_avatar_url":"https://avatars.githubusercontent.com/u/16386835?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/appliedrelevance/frappe_mcp_server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"49\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-06-03 10:29:38\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]