ERPNext MCP 服务器
用于 ERPNext 集成的模型上下文协议服务器
这是一个基于 TypeScript 的 MCP 服务器,提供与 ERPNext/Frappe API 的集成。它使 AI 助手能够通过模型上下文协议 (MCP) 与 ERPNext 数据和功能进行交互。
特征
资源
- 通过
erpnext://{doctype}/{name}
URI 访问 ERPNext 文档 - 用于结构化数据访问的 JSON 格式
工具
authenticate_erpnext
- 使用用户名和密码向 ERPNext 进行身份验证get_documents
- 获取特定文档类型的文档列表create_document
- 在 ERPNext 中创建新文档update_document
- 更新 ERPNext 中的现有文档run_report
- 运行 ERPNext 报告get_doctype_fields
- 获取特定 DocType 的字段列表get_doctypes
- 获取所有可用 DocType 的列表
配置
服务器需要以下环境变量:
ERPNEXT_URL
- ERPNext 实例的基本 URLERPNEXT_API_KEY
(可选)- 用于身份验证的 API 密钥ERPNEXT_API_SECRET
(可选)- 用于身份验证的 API 密钥
发展
安装依赖项:
构建服务器:
对于使用自动重建的开发:
安装
要与 Claude Desktop 一起使用,请添加服务器配置:
在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json
要在 VSCode 中与 Claude 一起使用,请将服务器配置添加到:
在 MacOS 上: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
在 Windows 上: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
调试
由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:
检查器将提供一个 URL 来访问浏览器中的调试工具。
使用示例
验证
获取客户列表
获取客户详细信息
创建新项目
获取项目字段
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
这是一个基于 TypeScript 的 MCP 服务器,提供与 ERPNext/Frappe API 的集成。它使 AI 助手能够通过模型上下文协议 (MCP) 与 ERPNext 数据和功能进行交互。
Related MCP Servers
- AsecurityAlicenseAqualityA TypeScript-based server that allows calling other MCP clients from your own MCP client, facilitating task delegation and context window offloading for enhanced multi-agent interactions.Last updated -314JavaScriptMIT License
- -securityFlicense-qualityA TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.Last updated -16TypeScript
- AsecurityFlicenseAqualityA TypeScript-based MCP server that enables AI assistants to interact with CouchDB databases through a simple interface, providing tools for creating, reading, and querying databases and documents.Last updated -92JavaScript
- AsecurityFlicenseAqualityModel Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.Last updated -1010421JavaScript