For the complete documentation index, see llms.txt. This page is also available as Markdown.

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, acme is 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/sse

Example:

If your tenant subdomain is acme, your endpoint will be:

https://acme.drivetrain.ai/drive/api/v1/public/atlas/sse

Connecting to ChatGPT

Installation by an Admin

  1. Go to the ChatGPT web interface: https://chatgpt.com

  2. Open the menu in the bottom-left corner and navigate to Settings → Apps → Advanced Settings.

  3. Enable Developer Mode.

  4. Select Create app.

  5. Enter a name and description for the connector (for example, Drivetrain).

  6. In the MCP Server URL field, paste your Drivetrain MCP endpoint.

Example:

Example with tenant:

  1. Keep OAuth selected as the authentication method.

  2. Check the box confirming “I understand and want to continue.”

  3. Click Create.

  4. Complete the authentication workflow using your Drivetrain credentials.

Enable the Connector for the Organization

After creating the connector, publish it for your ChatGPT workspace.

  1. Go to Settings → Apps.

  2. Select the Drivetrain app.

  3. Click the three-dot menu.

  4. Select Publish.

  5. Review the warning message and check I understand.

  6. 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.

  1. Ensure you are added as a user in Drivetrain: https://[InsertTenantSubdomain].drivetrain.ai

  2. In ChatGPT, open the Apps section in the left sidebar.

  3. Locate the Drivetrain app published by your administrator.

  4. Click Connect.

  5. Authenticate using your Drivetrain credentials.

To use the connector:

  1. Start a new chat.

  2. Click the + icon in the prompt bar.

  3. Select the Drivetrain connector.

  4. 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.

  1. Go to the Claude web interface: https://claude.ai

  2. Click the profile icon in the bottom-left corner.

  3. Open Admin settings.

  4. Select the Connectors tab.

  5. Click Add custom connector.

  6. Enter a name for the connector.

  7. In the Remote MCP server URL field, paste your Drivetrain MCP endpoint.

Example:

  1. Leave OAuth Client ID and OAuth Client Secret empty.

  2. Click Add.

  3. 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.

  1. In Drivetrain, go to Settings → API Key.

  2. Copy the API key shown.

Edit the client configuration

Next, update your MCP client to include Drivetrain.

  1. In Claude Desktop, go to Settings → Developer → Edit Config.

  2. Right-click and open the config file in any text editor (for example, Sublime Text or Notepad).

  3. 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:

  1. [InsertTenantSubdomain] → replace this with your company’s Drivetrain tenant subdomain (e.g., acme, microsoft, etc.).

  2. <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

  1. Save the config file and restart Claude Desktop.

  2. 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?