odoo-mcp
odoo-mcp
一个用于 Odoo 的 MCP 服务器。它让 LLM 代理能够读写 Odoo 实例中的合作伙伴、销售订单、库存水平和发票。
状态: 早期。下面的工具列表是计划。并非所有功能都已实现。
为什么
Odoo 是一个功能完整的 ERP,拥有广泛的 API,这使得代理难以使用。其外部 API 是 XML-RPC,带有通用的 search_read 和 execute_kw 调用,因此代理需要知道模型名称、字段名称和域语法。这个服务器暴露少量命名工具,每个工具覆盖一个用户实际会请求的任务。
Odoo Community 在 Docker 中运行,带有演示数据,因此整个系统可以在没有真实系统的情况下试用。
Related MCP server: MCP Server for Odoo
工具
工具 | 功能 |
| 查找客户和供应商 |
| 读取订单及其行和状态 |
| 为合作伙伴创建草稿订单 |
| 确认草稿订单 |
| 产品的当前库存数量 |
| 合作伙伴的发票,按状态过滤 |
快速开始
docker compose up -d odoo db # Odoo Community with demo data
cp .env.example .env
docker compose up mcpOdoo 首次启动时大约需要一分钟来初始化其数据库。
工作原理
服务器通过 XML-RPC 连接到 Odoo。每个工具自行构建域和字段列表,因此代理永远不会看到 Odoo 内部细节。结果被裁剪为重要的字段,并以扁平记录的形式返回。
设计决策
命名工具,而非通用查询工具。 一个单一的 run_query 工具编写起来更容易,但使用起来要糟糕得多。命名工具自带验证,并让代理明确知道允许做什么。
读写分离。 写工具在模式中标记,以便客户端可以要求确认。
错误被翻译。 Odoo 会引发带有长回溯的故障。服务器提取消息,并以代理可以操作的形式返回。
尚未实现的功能
分页和结果限制
多公司支持
针对种子 Odoo 实例的测试
许可证
MIT
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
- -licenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with Odoo ERP systems through natural language to search records, create entries, update data, and manage business operations. Supports secure authentication and configurable access controls for production environments.
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Odoo ERP systems through natural language, allowing users to search, create, update, and manage business records like customers, products, and invoices across any Odoo instance.1Mozilla Public 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to interact with Odoo ERP as the authenticated user, with tools for discovery, planning, and mutations bounded by user permissions.34372MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to fully interact with Odoo ERP instances over XML-RPC, supporting read and write operations on any model without requiring Odoo module installation.4AGPL 3.0
Related MCP Connectors
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Give AI agents the LinkedIn tools to find, qualify, engage, and follow up with prospects.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
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/SaintsFlow/odoo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server