通用 API MCP 服务器のロゴ

通用 API MCP 服务器

コミュニティ
DaanTheoden

This Model Context Protocol (MCP) server enables Claude Desktop to interact with Aras Innovator, allowing you to query data, create items, and call methods directly from your AI assistant.

公開者DaanTheoden
リポジトリaras-claude-agent
言語Python
フォーク
10
スター
16
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    通用 API MCP 服务器は、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには16件のスターと10件のフォークがあります。

🚀 Aras Innovator Claude Agent

Connect Claude Desktop to Aras Innovator PLM via OAuth 2.0!

This Model Context Protocol (MCP) server enables Claude Desktop to interact with Aras Innovator using modern OAuth 2.0 authentication and OData REST APIs, allowing you to query PLM data, create items, and call methods directly from your AI assistant.

✨ What can you do?

  • 🔐 Secure OAuth 2.0 authentication with Aras Innovator 14+
  • 📊 Query PLM data using OData REST endpoints
  • ✍️ Create new items (Parts, Documents, etc.) directly from Claude
  • 🔧 Call Aras server methods and custom endpoints
  • 📋 Access lists and configuration data
  • 🛡️ Enterprise-grade security with bearer token authentication

📋 Prerequisites

🐍 Python 3.8+

  • Windows: Download from python.org
  • macOS/Linux: brew install python or sudo apt install python3 python3-pip

🤖 Claude Desktop (free!)

  • Download from claude.ai - no subscription required!

🏢 Aras Innovator 14+ with OAuth 2.0

  • Aras Innovator server with OAuth 2.0 endpoints enabled
  • Valid Aras user credentials with API permissions
  • Database access permissions

🎯 Quick start

1️⃣ Clone & install

bash
git clone https://github.com/DaanTheoden/aras-claude-agent.git
cd aras-claude-agent
pip install -r requirements.txt

2️⃣ Configure your Aras connection

Create a .env file in the project root:

env
# Aras Innovator OAuth 2.0 Configuration
API_URL=https://your-aras-server.com/YourDatabase
API_USERNAME=your-aras-username
API_PASSWORD=your-aras-password
ARAS_DATABASE=YourDatabase

# Optional Configuration
API_TIMEOUT=30
API_RETRY_COUNT=3
API_RETRY_DELAY=1
LOG_LEVEL=INFO

💡 Copy from env_example.txt and update with your Aras credentials

3️⃣ Add to Claude Desktop

Edit your Claude Desktop config file:

📁 Windows: %APPDATA%\Claude\claude_desktop_config.json
📁 macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

json
{
  "mcpServers": {
    "api-server": {
      "command": "py",
      "args": ["C:/path/to/your/aras-claude-agent/main.py"]
    }
  }
}

💡 Replace the path with your actual installation directory!

4️⃣ Test your setup!

Verify installation:

bash
python main.py

The server should start without any JSON parsing errors.

Test in Claude Desktop: Restart Claude Desktop and try:

  • "Test my API connection"
  • "Get all Parts from the database"
  • "Show me the available Document types"

🛠️ Available tools

ToolDescriptionWhat You Can AskExample Endpoint
test_api_connectionTest OAuth 2.0 authentication"Test my API connection"N/A
api_get_itemsQuery Aras OData"Get all Parts"Part, Document
api_create_itemCreate new Aras items"Create a new Part"Part, Document
api_call_methodCall Aras server methods"Call method GetItemsInBOM"Method names
api_get_listGet Aras list values"Show Part categories"List IDs

🔐 OAuth 2.0 Authentication

This agent uses OAuth 2.0 Resource Owner Password Credentials Grant for secure authentication with Aras Innovator 14+. The authentication flow:

  1. Token Request: https://your-server/oauthserver/connect/token
  2. Scope: openid Innovator offline_access
  3. Client ID: IOMApp (default Aras client)
  4. Grant Type: password
  5. Required: username, password, database

💬 Example conversations

You: "Test my API connection"
Claude: ✅ Successfully authenticated with API!
Bearer token obtained and ready for API calls.
Server URL: https://your-server.com/YourDatabase

You: "Get all Parts where item_number starts with 'P-'"
Claude: Retrieved 25 Parts matching your criteria...

You: "Create a new Document with name 'User Manual v2'"
Claude: Successfully created Document with ID A1B2C3D4...

🔧 Recent Fixes & Updates

✅ v1.1.0 - OAuth 2.0 & JSON Parsing Fixes

  • Fixed: "Unexpected token 'A', 'API MCP Se'... is not valid JSON" error
  • Added: Proper OAuth 2.0 authentication with requests-oauthlib
  • Added: Database parameter requirement for Aras authentication
  • Fixed: All print statements redirected to stderr to prevent stdout contamination
  • Updated: OData endpoint support (/Server/Odata)
  • Added: Proper HTTP headers for Aras REST API

🛠️ Troubleshooting

🔗 OAuth authentication failing?

  • Verify your Aras server supports OAuth 2.0 (Aras 14+)
  • Check credentials and database name in .env
  • Ensure user has API access permissions

🔐 "Missing database parameter" error?

  • Add ARAS_DATABASE=YourDatabaseName to your .env file

🤖 Claude not finding tools?

  • Restart Claude Desktop after config changes
  • Check file paths in claude_desktop_config.json

🐍 JSON parsing errors?

  • ✅ Fixed in v1.1.0! Update to latest version

🏗️ Architecture

Claude Desktop
    ↓ JSON-RPC
MCP Server (stdio)
    ↓ OAuth 2.0
Aras Innovator
    ↓ OData REST API
PLM Database

🤝 Contributing

Found a bug or want to add features? We welcome contributions! Please check our issues or submit a pull request.

📚 Learn More

📄 License

MIT License - see LICENSE file for details.

インストール

TypingMind
{
  "mcpServers": {
    "aras-claude-agent": {
      "command": "python",
      "args": [
        "C:/path/to/your/aras-claude-agent/main.py"
      ]
    }
  }
}

通用 API MCP 服务器のMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度通用 API MCP 服务器に接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

通用 API MCP 服务器をサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. 通用 API MCP 服务器のMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "aras-claude-agent": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いて通用 API MCP 服务器のMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. 通用 API MCP 服务器のMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
通用 API MCP 服务器を使ってこのタスクを手伝ってもらえますか?
通用 API MCP 服务器
はい、読みました。
通用 API MCP 服务器で調べた結果をお伝えします。

よくある質問

通用 API MCP 服务器 MCPサーバーは何に使いますか?

通用 API MCP 服务器は、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindで通用 API MCP 服务器 MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルで通用 API MCP 服务器を利用できます。

TypingMindで通用 API MCP 服务器 MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。通用 API MCP 服务器を接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

通用 API MCP 服务器 MCPをTypingMindに接続するにはどうすればよいですか?

通用 API MCP 服务器はTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindで通用 API MCP 服务器 MCPのどのようなツールを利用できますか?

通用 API MCP 服务器はMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

通用 API MCP 服务器 MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。通用 API MCP 服务器で認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇