Set up ENLYZE MCP
Connect your AI assistant to ENLYZE MCP and start querying production data.
In this guide, you'll connect your AI assistant to ENLYZE MCP. Select your assistant from the tabs below.
Prerequisites
ENLYZE account with active access to the ENLYZE Manufacturing Data Platform
One of the supported AI assistants: Claude Desktop, Claude Code, Cursor, VS Code, OpenAI Codex, or another MCP-compatible client
Setup
Select your AI assistant from the tabs below and follow the instructions to connect it to ENLYZE MCP.
Step 1: Open connector settings
In Claude Desktop, open Customize → Connectors, click the + button, and then select Add custom connector.
Step 2: Add ENLYZE MCP
Enter a name (for example ENLYZE) and the server URL, then click Add:
URL:
https://app.enlyze.com/api/mcp
You don't need to fill in an OAuth Client ID or Secret under Advanced settings. Claude runs the OAuth flow for you.
Custom connectors reach your MCP server from Anthropic's cloud, not from your computer, so the server must be reachable over the public internet. app.enlyze.com is, so this works out of the box.
Step 3: Authenticate
The first time your AI assistant uses ENLYZE MCP, you'll be automatically redirected to a login screen. Follow these steps:
Sign in: Log in with your ENLYZE account
Grant permission: The consent screen asks you to allow your AI assistant to access your ENLYZE account and its production data
Confirm: Click Approve or Accept to allow access
Your client saves the OAuth2 token after granting permission. You won't need to log in again until the token expires. When it does, you'll be prompted to sign in again on your next request.
Claude Desktop is now connected and will load available tools on your next chat.
Alternative: local bridge via claude_desktop_config.json
claude_desktop_config.jsonclaude_desktop_config.json only supports local (stdio) servers, so a { "type": "http", "url": … } entry won't work there. If you prefer a config-file setup, bridge the remote server with mcp-remote (requires Node.js):
Step 1: Add ENLYZE MCP
Run the following command in your terminal:
Step 2: Start Claude Code and authenticate
Enter Claude Code:
Once inside Claude Code, type the /mcp command to view available MCP servers. Claude Code will automatically redirect you to the OAuth2 consent screen:
Sign in: Log in with your ENLYZE account
Grant permission: Review the access request and allow your AI assistant to access your ENLYZE account and its production data
Confirm: Click Approve to complete authentication
Your token is stored locally. When it expires, you'll be prompted to sign in again on your next request.
Claude Code is now connected. Use /mcp to see ENLYZE tools in your next session.
Step 1: Add ENLYZE MCP
Based on your preference, choose one of the following options to add ENLYZE MCP to your Cursor setup:
Option A: Workspace MCP server
A workspace MCP server is only available for the project it is configured in. If it does not already exist, create a file under .cursor/mcp.json in your project directory. Cursor auto-detects a remote server from the url, so no type field is needed:
Option B: Global MCP server
To make ENLYZE MCP available across all projects, open Cursor settings with Cmd+Shift+J / Ctrl+Shift+J and select Tools & MCP → Home. Add the same configuration as in Option A (Cursor stores it in ~/.cursor/mcp.json).
Step 2: Restart Cursor
Close Cursor and open it again to load the MCP connection.
Step 3: Authenticate
The first time your AI assistant uses ENLYZE MCP, you'll be automatically redirected to a login screen. Follow these steps:
Sign in: Log in with your ENLYZE account
Grant permission: The consent screen asks you to allow your AI assistant to access your ENLYZE account and its production data
Confirm: Click Approve or Accept to allow access
Your client saves the OAuth2 token after granting permission. You won't need to log in again until the token expires. When it does, you'll be prompted to sign in again on your next request.
Cursor is now connected. Available tools should appear in your next chat.
Step 1: Enable GitHub Copilot in VS Code
Make sure you have the GitHub Copilot extension installed and logged in with your GitHub account.
Step 2: Add ENLYZE MCP
Depending on your VS Code version and Copilot Agent support:
Option A: Workspace-scoped configuration (.vscode/mcp.json)
.vscode/mcp.json)Create a file .vscode/mcp.json in your project directory:
Option B: User configuration (mcp.json)
mcp.json)Run the MCP: Open User Configuration command (Cmd+Shift+P / Ctrl+Shift+P) to open your user mcp.json, then add the server using the same shape as Option A:
Step 3: Restart VS Code
Close VS Code and open it again. Open the Copilot Chat view (Ctrl+Cmd+I on macOS, Ctrl+Alt+I on Windows/Linux). MCP tools should now be available.
Step 4: Authenticate
The first time your AI assistant uses ENLYZE MCP, you'll be automatically redirected to a login screen. Follow these steps:
Sign in: Log in with your ENLYZE account
Grant permission: The consent screen asks you to allow your AI assistant to access your ENLYZE account and its production data
Confirm: Click Approve or Accept to allow access
Your client saves the OAuth2 token after granting permission. You won't need to log in again until the token expires. When it does, you'll be prompted to sign in again on your next request.
VS Code Copilot is now connected to ENLYZE.
Step 1: Install Codex CLI
Make sure you have the Codex CLI installed. See the Codex documentation for installation instructions.
Step 2: Add ENLYZE MCP
Run the following command to register ENLYZE MCP:
Alternatively, add it directly to ~/.codex/config.toml:
Step 3: Authenticate
Run the login command to complete the OAuth2 flow:
This opens a browser window where you sign in with your ENLYZE account and grant access. Your token is stored locally. When it expires, you'll be prompted to sign in again on your next request.
Codex is now connected. The ENLYZE tools are available in your next Codex session.
Any MCP-compatible client (e.g., custom applications, agent frameworks) can connect to ENLYZE MCP through the same HTTP interface.
Configuration
Ensure your client framework supports these parameters:
MCP Server URL:
https://app.enlyze.com/api/mcpTransport:
httpAuthentication: OAuth2 (automatically on first connection)
Authentication
When your client first connects to ENLYZE MCP, you'll be automatically redirected to a login screen. Follow these steps:
Sign in: Log in with your ENLYZE account
Grant permission: The consent screen asks you to allow your AI assistant to access your ENLYZE account and its production data
Confirm: Click Approve or Accept to allow access
Your client saves the OAuth2 token after granting permission. You won't need to log in again until the token expires. When it does, you'll be prompted to sign in again on your next request.
For more information on the MCP specification, visit Model Context Protocol.
Your MCP client is now connected to ENLYZE.
Verify it worked
Ask your AI assistant a simple question to confirm ENLYZE MCP is connected, for example "Show me all sites". In Claude Code, you can also type /mcp and confirm that the enlyze server and its tools appear. In Claude Desktop, you'll find connected connectors under Customize → Connectors.
Available tools
ENLYZE MCP gives your AI assistant access to everything available in the ENLYZE platform: machines, sites, variables, time series, OEE, downtimes, production runs, products, data sources, and more. For the full list of available operations and parameters, see the ENLYZE API reference.
Troubleshooting
401 Unauthorized: OAuth2 authentication failed
Symptom: Client shows errors like "Unauthorized" or "Authentication failed"
Causes:
OAuth2 token has expired
Permission was not granted or has been revoked
You are not logged in
Solution:
Try using ENLYZE MCP again. You should be redirected to the login screen
Make sure you're logging in with the correct ENLYZE account
Grant access on the permission screen
If the error persists, restart your AI assistant and try again
Connection refused: Server unreachable
Symptom: Client shows "Connection refused" or "Network error"
Causes:
No internet connection
The URL
https://app.enlyze.com/api/mcpis mistypedENLYZE server is temporarily unavailable
Solution:
Check your internet connection
Verify the URL is exactly
https://app.enlyze.com/api/mcp(withhttps://and no trailing slash)Try opening the URL in your browser. You should get an HTTP 401 or 405 response (that's normal and indicates the server is reachable)
If the server is down, contact https://github.com/enlyze/enlyze-docs/blob/main/en/help/README.md
Tools not visible: MCP server not loading
Symptom: Client shows no available tools or ENLYZE tools don't appear
Causes:
Client wasn't restarted after configuration
Configuration file has JSON syntax errors
Client doesn't support MCP (older version)
Solution:
Close your AI assistant completely (not just minimize) and open it again
Check your configuration file for JSON errors. Use an online JSON validator
Verify the server entry matches the instructions in your client's tab above
If the client doesn't support MCP, upgrade to the latest version or use a different client
Timeout: Query takes too long
Symptom: Chat freezes or shows "Request timeout"
Causes:
Query is too complex or covers too much data
Network is slow
Server is overloaded
Solution:
Try a simpler query first, e.g., "Show me all sites"
Limit data ranges with dates, e.g., "Show me data from today"
Check your network connection
If timeouts occur regularly, contact https://github.com/enlyze/enlyze-docs/blob/main/en/help/README.md
Last updated