# Odoo Manufacturing MCP

> Odoo Manufacturing connects your entire business logic to any AI agent, letting you manage complex production workflows using natural conversation. You can schedule new runs, check component availability against specific Bills of Materials (BOMs), and track every work center from the shop floor without ever leaving your chat window.

## Overview
- **Category:** erp-operations
- **Price:** Free
- **Tags:** manufacturing-orders, bill-of-materials, work-centers, production-planning, resource-scheduling, assembly-line

## Description

Listen up. We're talking Odoo Manufacturing here, so you get your whole shop floor run through your AI agent. You don't gotta jump between ten tabs just to figure out if you can actually build something or if you need a new assembly line. This server connects all that complex business logic right into your chat window.

When you need to know what materials you’re working with, start by checking the recipes. The `odoo_list_boms` tool gives you a rundown of every product recipe—every Bill of Materials (BOM) defined in Odoo. You'll see the finished good and exactly how it's structured down to its component pieces. If you need more detail on one specific BOM, the `odoo_get_bom_components` tool pulls out that precise list, telling you the exact raw materials needed and how much of each piece you require.

Got a product recipe figured out? Next, you gotta know what's running right now. You can use `odoo_list_manufacturing_orders` to see a summary of every production job currently on the books; this shows you the planned quantity, the current status, and which BOM they used. For deep dives, the `odoo_get_manufacturing_order` tool pulls all the granular details for one specific order—it gives you progress updates, the original BOMs linked, and the planned dates. If you're ready to start making stuff, use `odoo_create_manufacturing_order`; that sets up a new production record for a given product quantity, kicking off the entire scheduling process right in Odoo.

Want to see what your factory can actually handle? The server has tools to map out every physical resource. You can get a list of all defined work centers or production machines using `odoo_list_work_centers`. This tool tells you about each station's capacity, its code, and if it’s even active. To track what's happening on the ground level—the actual shop floor—you use `odoo_list_work_orders`. That shows all the individual steps currently running, listing which product is being worked on, which center is handling it, and how long it's supposed to take.

Basically, your agent takes over the complicated queries. Instead of digging through dashboards to calculate components or check machine status, you just ask: 'What do I need for Product X?' The agent runs the necessary tool calls—whether that’s checking component requirements using `odoo_get_bom_components`, listing all available production recipes with `odoo_list_boms`, scheduling a run via `odoo_create_manufacturing_order`, or assessing factory capacity with `odoo_list_work_centers`—and gives you a direct, actionable list. You're managing complex workflows in natural conversation without ever leaving your chat window.

## Tools

### odoo_create_manufacturing_order
Creates a new production record for a specific product quantity, scheduling it in Odoo's manufacturing flow.

### odoo_get_bom_components
Retrieves the precise list and required quantities of raw materials needed for any given Bill of Materials ID.

### odoo_get_manufacturing_order
Pulls all detailed information about a specific production order, including progress, BOMs, and planned dates.

### odoo_list_boms
Lists all defined product recipes (BOMs) in Odoo, showing the finished product and its component structure.

### odoo_list_manufacturing_orders
Shows a summary of all current production orders, including planned quantity, status, and linked BOM.

### odoo_list_work_centers
Lists every physical resource or station in the factory, detailing its capacity, code, and active status.

### odoo_list_work_orders
Shows all individual steps (work orders) currently running on the shop floor, including product, center, and expected duration.

## Prompt Examples

**Prompt:** 
```
Search for leads from the website
```

**Response:** 
```
👥 **CRM Leads — Website**
| Name | Email | Stage | Revenue |
|---|---|---|---|
| Acme Corp | info@acme.com | Qualification | $15,000 |
| Beta Inc | hello@beta.io | Proposition | $8,500 |
```

**Prompt:** 
```
Show recent sales orders
```

**Response:** 
```
📋 **Sales Orders**
| SO# | Customer | Amount | Status |
|---|---|---|---|
| S00042 | Acme Corp | $12,500 | Confirmed |
| S00041 | Beta Inc | $3,200 | Draft |
```

## Capabilities

### Check Bill of Materials (BOM) requirements
Determine exactly which raw materials and components are needed to build a product based on its established recipe.

### List all available production recipes (BOMs)
Retrieve the complete list of products that can be manufactured, along with their defined component structures and types.

### Schedule a new manufacturing run
Create a formal production order for a specific product quantity, initiating the material reservation process in Odoo.

### Track active production progress
Get a real-time list of all work orders on the shop floor, showing which center is running what and its status.

### Review detailed product recipes
Inspect all key details for a single manufacturing order, including planned start dates, BOMs used, and quantity completed.

### Assess factory floor capacity
List and check the status, capacity, and efficiency of every defined work center or production machine.

## Use Cases

### Starting a new production batch
The Operations Manager needs to start 50 units of Widget A. They first run `odoo_list_boms` to confirm the correct recipe (BOM ID), then use `odoo_get_bom_components` to ensure enough raw material is available, and finally call `odoo_create_manufacturing_order` to schedule the job.

### Investigating a delay on the factory floor
The team notices an order is stalled. They use `odoo_list_work_orders` to see if the step is pending materials or resources. If it's resource-related, they check `odoo_list_work_centers` for capacity issues.

### Auditing a completed job
The Admin needs proof of exactly what went into Order S005. They use `odoo_get_manufacturing_order` to pull all historical and planned data, including the original BOM details.

### Quickly assessing product viability
The Planner is considering a new product line but doesn't have the full specs. They run `odoo_list_boms` to see if similar products already exist, giving them immediate insight into existing recipes and components.

## Benefits

- Track the full cycle of production. Instead of checking multiple tabs, use `odoo_list_manufacturing_orders` to see every active job and its current status instantly.
- Never guess if you have enough parts again. Run `odoo_get_bom_components` right after finding a BOM with `odoo_list_boms` to get an exact, verified component list.
- Know your capacity before you commit. Use `odoo_list_work_centers` to see which machines are active and what their efficiency ratings are for better planning.
- Get the full picture on any job. When a customer asks about a specific order, use `odoo_get_manufacturing_order` to pull all details—BOMs, planned dates, progress—in one shot.
- See real-time floor activity. Use `odoo_list_work_orders` when you need to know exactly which machine is running what right now, identifying bottlenecks instantly.

## How It Works

The bottom line is: you move from planning (recipes) to validation (components) to execution (orders) without leaving your chat interface.

1. First, use `odoo_list_boms` to find the specific product recipe (BOM) you need to manufacture.
2. Next, run `odoo_get_bom_components` with that BOM ID to get a precise list of every required raw material and its quantity.
3. Finally, if materials are confirmed, call `odoo_create_manufacturing_order` to schedule the production run in Odoo.

## Frequently Asked Questions

**How do I find out what materials are needed for a product using odoo_get_bom_components?**
You need two IDs: the BOM ID and the Product ID. The tool returns a detailed list of every required raw material, including its exact quantity and unit of measure.

**What is the difference between odoo_list_manufacturing_orders and odoo_get_manufacturing_order?**
Listing shows an overview (reference number, product, status) for many orders. Getting details pulls everything—the full BOM, planned dates, and exact progress report—for one specific order.

**Can I check machine capacity with odoo_list_work_centers?**
Yes. This tool lists all configured work centers (machines or stations) in your facility. It returns the name, code, current capacity, and time efficiency percentage.

**What is the best way to start a new production run? odoo_create_manufacturing_order?**
You must first ensure you have the correct BOM ID using `odoo_list_boms`. Then, use `odoo_get_bom_components` to validate materials before calling `odoo_create_manufacturing_order`.

**How do I use odoo_list_work_orders to track real-time shop floor activity?**
It lists active work orders, showing the product, assigned work center, state (pending/ready/progress/done), and estimated duration. This lets you pinpoint exact bottlenecks or operations that are running longer than expected.

**What is the difference between listing all recipes using odoo_list_boms and getting components for one product?**
odoo_list_boms returns every BOM name, finished product, quantity produced per BOM, and type. This lets you discover *all* formulas available across your entire catalog before checking specific component needs.

**When I run odoo_get_manufacturing_order, what key fields tell me how far along the production is?**
The record gives product, BOM details, quantities, and progress metrics. Focus on comparing 'quantity already produced' against 'planned quantity' to get a clear view of completion status.

**Does odoo_list_work_centers provide data on machine utilization or capacity limits?**
It provides the work center name, code, capacity, and time efficiency percentage. Use these metrics to identify which production resources might be strained or need maintenance.

**Which Odoo versions are supported?**
This server uses the JSON-RPC protocol, which is compatible with Odoo 14, 15, 16, 17, and 18. Both Odoo Community and Enterprise editions are supported.

**Does it work with Odoo.com (SaaS)?**
Yes! Works with both Odoo.com hosted instances and self-hosted Odoo servers. Just provide your instance URL and API key.

**How do I generate an API Key?**
Go to Settings → Users → select your user → API Keys tab → New API Key. Give it a descriptive name and copy the generated key.