Provides comprehensive integration with Frappe Framework, enabling full CRUD operations on documents, schema introspection of DocTypes, execution of query reports and financial statements, calling whitelisted methods, and secure API authentication for managing Frappe-based applications.
Frappe MCP Server (Python + uv + Docker)
A modern, containerized Python implementation of the Model Context Protocol (MCP) server for Frappe Framework, built with FastMCP, uv for dependency management, and Docker for deployment.
Features
Document Operations: Full CRUD operations for Frappe documents
Schema Introspection: DocType field definitions and structure analysis
Report Generation: Query reports, financial statements, and data exports
Method Calling: Execute whitelisted Frappe methods
Authentication: Secure API key/secret authentication
Related MCP server: freee会計 MCP Server
Quick Start
Prerequisites
Docker and Docker Compose
Access to a Frappe site with API credentials
Setup
Available MCP Tools
Document Operations
create_document: Create new Frappe documentsget_document: Retrieve document by DocType and nameupdate_document: Update existing documentsdelete_document: Delete documentslist_documents: Query documents with filterscall_method: Execute whitelisted Frappe methods
Schema Operations
get_doctype_schema: Get complete DocType structureget_field_options: Get Link/Select field optionsget_doctype_list: List available DocTypesget_frappe_usage_info: Combined schema and usage information
Report Operations
run_query_report: Execute Frappe query reportsget_report_meta: Get report metadata and structurelist_reports: List available reportsrun_doctype_report: Generate DocType-based reportsget_financial_statements: Access P&L, Balance Sheet, Cash Flow
Helper Operations
ping: Server health checkversion: Get server version informationvalidate_auth: Check API credential status
Development
License
ISC License - see LICENSE file for details.