MCP server for Tilt CLI integration, enabling AI assistants to interact with Tilt development workflows
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add tilt --env TILT_PORT='<TILT_PORT>' -- bun run /path/to/tilt-mcp/dist/server.js~/.codex/config.toml
[mcp_servers.tilt]
command = "bun"
args = ["run", "/path/to/tilt-mcp/dist/server.js"]
env = { TILT_PORT = "<TILT_PORT>" }
# codex mcp add tilt --env TILT_PORT='<TILT_PORT>' -- bun run /path/to/tilt-mcp/dist/server.js~/.cursor/mcp.json
{
"mcpServers": {
"tilt": {
"command": "bun",
"args": [
"run",
"/path/to/tilt-mcp/dist/server.js"
],
"env": {
"TILT_PORT": "<TILT_PORT>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tilt": {
"type": "stdio",
"command": "bun",
"args": [
"run",
"/path/to/tilt-mcp/dist/server.js"
],
"env": {
"TILT_PORT": "<TILT_PORT>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tilt": {
"command": "bun",
"args": [
"run",
"/path/to/tilt-mcp/dist/server.js"
],
"env": {
"TILT_PORT": "<TILT_PORT>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tilt": {
"command": "bun",
"args": [
"run",
"/path/to/tilt-mcp/dist/server.js"
],
"env": {
"TILT_PORT": "<TILT_PORT>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tilt": {
"command": "bun",
"args": [
"run",
"/path/to/tilt-mcp/dist/server.js"
],
"env": {
"TILT_PORT": "<TILT_PORT>"
}
}
}
}需要的环境变量
TILT_PORT
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。