Logo van Odoo MCP 改进版

Odoo MCP 改进版

Community
hachecito

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

Uitgeverhachecito
Repositoryodoo-mcp-improved
TaalPython
Forks
29
Sterren
48
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Odoo MCP 改进版 biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    48 sterren en 29 forks in de gekoppelde 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

Installatie

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>"
      }
    }
  }
}

Gebruik Odoo MCP 改进版 MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Odoo MCP 改进版 is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Odoo MCP 改进版 toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Odoo MCP 改进版.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "odoo-mcp-improved": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Odoo MCP 改进版 in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Odoo MCP 改进版 in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Odoo MCP 改进版 gebruiken om me hiermee te helpen?
Odoo MCP 改进版
Zeker. Ik heb het gelezen.
Dit vond ik met Odoo MCP 改进版.

Veelgestelde vragen

Waarvoor wordt de MCP-server Odoo MCP 改进版 gebruikt?

Odoo MCP 改进版 is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Odoo MCP 改进版 MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Odoo MCP 改进版 gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Odoo MCP 改进版 MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Odoo MCP 改进版 verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Odoo MCP 改进版 MCP met TypingMind?

Odoo MCP 改进版 werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Odoo MCP 改进版 MCP in TypingMind?

Odoo MCP 改进版 biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Odoo MCP 改进版 MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Odoo MCP 改进版 authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇