MCP-Odoo

MIT License
2

Integrations

  • Used for configuration management to securely store connection credentials for Odoo instances including URL, database, username and password.

  • Used for version control and installation of the MCP-Odoo server.

  • Hosts the repository for the MCP-Odoo server code, allowing for installation via git clone.

MCP-Odoo

Odoo 統合用のモデル コンテキスト プロトコル サーバー。AI エージェントが標準化されたインターフェースを介して Odoo データにアクセスし、操作できるようにします。

概要

MCP-Odooは、モデルコンテキストプロトコル(MCP)を使用して、Odoo ERPシステムとAIエージェント間のブリッジを提供します。これにより、AIシステムは以下が可能になります。

  • パートナー情報にアクセスする
  • 請求書や支払いなどの会計データを表示および分析します
  • 財務記録の照合を実行する
  • ベンダー請求書と顧客請求書の照会

特徴

  • 🔌 Odooインスタンスとの簡単な統合
  • 🤖 AIエージェントの互換性のための標準MCPインターフェース
  • 📊 豊富な会計データへのアクセス
  • 🔒 Odoo による安全な認証

インストール

# Clone the repository git clone https://github.com/yourtechtribe/model-context-protocol-mcp-odoo.git cd model-context-protocol-mcp-odoo # Install dependencies pip install -r requirements.txt

構成

次の変数を含む.envファイルをプロジェクト ルートに作成します。

ODOO_URL=https://your-odoo-instance.com ODOO_DB=your_database ODOO_USERNAME=your_username ODOO_PASSWORD=your_password HOST=0.0.0.0 PORT=8080

使用法

MCP サーバーを起動します。

# Using the SSE transport (default) python -m mcp_odoo_public # Using stdio for local agent integration python -m mcp_odoo_public --transport stdio

ドキュメント

包括的なドキュメントはdocs/ディレクトリにあります。

発達

プロジェクト構造

  • mcp_odoo_public/ : メインパッケージ
    • odoo/ : Odooクライアントと関連モジュール
    • resources/ : MCP リソース定義 (ツールとスキーマ)
    • server.py : MCP サーバーの実装
    • config.py : 構成管理
    • mcp_instance.py : FastMCPインスタンス定義

新しいリソースの追加

リソースは、MCPを通じてAIエージェントに公開される機能を定義します。新しいリソースを追加するには、以下の手順に従います。

  1. resources/ディレクトリに新しいファイルを作成する
  2. @mcp.tool()デコレータを使用してリソースを定義します。
  3. resources/__init__.pyにリソースをインポートします。

詳細な手順については、実装ガイドを参照してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

著者

アルバート・ギル・ロペス

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

AI エージェントが標準化されたモデル コンテキスト プロトコル インターフェースを介して Odoo ERP データにアクセスして操作できるようにするブリッジ。パートナー情報、会計データ、財務記録の調整、請求書クエリをサポートします。

  1. Overview
    1. Features
      1. Installation
        1. Configuration
          1. Usage
            1. Documentation
              1. Development
                1. Project Structure
                2. Adding New Resources
              2. License
                1. Author
                  1. Contributing

                    Related MCP Servers

                    • -
                      security
                      A
                      license
                      -
                      quality
                      An MCP server implementation that integrates with Odoo ERP systems, enabling AI assistants to interact with Odoo data and functionality through the Model Context Protocol.
                      Last updated -
                      78
                      Python
                      MIT License
                    • -
                      security
                      A
                      license
                      -
                      quality
                      A Model Context Protocol server that enables AI agents to interact with Brex financial platform data, allowing retrieval of account information, expenses, budgets, and team data through standardized resource handlers.
                      Last updated -
                      2
                      TypeScript
                      MIT License
                      • Apple
                    • -
                      security
                      -
                      license
                      -
                      quality
                      A Model Context Protocol server that connects AI assistants to Brazilian public data services, providing access to postal codes, company registrations, bank information, area codes, IBGE data, currency exchange rates, and domain registration status.
                      Last updated -
                      3
                      TypeScript
                      MIT License
                    • -
                      security
                      F
                      license
                      -
                      quality
                      An integration tool that connects Claude AI with Odoo database, allowing users to explore Odoo models, search data, and create reports through natural language commands.
                      Last updated -
                      Python

                    View all related MCP servers

                    ID: 5rucwfvh39