Tulip MCP Server
Enables LLMs to interact with the Tulip manufacturing platform, providing access to tables, records, machines, stations, interfaces, users, and other manufacturing operations through the Tulip API.
README
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.
🚀 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_URLis the URL you use to access Tulip (e.g.,https://my-company.tulip.co). - Your
TULIP_WORKSPACE_IDis in your Tulip URL after/w/(for most users, this isDEFAULT).
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=your_workspace_id_here_if_using_account_api_key
⚠️ Important: The TULIP_WORKSPACE_ID is only required if you are using an Account API key (obtained from Account Settings). If you are using a Workspace API key (obtained from Workspace Settings), you can leave this field empty.
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.
<details> <summary><b>Guide: Finding Your .env File Path</b></summary>
- Navigate to the folder where you created your
.envfile. - On Windows: Right-click the
.envfile while holding down theShiftkey, then select "Copy as path". - On macOS: Right-click the
.envfile, hold down theOptionkey, then select "Copy .env as Pathname". - You will use this copied path in the client configuration below.
</details>
<details> <summary><b>Guide: Claude Desktop</b></summary>
- From the Claude Desktop menu bar, select Settings... > Developer > Edit Config.
- This will open the
claude_desktop_config.jsonfile. - Add the server configuration inside the
mcpServersobject. 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" ] } } } - Save the file and restart Claude Desktop.
For more details, see the official Claude Desktop MCP Quickstart.
</details>
<details> <summary><b>Guide: Cursor</b></summary>
For the easiest setup, click the button below. This will pre-fill the command.
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.
</details>
🛠️ Developer Guide
This section contains more advanced configuration features.
Tool Selection Configuration
By default, the server enables only read-only tools and table 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)
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_IDin your.envfile - ✅ Most common type for individual workspaces
-
Account API Credentials: Created in Account Settings → API Tokens
- ⚠️ Can access multiple workspaces
- ⚠️ Must include
TULIP_WORKSPACE_IDin your.envfile
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
- Log in to your Tulip instance.
- Navigate to Settings > API Tokens.
- Create a new API token. Give it a name (e.g., "MCP Server").
- Make sure to grant it the necessary permissions (scopes). A good starting set for read-only access is:
stations:read,users:read,tables:read,machines:read,apps:read,urls:sign - Copy the API Key and Secret and paste them into your
.envfile.
⚠️ Important: The TULIP_WORKSPACE_ID is only required if you are using an Account API key (obtained from Account Settings). If you are using a Workspace API key (obtained from Workspace Settings), you can leave this field empty.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。