Skip to main content
Glama
Tulip MCP Server

Tulip MCP Server

Official
by tulip

Tulip MCP Server

A Model Context Protocol (MCP) server that provides comprehensive access to the Tulip API, enabling LLMs to interact with the Tulip manufacturing platform functionality including tables, records, machines, stations, interfaces, users, and more.

✨ Prerequisites

Before you begin, ensure you have Node.js installed on your system. This is required to run the server.

Related MCP server: jenkins-mcp-server

🚀 Getting Started

This guide will walk you through running the server and connecting it to an MCP client like Cursor or Claude Desktop.

1. Configure Your Credentials

Create a file named .env in a folder of your choice. Copy and paste the following, replacing the placeholders with your actual Tulip credentials.

  • Your TULIP_BASE_URL is the URL you use to access Tulip (e.g., https://my-company.tulip.co).

  • Your TULIP_WORKSPACE_ID is in your Tulip URL after /w/ (for most users, this is DEFAULT).

TULIP_API_KEY=your_api_key_here
TULIP_API_SECRET=your_api_secret_here
TULIP_BASE_URL=https://your-instance.tulip.co
TULIP_WORKSPACE_ID=DEFAULT

⚠️ Important: The TULIP_WORKSPACE_ID is required if you are using an Account API key (obtained from Account Settings). With a Workspace API key (obtained from Workspace Settings) you can leave it unset; station and interface tools then use the DEFAULT workspace, so set it if your key belongs to a different workspace.

2. Run the Server

Open your terminal or command prompt, navigate to the folder containing your .env file, and run:

npx @tulip/mcp-server

The server will start and is now ready to be connected to an MCP client.


🔌 Connecting to an MCP Client

When using a client, the server is run in a different environment where it may not find your .env file automatically. To solve this, you must provide the full path to your .env file using the --env flag.

  1. Navigate to the folder where you created your .env file.

  2. On Windows: Right-click the .env file while holding down the Shift key, then select "Copy as path".

  3. On macOS: Right-click the .env file, hold down the Option key, then select "Copy .env as Pathname".

  4. You will use this copied path in the client configuration below.

  1. From the Claude Desktop menu bar, select Settings... > Developer > Edit Config.

  2. This will open the claude_desktop_config.json file.

  3. Add the server configuration inside the mcpServers object. You must replace "C:\\path\\to\\your\\.env" with the actual path you copied.

    {
      "mcpServers": {
        "tulip-mcp": {
          "command": "npx",
          "args": [
            "@tulip/mcp-server",
            "--env",
            "C:\\path\\to\\your\\.env"
          ]
        }
      }
    }
  4. Save the file and restart Claude Desktop.

For more details, see the official Claude Desktop MCP Quickstart.

For the easiest setup, click the button below. This will pre-fill the command.

Install MCP Server

After clicking the button, you must replace the placeholder text (REPLACE_WITH_YOUR_ENV_FILE_PATH_HERE) with the full path to your .env file that you copied earlier.


Claude Code plugin

If you use Claude Code, you can install the server as a plugin. This adds the MCP tools and a set of guided skills for common workflows.

claude plugin marketplace add tulip/tulip-mcp
claude plugin install tulip@tulip-marketplace

After installing, run the setup-credentials skill to place your .env file in the plugin's persistent data directory. The plugin handles the rest.

By default the server exposes only the read-only tools (30 of the 71). To use the write and admin tools, set ENABLED_TOOLS in that same .env file — for example ENABLED_TOOLS=read-only,write — and reload the plugin. See Tool Selection Configuration for all options.

The plugin launches the server via npx @tulip/mcp-server, so there is nothing extra to install. Credentials are stored outside the plugin directory and survive updates.


Developer guide

This section contains more advanced configuration features.

Tool Selection Configuration

By default, the server enables only the read-only tools for safety. You can customize which tools are available using the ENABLED_TOOLS environment variable in your .env file.

The ENABLED_TOOLS variable accepts a comma-separated list that can include:

  • Individual tool names: Specific tools like listStations

  • Categories: Security-based groupings (read-only, write, admin)

  • Types: Resource-based groupings (table, machine, user, app, interface, station, station-group, utility). A type enables that resource's read and write tools but never its admin tools (deletes, archives, user creation); enable those with the admin category or by tool name.

Examples

# Enable specific tools only
ENABLED_TOOLS=listTables,getTable,listStations,listInterfaces

# Enable by security category
ENABLED_TOOLS=read-only,write

# Enable by resource type
ENABLED_TOOLS=table,station,interface

# Mixed approach (recommended)
ENABLED_TOOLS=read-only,interface,station,user

# Enable everything (use with caution)
ENABLED_TOOLS=read-only,write,admin

Multiple Workspace Configuration (Enterprise)

If your organization uses multiple Tulip workspaces or instances, you can set up multiple MCP servers to access all of them simultaneously. This lets you work with data from all your workspaces in a single conversation.

Understanding Your API Credentials

Before you begin, check what type of API credentials you have:

  • Workspace API Credentials: Created in Workspace Settings → API Tokens

    • ✅ Already know which workspace they belong to

    • ✅ Do NOT include TULIP_WORKSPACE_ID in your .env file

    • ✅ Most common type for individual workspaces

  • Account API Credentials: Created in Account Settings → API Tokens

    • ⚠️ Can access multiple workspaces

    • ⚠️ Must include TULIP_WORKSPACE_ID in your .env file

Not sure which type you have? Check where you created your API token. If you created it in Workspace Settings, you have Workspace API credentials.

Step-by-Step Setup

Step 1: Create separate .env files for each workspace

Follow the same process from Section 1: Configure Your Credentials, but create separate files:

production-workspace.env
development-workspace.env

Step 2: Configure each .env file

For each workspace, create a .env file with the appropriate credentials:

If using Workspace API Credentials:

# production-workspace.env
TULIP_API_KEY=your_production_workspace_api_key
TULIP_API_SECRET=your_production_workspace_secret
TULIP_BASE_URL=https://your-instance.tulip.co
ENABLED_TOOLS=read-only,table,station

If using Account API Credentials:

# production-workspace.env
TULIP_API_KEY=your_account_api_key
TULIP_API_SECRET=your_account_secret
TULIP_BASE_URL=https://your-instance.tulip.co
TULIP_WORKSPACE_ID=PRODUCTION_WORKSPACE_ID
ENABLED_TOOLS=read-only,table,station

Step 3: Connect multiple servers to your MCP client

Add each workspace as a separate server with a unique name using the guides from Section: Connecting to an MCP Client:

For Claude Desktop:

{
  "mcpServers": {
    "tulip-production": {
      "command": "npx",
      "args": ["@tulip/mcp-server", "--env", "/full/path/to/production-workspace.env"]
    },
    "tulip-qa": {
      "command": "npx", 
      "args": ["@tulip/mcp-server", "--env", "/full/path/to/qa-workspace.env"]
    }
  }
}

For Cursor: Use the install button multiple times, once for each .env file.

Tips for Success

  • Use clear server names like tulip-production, tulip-qa, tulip-development

  • Test each workspace separately first to ensure credentials work

  • Only enable the tools you need. Enabling too many tools (40+) can confuse the AI.

API Documentation

For detailed tool documentation including complete parameter lists, examples, and required permissions, generate the TOOLS.md file by running npm run docs.

How to Get Tulip API Credentials

  1. Log in to your Tulip instance.

  2. Navigate to Settings > API Tokens.

  3. Create a new API token. Give it a name (e.g., "MCP Server").

  4. Make sure to grant it the necessary permissions (scopes). A good starting set for read-only access is: stations:read,users:read,tables:read,table-queries:read,machines:read,apps:read,urls:sign

  5. Copy the API Key and Secret and paste them into your .env file.

⚠️ Important: The TULIP_WORKSPACE_ID is required if you are using an Account API key (obtained from Account Settings). With a Workspace API key (obtained from Workspace Settings) you can leave it unset; station and interface tools then use the DEFAULT workspace, so set it if your key belongs to a different workspace.

Available Tools

30 tools
countTableRecordsA

Counts records in a Tulip Table. Corresponds to GET /tables/{tableId}/count. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required).

getInterfaceA

Gets details about a specific interface. Corresponds to GET /api/stations/v1/interfaces/{interfaceId}. Requires stations:read scope. [READ-ONLY]

Inputs: interfaceId (required).

getStationA

Gets details about a specific station. Corresponds to GET /api/stations/v1/stations/{stationId}. Requires stations:read scope. [READ-ONLY]

Inputs: stationId (required).

getStationGroupA

Gets details about a specific station group. Corresponds to GET /api/stations/v1/station-groups/{stationGroupId}. Requires stations:read scope. [READ-ONLY]

Inputs: stationGroupId (required).

getTableA

Gets details about a Tulip Table. Corresponds to GET /tables/{tableId}. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required).

getTableAggregationA

Looks up a table aggregation for a Tulip Table by id. Corresponds to GET /tables/{tableId}/aggregation/{aggregationId}. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required), aggregationId (required).

getTableQueryA

Looks up a table query for a Tulip Table by id. Corresponds to GET /tables/{tableId}/query/{queryId}. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required), queryId (required).

getTableRecordA

Gets a specific record from a Tulip Table. Corresponds to GET /tables/{tableId}/records/{recordId}. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required), recordId (required).

getUserA

Gets details about a specific user. Corresponds to GET /api/users/v1/users/{userId}. Requires users:read scope. [READ-ONLY]

Inputs: userId (required).

getUserGroupA

Gets details about a specific user group. Corresponds to GET /api/users/v1/user-groups/{userGroupId}. Requires users:read scope. [READ-ONLY]

Inputs: userGroupId (required).

getUserGroupUsersA

Gets users in a specific user group. Corresponds to GET /api/users/v1/user-groups/{userGroupId}/users. Requires users:read scope. [READ-ONLY]

Inputs: userGroupId (required).

getUserRoleA

Gets details about a specific user role. Corresponds to GET /api/users/v1/roles/{userRoleId}. Requires users:read scope. [READ-ONLY]

Inputs: userRoleId (required).

listAppGroupsA

Retrieves a list of all Tulip App Groups and their containing apps. Corresponds to GET /appGroups. Requires the apps:read API key scope. [READ-ONLY]

Inputs: no named parameters.

listInterfacesA

Gets a paginated, filtered, and sorted list of interfaces. Corresponds to GET /api/stations/v1/interfaces. Requires stations:read scope. [READ-ONLY]

Inputs: limit, offset, sort.

listMachineTypesA

Retrieves a list of all Tulip machine types and their corresponding machines. Corresponds to GET /machines. Requires the machines:read API key scope. [READ-ONLY]

Inputs: no named parameters.

listStationAppAssignmentsA

Gets app assignments for a station. Corresponds to GET /api/stations/v1/stations/{stationId}/app-assignments. Requires stations:read scope. [READ-ONLY]

Inputs: stationId (required).

listStationGroupAppAssignmentsB

Gets app assignments for a station group. Corresponds to GET /api/stations/v1/station-groups/{stationGroupId}/app-assignments. Requires stations:read scope. [READ-ONLY]

Inputs: stationGroupId (required).

listStationGroupsA

Gets a paginated, filtered, and sorted list of station groups. Corresponds to GET /api/stations/v1/station-groups. Requires stations:read scope. [READ-ONLY]

Inputs: limit, offset, sort.

listStationsA

Gets a paginated, filtered, and sorted list of stations. Corresponds to GET /api/stations/v1/stations. Requires stations:read scope. [READ-ONLY]

Inputs: limit, offset, sort.

listTableAggregationsA

Lists the aggregations for a Tulip Table. Corresponds to GET /tables/{tableId}/aggregations. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required).

listTableQueriesA

Lists queries for a Tulip Table. Corresponds to GET /tables/{tableId}/queries. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required).

listTableRecordsA

Lists records of a Tulip Table. Corresponds to GET /tables/{tableId}/records. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required), limit, offset.

listTablesA

Retrieves a list of all Tulip Tables. Corresponds to GET /tables. Requires tables:read scope. [READ-ONLY]

Inputs: no named parameters.

listUserGroupsA

Gets a list of user groups. Corresponds to GET /api/users/v1/user-groups. Requires users:read scope. [READ-ONLY]

Inputs: no named parameters.

listUserRolesA

Gets a list of user roles. Corresponds to GET /api/users/v1/roles. Requires users:read scope. [READ-ONLY]

Inputs: no named parameters.

listUsersA

Gets a list of users. Corresponds to GET /api/users/v1/users. Requires users:read scope. [READ-ONLY]

Inputs: no named parameters.

listUserUserGroupsA

Returns an array of user group IDs that the user is currently a member of. Corresponds to GET /api/users/v1/users/{userId}/user-groups. Requires users:read scope. [READ-ONLY]

Inputs: userId (required), limit, offset, filter.

retrieveMachineActivityArchiveA

Retrieves machine activity archive status. Corresponds to GET /machines/archive/csv/{jobID}. Requires machines:read scope. [READ-ONLY]

Inputs: jobId (required).

runTableAggregationB

Runs an aggregate function on a table field. Corresponds to GET /tables/{tableId}/runAggregation. Requires tables:read scope. [READ-ONLY]

Inputs: tableId (required), function (required), fieldId (required), limit (required), +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 30 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose targeting specific resources and actions. Tools are organized by domain (tables, stations, users, machines) with no overlapping functionality - for example, getTableRecord retrieves a single record while listTableRecords retrieves multiple, and countTableRecords provides a count. The descriptions clearly differentiate each tool's scope.

    Naming Consistency5/5

    The naming follows a consistent verb_noun pattern throughout all 30 tools. All tools use camelCase with clear action prefixes (get, list, count, run, retrieve) followed by specific resource names. This creates a predictable and readable naming convention across the entire toolset.

    Tool Count3/5

    With 30 tools, this is borderline heavy for an MCP server. While the tools cover multiple domains comprehensively, the count approaches the upper limit of what's typically manageable. The server covers tables, stations, users, and machines, but 30 tools might be overwhelming compared to more focused servers with 10-15 tools.

    Completeness2/5

    The tool surface is severely incomplete as all tools are read-only operations. There are no create, update, or delete operations for any resources, creating significant gaps that will cause agent failures when trying to perform full lifecycle management. While the read operations are comprehensive within their scope, the lack of write capabilities represents a major limitation.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers