Code GenesisBook a discovery call
← Case studies
Operations · MCP

ERP connector: inventory, sales orders, and approvals through Claude

An MCP connector for Odoo that lets operations teams ask Claude about stock, open orders, and deliveries, and draft sales orders and purchase requests that go through the ERP's own approvals.

Type
AI agent integration (MCP)
Tools
4 agent tools
Stack
Python, FastMCP, Odoo API

The problem

ERP data is the most valuable context in an operations business, and the hardest to reach. Staff click through dozens of screens to answer simple questions like "what's late this week?"

The solution

A connector exposes the ERP's key records as tools. Read questions are answered instantly; anything that creates or changes a record is drafted by the agent and confirmed by a person.

Tools the agent can use

stock_levelsOn-hand, reserved, and incoming stock by product and warehouseRead
open_ordersSales and purchase orders filtered by status, customer, or dateRead
late_deliveriesDeliveries past their promised date, with reasonsRead
draft_sales_orderCreate a draft order for staff to confirm in the ERPNeeds approval

How it connects

  1. Claude (team workspace)
  2. MCP Gateway
  3. ERP connector
  4. Odoo JSON-RPC API
  5. ERP approval workflow

Security by design

  • Each user's agent sees only what their ERP role allows
  • Writes are drafts until confirmed in the ERP
  • Every query and draft is logged with the requesting user

Stack

PythonFastMCPOdoo APIAWS Lambda

Let's build what's next.

Tell us about your product, platform, or roadmap. In a 30-minute consultation we'll share how we'd approach it, with no slides and no obligation.