Skip to main content
Glama
rakeshgangwar

erpnext-server

ERPNext MCPサーバー

ERPNext統合のためのModel Context Protocolサーバー

これは、ERPNext/Frappe APIとの統合を提供するTypeScriptベースのMCPサーバーです。AIアシスタントがModel Context Protocolを通じてERPNextのデータや機能とやり取りできるようにします。

機能

リソース

  • erpnext://{doctype}/{name} URIを介したERPNextドキュメントへのアクセス

  • 構造化データアクセスのためのJSON形式

ツール

  • get_doctypes - 利用可能なすべてのDocTypeのリストを取得

  • get_doctype_fields - 特定のDocTypeのフィールドリストを取得

  • get_documents - 特定のDocTypeのドキュメントリストを取得

  • get_document - すべての子テーブルを含む、名前による単一ドキュメントの取得

  • create_document - ERPNextで新しいドキュメントを作成

  • update_document - ERPNext内の既存のドキュメントを更新

  • delete_document - ドキュメントを完全に削除

  • submit_document - ドキュメントを提出(docstatusを1に設定)

  • cancel_document - 提出済みドキュメントをキャンセル(docstatusを2に設定)

  • call_method - ERPNext/Frappeのホワイトリストに登録されたサーバーサイドAPIメソッドを呼び出し

  • run_report - ERPNextレポートを実行

Related MCP server: ERPNext MCP Server

設定

サーバーには以下の環境変数が必要です:

  • 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

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

使用例

顧客リストの取得

<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>
Install Server
A
license - permissive license
B
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.
    2
  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server that enables LLMs to interact with ERPNext/Frappe sites for document CRUD, search, reports, workflows, and analytics, respecting user permissions and logging all actions.
    289
    AGPL 3.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Model Context Protocol (MCP) server for ERPNext - manage timesheets, leave applications, projects, and software releases via Claude, Gemini, or any MCP-compatible AI assistant.
    13
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…

View all MCP Connectors

Latest Blog Posts

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-mcp-server'

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