Odoo Accounting MCP Server
Enables querying and analyzing Odoo account journal entries for audit purposes via XML-RPC integration.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Odoo Accounting MCP ServerFind all journal entries from last month for an audit"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐งพ Odoo Accounting MCP Server
This is a simplified, non-production-ready Model Context Protocol (MCP) server designed for experimental integration with Odoo Accounting via XML-RPC. Specifically tailored for use with Claude Desktop, this project focuses on enabling AI tools to query and analyze account journal entries for audit purposes. While it allows interaction with Odoo accounting data, its current scope is limited to this specific use case and is not intended for production environments. Future exploration might consider expanding to other accounting-related data, such as invoices, depending on the outcomes of the initial focus.
๐ง Example: Claude Detecting MCP Tool

๐ Key Features
Secure Odoo Connection: Establish a secure connection to your Odoo instance using environment variables or a dedicated configuration file.
Accounting Data Tools: Provides specialized tools to efficiently search and retrieve relevant accounting information.
Claude AI Ready: Fully compliant with the Model Context Protocol, ensuring smooth integration with Claude Desktop.
RESTful API (via FastAPI): Offers a simple and robust FastAPI server for exposing RESTful endpoints.
Flexible Configuration: Easily configure the server through Claude Desktop's configuration settings.
Related MCP server: MCP Odoo Server
๐ ๏ธ Setup Guide
Follow these steps to set up and run the Odoo Accounting MCP Server:
1. Clone the Repository
git clone https://github.com/your-username/odoo-accounting-mcp.git
cd odoo-accounting-mcp2. Configure Environment Variables
Create a .env file in the project's root directory and populate it with your Odoo connection details:
ODOO_URL=http://localhost:8069
ODOO_DB=your_db_name
ODOO_USERNAME=your_odoo_user_name
ODOO_PASSWORD=your_odoo_password3. Set Up Virtual Environment
It's recommended to use a virtual environment to manage project dependencies:
python -m venv .venvActivate it:
.\.venv\Scripts ctivate4. Install Dependencies
Install the required Python packages from the requirements.txt file:
python -m pip install -r requirements.txt5. Run the Server
Start the MCP server using the main Python script:
python main.pyThe server will typically start and be accessible at http://localhost:8000.
โ๏ธ Claude Desktop Integration
You don't need to manually run the MCP server when using Claude Desktop. Instead, configure Claude Desktop to manage the server lifecycle.
Update your claude_desktop_config.json file with the following configuration (adjust the paths and Odoo credentials as necessary):
{
"mcpServers": {
"odoo": {
"command": "python",
"cwd": "D:/jeevan-projects/odoomcp/odoo_account_mcp",
"args": ["main.py"],
"env": {
"ODOO_URL": "http://localhost:8069",
"ODOO_DB": "your_db",
"ODOO_USERNAME": "admin",
"ODOO_PASSWORD": "your_password"
}
}
}
}Important Notes:
Ensure the
cwdpath in the configuration points to the correct directory of yourodoo_account_mcpproject.Replace the placeholder Odoo credentials with your actual Odoo instance details.
๐ License
This project is licensed under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect Claude or Cursor to books, invoices, bills, payroll, and sealed closes.
Query financial statements, KPIs, ratios, cash forecasts and budgets from your general ledger
Read-only finance and operations controls for AI agents with evidence and safe next actions.
Your audit methodology inside Claude: findings, risks, controls and workpapers in your team format.
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 gradedqualityDmaintenanceEnables AI assistants to interact with Odoo databases via XML-RPC and JSON-RPC for performing CRUD operations and managing modules. It supports advanced features like domain-based searching, field metadata inspection, and administrative task execution.2 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Odoo ERP systems through XML-RPC to manage records, search for employees, and track holidays. It provides comprehensive access to Odoo models and methods, allowing users to query data and execute custom functions via the Model Context Protocol.MIT
- 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.4AGPL 3.0