Use cases
Prerequisites
Before setting up the Matillion MCP server, ensure you meet the following prerequisites:- Node.js is installed on your system. We recommend at least v24.
- npm is installed on your system. Version 11 (minimum recommended) should come with Node.js v24 and above.
doesn’t use Node.js as part of its core SaaS platform, so there’s no Node.js version associated with the service. Node.js is only relevant for the Matillion MCP server. Matillion doesn’t manage the Node.js version; you define it based on your deployment environment.
- The npx command must be available in your system’s global PATH.
- You have your Matillion region, client ID, and client secret.
- At least one installed AI client, such as Claude Desktop or the Gemini CLI.
Obtaining Matillion credentials
To find your Matillion region, and to create your Matillion API credentials (client ID and client secret):- Log in to .
-
In the left navigation, click your Profile & Account icon.
Your Matillion region is shown below your account name. The value of the
MATILLION_REGIONenvironment variable will beeuif your Matillion region starts with EU,usif it starts with US, orauif it starts with AU. - Then, select API credentials from the menu.
- If you don’t have credentials, click Set an API Credential to create a Client ID and Client Secret. Read Authenticate to the Maia API to learn how to create API credentials.
- Give your credential set a descriptive Name. We recommend that you use a name that suits the application or purpose the credentials will be used for.
- Click Save to create the Client ID and Secret.
- Copy the secret immediately. You are not able to view the secret again after this point. If you do not copy it, or otherwise lose it, you will need to delete these credentials and generate a new set. The Secret window will close automatically after this point.
Environment variables
Claude Desktop
Claude Desktop uses a global configuration file to launch MCP servers. Find your Claude Desktop configuration file. If it doesn’t exist, create it at the following location:- For macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - For Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Choose which authentication method to use, then replace the placeholders in the corresponding JSON configuration below with your credentials.
- Copy your chosen JSON configuration, including the opening and closing , into the Claude Desktop configuration file. If the file already has content, merge the
mcpServersobject into the existing content. - Quit the Claude Desktop app by right-clicking the Claude icon and then clicking Quit. Closing the window will not quit the app completely.
- Restart Claude Desktop. The Matillion MCP server will now be available.
JSON configurations
To authenticate using OAuth credentials:Claude Code
There are two ways to configure the MCP server for use with Claude Code. Choose one of the following methods:-
Replace the placeholders in one of the JSON configurations in the Claude Desktop section with your credentials, then copy the
mcpServersblock into the~/.claude.jsonfile. -
Replace the placeholders in the following command with your credentials, then run the command.
Claude Code with Visual Studio Code
To use the MCP server with Claude Code and Visual Studio Code:- Open your project workspace in Visual Studio Code.
- Create or open the
.vscode/mcp.jsonfile. - Replace the placeholders in the JSON configuration below with your credentials.
- Copy the JSON configuration, including the opening and closing , into the
.vscode/mcp.jsonfile. If the file already has content, merge theserversobject into the existing content. - Restart Visual Studio Code. The Matillion MCP server will now be available.
Gemini CLI
The Gemini CLI uses a globalsettings.json file in your user profile. Find your Gemini CLI configuration file. If it doesn’t exist, create it at the following location:
- For macOS or Linux:
~/.gemini/settings.json - For Windows:
$HOME/.gemini/settings.json(where$HOMEis your user profile directory, e.g.C:\Users\YourName)
- Replace the placeholders in the JSON configuration below with your credentials.
- Copy the JSON configuration, including the opening and closing , into the Gemini CLI configuration file. If the file already has content, merge the
mcpServersobject into the existing content. - If the Gemini CLI is currently running in your terminal, use the
/quitcommand to quit the CLI. - Restart the Gemini CLI. The Matillion MCP server will now be available.
JSON configuration
Other MCP-compatible clients
For any other MCP-compatible client, use:- Command:
npx - Args:
["@matillion/mcp-server"] - Environment: Set the required authentication variables
Unsupported clients
The Matillion MCP server cannot currently be configured for the following clients:- ChatGPT (Desktop and Web)
- Claude.ai (Web)
- Browser-based AI clients
Available tools
The server provides access to the following Matillion API tools. Read tools are always available, while Write tools requireREAD_ONLY_TOOLS to be set to false.
Debug logging
Debug logging is enabled by default with the patternmatillion:*. This provides detailed logs for:
- OAuth token acquisition and refresh
- HTTP requests and responses
- API call details
- Configuration loading
- Tool invocations
DEBUG="" or remove the environment variable.