Aras Innovator Claude Agent
Enables Claude Desktop to interact with Aras Innovator PLM systems via OAuth 2.0, allowing users to query PLM data, create items, and call server methods through natural language.
README
🚀 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 pythonorsudo 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
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:
# 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.txtand 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
{
"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:
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
| Tool | Description | What You Can Ask | Example Endpoint |
|---|---|---|---|
test_api_connection |
Test OAuth 2.0 authentication | "Test my API connection" | N/A |
api_get_items |
Query Aras OData | "Get all Parts" | Part, Document |
api_create_item |
Create new Aras items | "Create a new Part" | Part, Document |
api_call_method |
Call Aras server methods | "Call method GetItemsInBOM" | Method names |
api_get_list |
Get 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:
- Token Request:
https://your-server/oauthserver/connect/token - Scope:
openid Innovator offline_access - Client ID:
IOMApp(default Aras client) - Grant Type:
password - 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=YourDatabaseNameto your.envfile
🤖 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。