erp
Odoo ERP MCP Integration for OpenAI Agents SDK
Connect Odoo ERP to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Odoo ERP to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
Odoo ERP MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-odoo": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=odoo",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=odoo --write=deny Why Use KosmoKrator Here
Expose only Odoo ERP instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Odoo ERP Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Odoo ERP integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__odoo__odoo_list_contacts | odoo.odoo_list_contacts | Read | List contacts (customers, vendors) from Odoo with pagination. Returns contact names, emails, phone numbers, and company info. |
integration__odoo__odoo_get_contact | odoo.odoo_get_contact | Read | Get full details of a specific Odoo contact by ID. Returns name, email, phone, address, and all associated data. |
integration__odoo__odoo_create_contact | odoo.odoo_create_contact | Write | Create a new contact (customer or vendor) in Odoo. Supports individuals and companies. |
integration__odoo__odoo_list_sales_orders | odoo.odoo_list_sales_orders | Read | List sales orders from Odoo with pagination. Filter by status, customer, or date range. |
integration__odoo__odoo_list_invoices | odoo.odoo_list_invoices | Read | List invoices from Odoo with pagination. Filter by status, customer, or date range. |
integration__odoo__odoo_list_products | odoo.odoo_list_products | Read | List products from Odoo with pagination. Filter by name, category, or type. |
integration__odoo__odoo_list_leads | odoo.odoo_list_leads | Read | List CRM leads and opportunities from Odoo with pagination. Filter by stage, type, or assigned user. |
integration__odoo__odoo_get_current_user | odoo.odoo_get_current_user | Read | Get the currently authenticated Odoo user profile. Returns name, email, role, and company information. |