
rakeshgangwar/erpnext-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
rakeshgangwar/erpnext-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
rakeshgangwar/erpnext-mcp-server는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
ERPNext 통합을 위한 모델 컨텍스트 프로토콜 서버
이 서버는 ERPNext/Frappe API와 통합되는 TypeScript 기반 MCP 서버입니다. AI 어시스턴트가 모델 컨텍스트 프로토콜을 통해 ERPNext 데이터와 기능과 상호작용할 수 있도록 합니다.
특징
자료
erpnext://{doctype}/{name}URI를 통해 ERPNext 문서 접근- 구조화된 데이터 접근을 위한 JSON 형식
도구
get_doctypes- 사용 가능한 모든 문서 유형 목록 얻기get_doctype_fields- 특정 DocType의 필드 목록 가져오기get_documents- 특정 문서 유형에 대한 문서 목록 얻기get_document- 이름별로 단일 문서를 얻고, 모든 자식 테이블을 포함합니다create_document- ERPNext에서 새 문서 생성update_document- ERPNext에서 기존 문서를 업데이트합니다delete_document- 문서를 영구 삭제하기submit_document- 문서 제출 (docstatus를 1로 설정)cancel_document- 제출된 문서를 취소하기 (docstatus를 2로 설정)call_method- ERPNext/Frappe 화이트리스트 서버 측 API 메서드를 호출합니다run_report- ERPNext 보고서를 실행하세요
구성
서버는 다음과 같은 환경 변수를 필요로 합니다:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
ERPNext MCP Server
A Model Context Protocol server for ERPNext integration
This is a TypeScript-based MCP server that provides integration with ERPNext/Frappe API. It enables AI assistants to interact with ERPNext data and functionality through the Model Context Protocol.
Features
Resources
- Access ERPNext documents via
erpnext://{doctype}/{name}URIs - JSON format for structured data access
Tools
get_doctypes- Get a list of all available DocTypesget_doctype_fields- Get fields list for a specific DocTypeget_documents- Get a list of documents for a specific doctypeget_document- Get a single document by name, including all child tablescreate_document- Create a new document in ERPNextupdate_document- Update an existing document in ERPNextdelete_document- Permanently delete a documentsubmit_document- Submit a document (set docstatus to 1)cancel_document- Cancel a submitted document (set docstatus to 2)call_method- Call an ERPNext/Frappe whitelisted server-side API methodrun_report- Run an ERPNext report
Configuration
The server requires the following environment variables:
ERPNEXT_URL- The base URL of your ERPNext instanceERPNEXT_API_KEY(optional) - API key for authenticationERPNEXT_API_SECRET(optional) - API secret for authentication
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"erpnext": {
"command": "node",
"args": ["/path/to/erpnext-server/build/index.js"],
"env": {
"ERPNEXT_URL": "http://your-erpnext-instance.com",
"ERPNEXT_API_KEY": "your-api-key",
"ERPNEXT_API_SECRET": "your-api-secret"
}
}
}
}
To use with Claude in VSCode, add the server config to:
On MacOS: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
On Windows: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Usage Examples
Get Customer List
erpnext
get_documents
{
"doctype": "Customer"
}
Get Customer Details
erpnext
erpnext://Customer/CUSTOMER001
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"erpnext": {
"command": "node",
"args": ["/path/to/erpnext-server/build/index.js"],
"env": {
"ERPNEXT_URL": "http://your-erpnext-instance.com",
"ERPNEXT_API_KEY": "your-api-key",
"ERPNEXT_API_SECRET": "your-api-secret"
}
}
}
}