
appliedrelevance/frappe-mcp-server
Deployment & DevOps이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Frappe MCP 서버의 파이썬 구현은 고급 필터링, 종합 API 적용 및 MCP JSON 검증 제한을 우회하는 사용자 정의 필터 언어
개요
Frappe Framework의 Model Context Protocol (MCP) 서버의 현대식 컨테이너화된 Python 구현은 FastMCP, uv for Dependency Management, Docker for deploy를 기반으로 합니다. - : Frappe 문서의 전체 CRUD 작업 - : DocType 필드 정의 및 구조 분석 - : Query 보고서, 재무 성명 및 데이터 내보내기 - : Whitelisted Frappe 메소드 실행 - : Secure API 키 / secret 인증 - Docker 및 Docker Compose - API 자격 증명을 가진 Frappe 사이트에 액세스 - create document: Create new Frappe document - get document: 문서를 DocType과 name으로 검색 - update document: 기존 문서를 업데이트 - delete document: 문서를 삭제 - list document: Query 문서 필터 - call method: 화이트리스트 Frappe 메서드 실행 - get doctype schema: get complete DocType 구조 - get field options: Get Link/Select field options - get doctype list: 가능한 DocType 목록 - get frappe usage info: 복합 스키마 및 사용 정보 -...
개요(AI 번역)
Frappe Framework의 Model Context Protocol (MCP) 서버의 현대식 컨테이너화된 Python 구현은 FastMCP, uv for Dependency Management, Docker for deploy를 기반으로 합니다.
특징
- Document Operations: Frappe 문서에 대한 전체 CRUD 작업
- Schema Introspection: DocType 필드 정의 및 구조 분석 -Report Generation: Query 보고서, 금융 진술 및 데이터 수출 -Method Calling: Whitelisted Frappe 메소드 실행
- ** 인증**: 보안 API 키/secret 인증
빠른 시작
# 필수품
- 도커 및 도커 컴스
- API credentials를 가진 Frappe 위치에 접근
설정
사용 가능한 MCP 도구
문서 작업
create_document: 새로운 Frappe 문서 만들기get_document: 문서 검색 DocType and nameupdate_document: 기존 문서 업데이트delete_document: 문서 삭제list_documents: 필터가있는 Query 문서call_method: Whitelisted Frappe 방법 실행
Schema 운영
get_doctype_schema: 완전한 DocType 구조get_field_options: Link/Select 필드 옵션 받기get_doctype_list: DocTypes 목록
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
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
Quick Start
Prerequisites
- Docker and Docker Compose
- Access to a Frappe site with API credentials
Setup
git clone https://github.com/appliedrelevance/frappe_mcp_server_uv.git
cd frappe_mcp_server_uv
cp .env.example .env
# Edit .env with your Frappe credentials
docker-compose up -d frappe-mcp-server
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
# Install with development dependencies
uv sync --dev
# Run tests
uv run pytest
# Format code
uv run black src/ && uv run isort src/
License
ISC License - see LICENSE file for details.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →