-
securityA
license-
qualityAn MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.
Last updated -
78
Python
MIT License
Used for configuration management to securely store connection credentials for Odoo instances including URL, database, username and password.
Used for version control and installation of the MCP-Odoo server.
Hosts the repository for the MCP-Odoo server code, allowing for installation via git clone.
用于 Odoo 集成的模型上下文协议服务器,允许 AI 代理通过标准化接口访问和操作 Odoo 数据。
MCP-Odoo 使用模型上下文协议 (MCP) 在 Odoo ERP 系统和 AI 代理之间架起了一座桥梁。这使得 AI 系统能够:
在项目根目录中创建一个.env
文件,其中包含以下变量:
启动 MCP 服务器:
docs/
目录中提供了全面的文档:
mcp_odoo_public/
:主包odoo/
:Odoo 客户端及相关模块resources/
:MCP 资源定义(工具和模式)server.py
:MCP 服务器实现config.py
:配置管理mcp_instance.py
:FastMCP 实例定义资源定义了通过 MCP 向 AI 代理开放的功能。要添加新资源,请执行以下操作:
resources/
目录中创建一个新文件@mcp.tool()
装饰器定义您的资源resources/__init__.py
中导入您的资源有关详细说明,请参阅实施指南。
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
阿尔伯特·吉尔·洛佩斯
欢迎贡献代码!欢迎提交 Pull 请求。
This server cannot be installed
一种桥梁,允许 AI 代理通过标准化模型上下文协议接口访问和操作 Odoo ERP 数据,支持合作伙伴信息、会计数据、财务记录对账和发票查询。