Work orders, PM schedules, assets, capital plans and infrastructure in AssetLab CMMS/EAM.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add assetlab --env ASSETLAB_API_KEY='<ASSETLAB_API_KEY>' --env ASSETLAB_API_URL='<ASSETLAB_API_URL>' -- npx -y @assetlab/mcp-server~/.codex/config.toml
[mcp_servers.assetlab]
command = "npx"
args = ["-y", "@assetlab/mcp-server"]
env = { ASSETLAB_API_KEY = "<ASSETLAB_API_KEY>", ASSETLAB_API_URL = "<ASSETLAB_API_URL>" }
# codex mcp add assetlab --env ASSETLAB_API_KEY='<ASSETLAB_API_KEY>' --env ASSETLAB_API_URL='<ASSETLAB_API_URL>' -- npx -y @assetlab/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"assetlab": {
"command": "npx",
"args": [
"-y",
"@assetlab/mcp-server"
],
"env": {
"ASSETLAB_API_KEY": "<ASSETLAB_API_KEY>",
"ASSETLAB_API_URL": "<ASSETLAB_API_URL>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"assetlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@assetlab/mcp-server"
],
"env": {
"ASSETLAB_API_KEY": "<ASSETLAB_API_KEY>",
"ASSETLAB_API_URL": "<ASSETLAB_API_URL>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"assetlab": {
"command": "npx",
"args": [
"-y",
"@assetlab/mcp-server"
],
"env": {
"ASSETLAB_API_KEY": "<ASSETLAB_API_KEY>",
"ASSETLAB_API_URL": "<ASSETLAB_API_URL>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"assetlab": {
"command": "npx",
"args": [
"-y",
"@assetlab/mcp-server"
],
"env": {
"ASSETLAB_API_KEY": "<ASSETLAB_API_KEY>",
"ASSETLAB_API_URL": "<ASSETLAB_API_URL>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"assetlab": {
"command": "npx",
"args": [
"-y",
"@assetlab/mcp-server"
],
"env": {
"ASSETLAB_API_KEY": "<ASSETLAB_API_KEY>",
"ASSETLAB_API_URL": "<ASSETLAB_API_URL>"
}
}
}
}远程托管
claude mcp add --transport http assetlab https://mcp.assetlab.ca~/.codex/config.toml
[mcp_servers.assetlab]
url = "https://mcp.assetlab.ca"
# codex mcp add assetlab --url https://mcp.assetlab.ca~/.cursor/mcp.json
{
"mcpServers": {
"assetlab": {
"url": "https://mcp.assetlab.ca"
}
}
}.vscode/mcp.json
{
"servers": {
"assetlab": {
"type": "http",
"url": "https://mcp.assetlab.ca"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"assetlab": {
"httpUrl": "https://mcp.assetlab.ca"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"assetlab": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.assetlab.ca"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"assetlab": {
"url": "https://mcp.assetlab.ca"
}
}
}需要的环境变量
ASSETLAB_API_KEYASSETLAB_API_URL
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。