MCP-Odoo
用于 Odoo 集成的模型上下文协议服务器,允许 AI 代理通过标准化接口访问和操作 Odoo 数据。
概述
MCP-Odoo 使用模型上下文协议 (MCP) 在 Odoo ERP 系统和 AI 代理之间架起了一座桥梁。这使得 AI 系统能够:
- 访问合作伙伴信息
- 查看和分析包括发票和付款在内的会计数据
- 执行财务记录的核对
- 查询供应商账单和客户发票
特征
- 🔌 轻松与 Odoo 实例集成
- 🤖 标准 MCP 接口,兼容 AI 代理
- 📊 丰富的会计数据访问
- 🔒 使用 Odoo 进行安全身份验证
安装
配置
在项目根目录中创建一个.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
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.
一种桥梁,允许 AI 代理通过标准化模型上下文协议接口访问和操作 Odoo ERP 数据,支持合作伙伴信息、会计数据、财务记录对账和发票查询。
Related MCP Servers
- -securityAlicense-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 -78PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables AI agents to interact with Brex financial platform data, allowing retrieval of account information, expenses, budgets, and team data through standardized resource handlers.Last updated -2TypeScriptMIT License
- -security-license-qualityA Model Context Protocol server that connects AI assistants to Brazilian public data services, providing access to postal codes, company registrations, bank information, area codes, IBGE data, currency exchange rates, and domain registration status.Last updated -3TypeScriptMIT License
- -securityFlicense-qualityAn integration tool that connects Claude AI with Odoo database, allowing users to explore Odoo models, search data, and create reports through natural language commands.Last updated -Python