YM

yourtechtribe/mcp-odoo-for-finance

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

14 stars 17 forks 品質 49 トレンド 20MIT

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

概要

Odooの統合のためのモデルコンテキストプロトコルサーバー, AIエージェントが標準インターフェイスを介してOdooデータにアクセスし、操作できるように. MCP-Odoo は、モデルコンテキストプロトコル (MCP) を使用して Odoo ERP システムと AI エージェント間でブリッジを提供します。 これにより、AIシステムが次のようになります。 - アクセスパートナー情報 - 請求書や支払いを含む会計データの表示と分析 - 財務レコードの調整を実行 - クエリベンダーの請求書と顧客の請求書 - Odooインスタンスとの簡単な統合 - AIエージェントの互換性のための標準的なMCPインターフェイス - 豊富な会計データアクセス - Odooで安全な認証 . .

概要(AI 翻訳)

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

概要

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

  • アクセスパートナー情報
  • 請求書や支払いを含む会計データの表示と分析
  • 財務記録の調整を実行
  • ベンダーの請求書と顧客の請求書の問い合わせ

##特徴

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

インストール

設定

プロジェクトルートの[.envファイルを作成するには、次の変数を使用します。

使用法

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

ドキュメント

docs/ディレクトリに包括的なドキュメントが利用できます。

  • ドキュメンテーション ホーム - すべてのドキュメントの概要については、こちらをご覧ください
  • 実装ガイド - 詳細なアーキテクチャと実装の詳細
  • 会計機能 - 機能の考慮への深いガイド
  • トラブルシューティング - 一般的な問題の解決
  • 利用事例 - 実用事例

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

MCP-Odoo

Model Context Protocol server for Odoo integration, allowing AI agents to access and manipulate Odoo data through a standardized interface.

Overview

MCP-Odoo provides a bridge between Odoo ERP systems and AI agents using the Model Context Protocol (MCP). This enables AI systems to:

  • Access partner information
  • View and analyze accounting data including invoices and payments
  • Perform reconciliation of financial records
  • Query vendor bills and customer invoices

Features

  • 🔌 Easy integration with Odoo instances
  • 🤖 Standard MCP interface for AI agent compatibility
  • 📊 Rich accounting data access
  • 🔒 Secure authentication with Odoo

Installation

# 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

Configuration

Create a .env file in the project root with the following variables:

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

Usage

Start the MCP server:

# Using the SSE transport (default)
python -m mcp_odoo_public

# Using stdio for local agent integration
python -m mcp_odoo_public --transport stdio

Documentation

Comprehensive documentation is available in the docs/ directory:

Development

Project Structure

  • mcp_odoo_public/: Main package
    • odoo/: Odoo client and related modules
    • resources/: MCP resources definitions (tools and schemas)
    • server.py: MCP server implementation
    • config.py: Configuration management
    • mcp_instance.py: FastMCP instance definition

Adding New Resources

Resources define the capabilities exposed to AI agents through MCP. To add a new resource:

  1. Create a new file in the resources/ directory
  2. Define your resource using the @mcp.tool() decorator
  3. Import your resource in resources/__init__.py

For detailed instructions, see the Implementation Guide.

License

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

Author

Albert Gil López

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →