Odoo MCP 改进版 logo

Odoo MCP 改进版

Community
hachecito

Odoo MCP Server with advanced tools for sales, stock, and more.

Publisherhachecito
Repositoryodoo-mcp-improved
LanguagePython
Forks
29
Stars
48
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Odoo MCP 改进版 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    48 stars and 29 forks from the linked repository.

Odoo MCP Improved

demo.gif

Odoo MCP Improved Logo

PyPI version Python Versions License

Enhanced Model Context Protocol (MCP) server for Odoo ERP with advanced tools for sales, purchases, inventory and accounting


📋 Table of Contents


🔍 Overview

Odoo MCP Improved is a comprehensive implementation of the Model Context Protocol (MCP) for Odoo ERP systems. It provides a bridge between large language models like Claude and your Odoo instance, enabling AI assistants to interact directly with your business data and processes.

This extended version enhances the original MCP-Odoo implementation with advanced tools and resources for sales, purchases, inventory management, and accounting, making it a powerful solution for AI-assisted business operations.


✨ Features

Core Capabilities

  • Seamless Odoo Integration: Connect directly to your Odoo instance via XML-RPC
  • Comprehensive Data Access: Query and manipulate data across all Odoo modules
  • Modular Architecture: Easily extensible with new tools and resources
  • Robust Error Handling: Clear error messages and validation for reliable operation

Business Domain Support

  • Sales Management: Order tracking, customer insights, and performance analysis
  • Purchase Management: Supplier management, order processing, and performance metrics
  • Inventory Management: Stock monitoring, inventory adjustments, and turnover analysis
  • Accounting: Financial reporting, journal entries, and ratio analysis

Advanced Functionality

  • Analytical Tools: Business intelligence capabilities across all domains
  • Specialized Prompts: Pre-configured prompts for common business scenarios
  • Resource URIs: Standardized access to Odoo data through URI patterns
  • Performance Optimization: Caching and efficient data retrieval

📦 Installation

Using pip

bash
pip install odoo-mcp-improved

🚀 Usage

Running the Server

bash
# Using the module
python -m odoo_mcp

Example Interactions

# Sales Analysis
Using the Odoo MCP, analyze our sales performance for the last quarter and identify our top-selling products.

# Inventory Check
Check the current stock levels for product XYZ across all warehouses.

# Financial Analysis
Calculate our current liquidity and profitability ratios based on the latest financial data.

# Customer Insights
Provide insights on customer ABC's purchase history and payment patterns.

🤖 Claude Desktop Integration

Add the following to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "odoo": {
      "command": "python",
      "args": ["-m", "odoo_mcp"],
      "env": {
        "ODOO_URL": "https://your-odoo-instance.com",
        "ODOO_DB": "your_database",
        "ODOO_USERNAME": "your_username",
        "ODOO_PASSWORD": "your_password"
      }
    }
  }
}

🛠️ Tools Reference

Sales Tools

ToolDescription
search_sales_ordersSearch for sales orders with advanced filtering
create_sales_orderCreate a new sales order
analyze_sales_performanceAnalyze sales performance by period, product, or customer
get_customer_insightsGet detailed insights about a specific customer

Purchase Tools

ToolDescription
search_purchase_ordersSearch for purchase orders with advanced filtering
create_purchase_orderCreate a new purchase order
analyze_supplier_performanceAnalyze supplier performance metrics

Inventory Tools

ToolDescription
check_product_availabilityCheck stock availability for products
create_inventory_adjustmentCreate inventory adjustment entries
analyze_inventory_turnoverCalculate and analyze inventory turnover metrics

Accounting Tools

ToolDescription
search_journal_entriesSearch for accounting journal entries
create_journal_entryCreate a new journal entry
analyze_financial_ratiosCalculate key financial ratios

🔗 Resources Reference

Sales Resources

URIDescription
odoo://sales/ordersList sales orders
odoo://sales/order/{order_id}Get details of a specific sales order
odoo://sales/productsList sellable products
odoo://sales/customersList customers

Purchase Resources

URIDescription
odoo://purchase/ordersList purchase orders
odoo://purchase/order/{order_id}Get details of a specific purchase order
odoo://purchase/suppliersList suppliers

Inventory Resources

URIDescription
odoo://inventory/productsList products in inventory
odoo://inventory/stock/{location_id}Get stock levels at a specific location
odoo://inventory/movementsList inventory movements

Accounting Resources

URIDescription
odoo://accounting/accountsList accounting accounts
odoo://accounting/journal_entriesList journal entries
odoo://accounting/reports/{report_type}Get financial reports

💬 Prompts

Odoo MCP Improved includes specialized prompts for different business scenarios:

Sales Analysis Prompts

  • Sales trend analysis
  • Customer segmentation
  • Product performance evaluation
  • Sales team performance

Inventory Management Prompts

  • Stock optimization
  • Reordering suggestions
  • Warehouse efficiency analysis
  • Product movement patterns

Human Resources Prompts

  • Staff planning
  • Scheduling optimization
  • Performance evaluation
  • Resource allocation

Financial Analysis Prompts

  • Ratio interpretation
  • Cash flow analysis
  • Budget variance analysis
  • Financial health assessment

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

This repo is extended from mcp-odoo - Lê Anh Tuấn


Odoo MCP Improved - Empowering AI assistants with comprehensive Odoo ERP capabilities

Installation

TypingMind
{
  "mcpServers": {
    "odoo-mcp-improved": {
      "command": "python",
      "args": [
        "-m",
        "odoo_mcp"
      ],
      "env": {
        "ODOO_URL": "<ODOO_URL>",
        "ODOO_DB": "<ODOO_DB>",
        "ODOO_USERNAME": "<ODOO_USERNAME>",
        "ODOO_PASSWORD": "<ODOO_PASSWORD>"
      }
    }
  }
}

Use Odoo MCP 改进版 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Odoo MCP 改进版 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Odoo MCP 改进版 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Odoo MCP 改进版 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "odoo-mcp-improved": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Odoo MCP 改进版 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Odoo MCP 改进版 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Odoo MCP 改进版 to help me with this task?
Odoo MCP 改进版
Sure. I read it.
Here is what I found using Odoo MCP 改进版.

Frequently asked questions

What is the Odoo MCP 改进版 MCP server used for?

Odoo MCP 改进版 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Odoo MCP 改进版 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Odoo MCP 改进版 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Odoo MCP 改进版 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Odoo MCP 改进版 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Odoo MCP 改进版 MCP to TypingMind?

Odoo MCP 改进版 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Odoo MCP 改进版 MCP provide in TypingMind?

Odoo MCP 改进版 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Odoo MCP 改进版 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Odoo MCP 改进版 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇