frappe-mcp-server
Verified Safeby Sena-Services
Overview
Provides an interface for AI assistants to interact with a Frappe Framework application via its REST API, focusing on document CRUD, schema handling, and programmatic customization of DocTypes and workflows.
Installation
npx frappe-mcp-serverEnvironment Variables
- FRAPPE_URL
- FRAPPE_API_KEY
- FRAPPE_API_SECRET
- MCP_PORT
- FRAPPE_TEAM_NAME
Security Notes
The server design generally follows good security practices for an MCP. It enforces API key/secret authentication, avoids hardcoded secrets in the main codebase, and uses a well-established Frappe SDK. Direct use of 'eval' or arbitrary code execution from user input is not present. However, the server exposes powerful tools like `call_method` (which can execute any whitelisted Frappe method), `create_doctype`, `update_blueprint`, and messaging tools. The security largely depends on: 1) The permissions granted to the Frappe API key used. 2) The security and whitelisting of methods in the underlying Frappe instance. 3) The control mechanisms of the integrating AI assistant to prevent misuse or unintended operations. Verbose error logging (including `responseData` from Frappe's API) could also expose internal Frappe details to the AI, which should be considered in a production environment.
Similar Servers
context-portal
Manages structured project context for AI assistants and developer tools, enabling Retrieval Augmented Generation (RAG) and prompt caching within IDEs.
tmcp
A server implementation for the Model Context Protocol (MCP) to enable LLMs to access external context and tools.
openapi-mcp-server
Converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with APIs.
photons
A comprehensive demonstration MCP server showcasing various functionalities of the Photon runtime, including basic data handling, streaming responses, progress reporting, in-memory state management, and interactive UI elements. It serves as a reference for developers building new photons.