Connect Common MCP Clients
Connect ChatGPT and Claude to retrieve Drivetrain metrics using MCP.
The Drivetrain MCP server can be connected to MCP-compatible AI clients such as ChatGPT and Claude. Once connected, these clients can retrieve Drivetrain metrics using natural-language prompts.
This guide explains how to connect commonly used MCP clients to your Drivetrain workspace.
Requirements
Before connecting an MCP client to Drivetrain, ensure the following:
You have access to your Drivetrain tenant
You know your tenant subdomain (for example, in
acme.drivetrain.ai,acmeis the subdomain)You are added as an admin in Drivetrain
Your AI platform supports MCP connectors (for example, ChatGPT or Claude)
Example MCP endpoint format:
https://[InsertTenantSubdomain].drivetrain.ai/drive/api/v1/public/atlas/sseExample:
If your tenant subdomain is acme, your endpoint will be:
https://acme.drivetrain.ai/drive/api/v1/public/atlas/sseConnecting to ChatGPT
Installation by an Admin
The ChatGPT administrator must be added as a user on your Drivetrain tenant. This user can be added without a specific role.
Go to the ChatGPT web interface: https://chatgpt.com
Open the menu in the bottom-left corner and navigate to Settings → Apps → Advanced Settings.
Enable Developer Mode.
Select Create app.
Enter a name and description for the connector (for example, Drivetrain).
In the MCP Server URL field, paste your Drivetrain MCP endpoint.
Example:
Example with tenant:
Keep OAuth selected as the authentication method.
Check the box confirming “I understand and want to continue.”
Click Create.
Complete the authentication workflow using your Drivetrain credentials.
Enable the Connector for the Organization
After creating the connector, publish it for your ChatGPT workspace.
Go to Settings → Apps.
Select the Drivetrain app.
Click the three-dot menu.
Select Publish.
Review the warning message and check I understand.
Confirm to publish the app for internal ChatGPT workspace members.
Installation by a User
Once the connector is published, users in the workspace can connect to it.
Ensure you are added as a user in Drivetrain:
https://[InsertTenantSubdomain].drivetrain.aiIn ChatGPT, open the Apps section in the left sidebar.
Locate the Drivetrain app published by your administrator.
Click Connect.
Authenticate using your Drivetrain credentials.
To use the connector:
Start a new chat.
Click the + icon in the prompt bar.
Select the Drivetrain connector.
Enter your query.
The client can now retrieve Drivetrain metrics through MCP tools.
Connecting to Claude (OAuth)
Installation
The user installing the connector must have Owner privileges in the Claude workspace.
Go to the Claude web interface: https://claude.ai
Click the profile icon in the bottom-left corner.
Open Admin settings.
Select the Connectors tab.
Click Add custom connector.
Enter a name for the connector.
In the Remote MCP server URL field, paste your Drivetrain MCP endpoint.
Example:
Leave OAuth Client ID and OAuth Client Secret empty.
Click Add.
Click Connect and complete authentication using your Drivetrain credentials.
The connection is successful once the connector status shows Configure.
Note: Claude may move connectors to the Customize section in future updates. If this occurs, navigate to:
Then follow the same configuration steps.
Connecting to Claude (API Key)
You must be an admin in Drivetrain to complete this connection.
To connect the Claude Desktop App with Drivetrain, follow these steps:
Obtain your credentials
You will need your API key from Drivetrain.
In Drivetrain, go to Settings → API Key.
Copy the API key shown.
Edit the client configuration
Next, update your MCP client to include Drivetrain.
In Claude Desktop, go to Settings → Developer → Edit Config.
Right-click and open the config file in any text editor (for example, Sublime Text or Notepad).
Copy and paste the Drivetrain MCP server snippet below into the config file based on your machine (Windows or Mac).
Replace the placeholders
Before saving the file, make the following substitutions:
[InsertTenantSubdomain] → replace this with your company’s Drivetrain tenant subdomain (e.g., acme, microsoft, etc.).
<YOUR_API_KEY> → replace this with the API key you copied in step 1.
Example
If your Drivetrain tenant subdomain is "acme" and your API key is "abcd1234", the config would look like this:
Restart the client
Save the config file and restart Claude Desktop.
Once restarted, Drivetrain will appear as a connected MCP server.
Troubleshooting
ENOENT error during setup: This error may appear if a required dependency is missing. Install the provided package and restart the client to resolve the issue. (https://nodejs.org/en/download)
Invalid credentials: Verify that your API key is copied correctly from Drivetrain.
Testing the connection
After connecting the MCP client, open a new chat and try a simple query.
Example prompts:
If the connection is successful:
The AI client will detect Drivetrain MCP tools
The client will retrieve metric values from your Drivetrain workspace
Results will appear directly in the chat response
If the client cannot access Drivetrain, verify that:
The MCP endpoint URL is correct
You are authenticated with Drivetrain
The connector is enabled in your AI client workspace
Last updated
Was this helpful?