MCP-Odoo
MCP-Odoo
用于 Odoo 集成的模型上下文协议服务器,允许 AI 代理通过标准化接口访问和操作 Odoo 数据。
概述
MCP-Odoo 使用模型上下文协议 (MCP) 在 Odoo ERP 系统和 AI 代理之间架起了一座桥梁。这使得 AI 系统能够:
访问合作伙伴信息
查看和分析包括发票和付款在内的会计数据
执行财务记录的核对
查询供应商账单和客户发票
Related MCP server: Odoo MCP Improved
特征
🔌 轻松与 Odoo 实例集成
🤖 标准 MCP 接口,兼容 AI 代理
📊 丰富的会计数据访问
🔒 使用 Odoo 进行安全身份验证
安装
# Clone the repository
git clone https://github.com/yourtechtribe/model-context-protocol-mcp-odoo.git
cd model-context-protocol-mcp-odoo
# Install dependencies
pip install -r requirements.txt配置
在项目根目录中创建一个.env文件,其中包含以下变量:
ODOO_URL=https://your-odoo-instance.com
ODOO_DB=your_database
ODOO_USERNAME=your_username
ODOO_PASSWORD=your_password
HOST=0.0.0.0
PORT=8080用法
启动 MCP 服务器:
# Using the SSE transport (default)
python -m mcp_odoo_public
# Using stdio for local agent integration
python -m mcp_odoo_public --transport stdio文档
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.MIT
- AlicenseNot gradedqualityDmaintenanceA comprehensive implementation of the Model Context Protocol for Odoo ERP systems that enables AI assistants to interact directly with business data across sales, purchases, inventory, and accounting modules.48MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Odoo ERP systems, providing comprehensive tools for searching, creating, updating, and managing Odoo records through a standardized interface.24GPL 3.0
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges Odoo ERP systems with AI agents, enabling them to access and manipulate partner information, accounting data, invoices, and perform financial reconciliation through a standardized interface.MIT
Related MCP Connectors
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Open-source AI accounting skills verified by licensed accountants (tax, VAT, payroll).
AI agents for bookkeeping, reconciliation, and financial close for SMBs.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yourtechtribe/mcp-odoo-for-finance'
If you have feedback or need assistance with the MCP directory API, please join our Discord server