odoo-mcp-server
Provides tools for interacting with an Odoo ERP system via XML-RPC, enabling search and management of invoices, payments, partners, products, journal entries, and account balances.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
odoo-mcp-server
An MCP (Model Context Protocol) server that connects AI assistants like Claude to your Odoo ERP system. Focused on invoicing, payments, partners, and accounting via Odoo's XML-RPC API.
Works with Odoo Online (SaaS) and self-hosted Odoo instances (v14+).
Features
Tool | Description |
| Search invoices by status, customer, date range, payment state |
| Get full invoice details including line items |
| Create a new draft invoice |
| Confirm/post a draft invoice |
| Search payments by partner, date, state |
| Register a payment for one or more invoices |
| Search customers/vendors by name, email, VAT number |
| Create a new customer or vendor |
| View chart of accounts with balances |
| Search journal entries/moves |
| Search products (for invoice line items) |
| Show connection info and Odoo version |
Related MCP server: MCP Server for Odoo
Installation
Claude Code / Claude Desktop
Add this to your MCP configuration:
{
"mcpServers": {
"odoo-accounting": {
"command": "npx",
"args": ["-y", "odoo-mcp-server"],
"env": {
"ODOO_URL": "https://your-company.odoo.com",
"ODOO_DB": "your-company",
"ODOO_USERNAME": "your-email@company.com",
"ODOO_API_KEY": "your-api-key"
}
}
}
}Configuration
The server requires four environment variables:
Variable | Description | Example |
| Your Odoo instance URL |
|
| Database name (usually the subdomain) |
|
| Your Odoo login email |
|
| Odoo API key (recommended) or password |
|
How to get an Odoo API Key
Log in to your Odoo instance
Go to Settings > Users & Companies > Users
Click on your user
Go to the Account Security tab
Click New API Key
Give it a name (e.g., "Claude MCP") and copy the key
Note: External API access on Odoo Online requires the Custom plan. It is not available on One App Free or Standard plans.
Usage Examples
Once configured, you can ask Claude things like:
"Show me all unpaid invoices from this month"
"What is the total revenue for customer X in 2025?"
"Create an invoice for Partner Y with 10 hours of consulting at 150 EUR/hour"
"Register a payment for invoice INV/2025/001"
"What are the current account balances?"
"Search for all products related to consulting"
Development
git clone https://github.com/ChristopheB-MB/odoo-mcp-server.git
cd odoo-mcp-server
npm install
npm run buildTest with MCP Inspector:
npx @modelcontextprotocol/inspector node ./build/index.jsLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI to Odoo ERP 14-20: search, create, update and manage records in natural language.
Connect your Odoo to Claude and ChatGPT: ask about sales, stock, customers and invoices.
Connect any AI assistant to Odoo 16–19 via OAuth 2.0 + PKCE. 400 free calls, no local install.
Read, write and run Odoo actions from any AI app, as each user, with approval rules per colleague.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Odoo ERP systems through XML-RPC communication. Provides access to Odoo models, records, methods, and data structures for comprehensive ERP integration.2MIT
- AlicenseNot 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.Mozilla Public 2.0
- 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
- AlicenseNot gradedqualityBmaintenanceEnables 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.5AGPL 3.0