Skip to main content
Glama

erpnext-server

ERPNext MCP サーバー

ERPNext統合のためのモデルコンテキストプロトコルサーバー

これはTypeScriptベースのMCPサーバーであり、ERPNext/Frappe APIとの統合を提供します。これにより、AIアシスタントはモデルコンテキストプロトコルを介してERPNextのデータや機能とやり取りできるようになります。

特徴

リソース

  • erpnext://{doctype}/{name} URI 経由で ERPNext ドキュメントにアクセスします。
  • 構造化データアクセスのためのJSON形式

ツール

  • authenticate_erpnext - ユーザー名とパスワードを使用して ERPNext で認証します
  • get_documents - 特定のドキュメントタイプのドキュメントのリストを取得する
  • create_document - ERPNextで新しいドキュメントを作成する
  • update_document - ERPNext 内の既存のドキュメントを更新する
  • run_report - ERPNextレポートを実行する
  • get_doctype_fields - 特定のDocTypeのフィールドリストを取得する
  • get_doctypes - 利用可能なすべてのDocTypeのリストを取得します

構成

サーバーには次の環境変数が必要です。

  • ERPNEXT_URL - ERPNextインスタンスのベースURL
  • ERPNEXT_API_KEY (オプション) - 認証用のAPIキー
  • ERPNEXT_API_SECRET (オプション) - 認証用のAPIシークレット

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "erpnext": { "command": "node", "args": ["/path/to/erpnext-server/build/index.js"], "env": { "ERPNEXT_URL": "http://your-erpnext-instance.com", "ERPNEXT_API_KEY": "your-api-key", "ERPNEXT_API_SECRET": "your-api-secret" } } } }

VSCode で Claude を使用するには、次のサーバー構成を追加します。

MacOS の場合: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json Windows の場合: %APPDATA%/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

使用例

認証

<use_mcp_tool> <server_name>erpnext</server_name> <tool_name>authenticate_erpnext</tool_name> <arguments> { "username": "your-username", "password": "your-password" } </arguments> </use_mcp_tool>

顧客リストを取得する

<use_mcp_tool> <server_name>erpnext</server_name> <tool_name>get_documents</tool_name> <arguments> { "doctype": "Customer" } </arguments> </use_mcp_tool>

顧客の詳細を取得する

<access_mcp_resource> <server_name>erpnext</server_name> <uri>erpnext://Customer/CUSTOMER001</uri> </access_mcp_resource>

新しいアイテムを作成

<use_mcp_tool> <server_name>erpnext</server_name> <tool_name>create_document</tool_name> <arguments> { "doctype": "Item", "data": { "item_code": "ITEM001", "item_name": "Test Item", "item_group": "Products", "stock_uom": "Nos" } } </arguments> </use_mcp_tool>

アイテムフィールドを取得する

<use_mcp_tool> <server_name>erpnext</server_name> <tool_name>get_doctype_fields</tool_name> <arguments> { "doctype": "Item" } </arguments> </use_mcp_tool>
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

これはTypeScriptベースのMCPサーバーであり、ERPNext/Frappe APIとの統合を提供します。これにより、AIアシスタントはモデルコンテキストプロトコルを介してERPNextのデータや機能とやり取りできるようになります。

  1. 特徴
    1. リソース
    2. ツール
  2. 構成
    1. 発達
      1. インストール
        1. デバッグ
      2. 使用例
        1. 認証
        2. 顧客リストを取得する
        3. 顧客の詳細を取得する
        4. 新しいアイテムを作成
        5. アイテムフィールドを取得する

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A TypeScript-based server that allows calling other MCP clients from your own MCP client, facilitating task delegation and context window offloading for enhanced multi-agent interactions.
        Last updated -
        3
        14
        JavaScript
        MIT License
        • Apple
      • -
        security
        F
        license
        -
        quality
        A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.
        Last updated -
        16
        TypeScript
      • A
        security
        F
        license
        A
        quality
        A TypeScript-based MCP server that enables AI assistants to interact with CouchDB databases through a simple interface, providing tools for creating, reading, and querying databases and documents.
        Last updated -
        9
        2
        JavaScript
        • Apple
      • A
        security
        F
        license
        A
        quality
        Model Context Protocol (MCP) server that integrates Redash with AI assistants like Claude, allowing them to query data, manage visualizations, and interact with dashboards through natural language.
        Last updated -
        10
        104
        21
        JavaScript
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/rakeshgangwar/erpnext-server'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server