> For the complete documentation index, see [llms.txt](https://integrations.drivetrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/troubleshooting.md).

# Troubleshooting MCP

Fix common errors when connecting to or using the Drivetrain MCP server.

Find the message you see, then follow the fix. Your AI client may quote a message exactly or paraphrase it.

## Connecting and signing in

| Message or symptom                                                                                                                | Cause                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Fix                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Authorization required`, or the client keeps sending you back to sign in                                                         | Drivetrain refused the connection without saying why. Common causes: your sign-in expired (with SSO, after 60 days) or you signed out of Drivetrain; the endpoint isn't your Drivetrain address; the API key is wrong or was reset; your account accepts only OAuth sign-in for MCP and you used an API key; your Drivetrain user (or the API key's owner) was deactivated. If your account has plan limits switched on, it can also mean MCP isn't in your plan, your subscription ended, or this month's Drive AI allowance is used up. | Reconnect and sign in again. Check the [endpoint](https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/connect-common-mcp-clients.md#your-mcp-endpoint) matches the address you sign in to Drivetrain with. For an API key, copy the current key from **Settings → API Key** and restart the client, or switch to [OAuth sign-in](https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/connect-common-mcp-clients.md#connecting-to-claude-oauth). If it still fails, contact your Drivetrain admin or account team. |
| `MCP is not enabled for your role`                                                                                                | Your role's **MCP** setting is **No access**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Ask an admin to change it in **Settings → Roles** ([Set up MCP access](https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/set-up-mcp-access.md)).                                                                                                                                                                                                                                                                                                                                                                                                    |
| `No Drivetrain account is configured for this email address. Please contact your administrator.` (on the Drivetrain sign-in page) | The email you signed in with has no Drivetrain user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Sign in with your Drivetrain email, or ask an admin to add you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Invalid client name: <name>` or `Unknown redirect_uri`                                                                           | Your client isn't registered with Drivetrain for OAuth sign-in.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Send your Drivetrain account team the client's name and redirect URI so they can register it ([Connecting other MCP clients](https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/connect-common-mcp-clients.md#connecting-other-mcp-clients)), or use the API key method.                                                                                                                                                                                                                                                                             |
| **ENOENT** error in Claude Desktop                                                                                                | Node.js, which runs `mcp-remote`, isn't installed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Install [Node.js](https://nodejs.org/en/download) and restart Claude Desktop.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| The client connects but shows no Drivetrain tools                                                                                 | Your role allows MCP but no tools, Drivetrain couldn't check your permissions in time (it then lists none), or the wrong endpoint is configured.                                                                                                                                                                                                                                                                                                                                                                                          | Reconnect. If it persists, ask an admin to check your role's **MCP** tools, and check the endpoint ends in `/drive/api/v1/public/atlas/sse`.                                                                                                                                                                                                                                                                                                                                                                                                                                              |

## Using tools

| Message                                                                                                                                                    | Cause                                                                                           | Fix                                                                                                            |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `Tool '<name>' is not enabled for your role`                                                                                                               | The tool isn't selected for your role.                                                          | Ask an admin to add it under **Custom**, or set **MCP** to **All tools** (or **Read tools**, for a read tool). |
| `could not verify user permissions`                                                                                                                        | Drivetrain couldn't check your role in time, so the call was refused rather than run unchecked. | Retry. If it keeps happening, contact Drivetrain Support.                                                      |
| `Error fetching metrics, please check your permissions or try again later`                                                                                 | You have no metric access, or Drivetrain couldn't load your metrics.                            | Ask an admin to check your role's **Metrics** access, then retry.                                              |
| `Error: metric is either not found or not allowed`                                                                                                         | The metric's system name is wrong, or you can't access it.                                      | Ask the client to search for the metric first, or check your metric access.                                    |
| `Error: you do not have access to scenario(s): …`                                                                                                          | You asked for a scenario your role can't see.                                                   | Leave that scenario out, or ask an admin for access.                                                           |
| `Error fetching metric values — check the metric, version and scenario names, the date range, and that you asked for at most 50 metrics and 5 dimensions.` | The request was too big or named something that doesn't exist, or a version you can't access.   | Ask for fewer metrics or dimensions, or check names and dates.                                                 |
| `Error: you do not have permission to view dimension '<name>'.`                                                                                            | You have no read access to that dimension.                                                      | Ask an admin for access to the dimension.                                                                      |
| `Error: you do not have access to dataset '<name>'.`                                                                                                       | Your access to that dataset is **No access**.                                                   | Ask an admin for access to the dataset.                                                                        |
| `Error: you do not have permission to view board <id>.`                                                                                                    | Your access to that board is **No access**.                                                     | Ask the board owner or an admin for access.                                                                    |
| `Error: you do not have permission to edit board <id>.`                                                                                                    | Updating a board needs **Full access** to it.                                                   | Ask for **Full access**, or create a new board instead.                                                        |
| `Error: you do not have permission to create boards.`                                                                                                      | Your role's **Create board** toggle is off.                                                     | Ask an admin to turn it on.                                                                                    |
| `Error: you do not have permission to read list data. Reading list rows is admin-only.`                                                                    | `get_list_data` is admin-only.                                                                  | Ask an admin, or open the List in Drivetrain.                                                                  |
| `Error: this tool is not accessible.`                                                                                                                      | Only admins can read model sections other than `meta`.                                          | Ask an admin.                                                                                                  |
| `Error: you do not have permission to view transformations for dataset '<name>'.`                                                                          | Reading transformation steps needs admin and **Full access** to the dataset.                    | Ask an admin.                                                                                                  |
| `Error: board with ID <id> not found.`                                                                                                                     | The board doesn't exist, or the ID is wrong.                                                    | Ask the client to find the board again.                                                                        |
| `Error: you do not have permission to modify dataset '<name>'.`                                                                                            | Transformation tools need admin and **Full access** to the dataset.                             | Ask an admin to make the change.                                                                               |
| `Error: transformations are not supported on list datasets (…)`                                                                                            | List datasets have no transformations.                                                          | Change the List itself in Drivetrain.                                                                          |
| `Cannot perform this operation on a source column. Use Manage Schema instead.`                                                                             | Source columns can't be renamed or retyped with a transformation.                               | Change the column in **Manage Schema**.                                                                        |
| `Cannot add column '<name>': a column with this name already exists in the dataset.`                                                                       | The new column name is taken.                                                                   | Ask for a different column name.                                                                               |
| `Cannot update column '<name>': …` or `Cannot apply lookup: column(s) … already exist in the dataset.`                                                     | A replacement step or a lookup would create a column name that's taken.                         | Ask for different column names, or rename the columns in the source table.                                     |

Still stuck? Contact Drivetrain Support with the time of the call and the tool name: every tool call that reaches the MCP server is logged.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://integrations.drivetrain.ai/extending-drivetrain/using-the-drivetrain-mcp-server/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
