Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add umtri --env UMTRI_API_TOKEN='<UMTRI_API_TOKEN>' -- npx -y umtri-mcp~/.codex/config.toml
[mcp_servers.umtri]
command = "npx"
args = ["-y", "umtri-mcp"]
env = { UMTRI_API_TOKEN = "<UMTRI_API_TOKEN>" }
# codex mcp add umtri --env UMTRI_API_TOKEN='<UMTRI_API_TOKEN>' -- npx -y umtri-mcp~/.cursor/mcp.json
{
"mcpServers": {
"umtri": {
"command": "npx",
"args": [
"-y",
"umtri-mcp"
],
"env": {
"UMTRI_API_TOKEN": "<UMTRI_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"umtri": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"umtri-mcp"
],
"env": {
"UMTRI_API_TOKEN": "<UMTRI_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"umtri": {
"command": "npx",
"args": [
"-y",
"umtri-mcp"
],
"env": {
"UMTRI_API_TOKEN": "<UMTRI_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"umtri": {
"command": "npx",
"args": [
"-y",
"umtri-mcp"
],
"env": {
"UMTRI_API_TOKEN": "<UMTRI_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"umtri": {
"command": "npx",
"args": [
"-y",
"umtri-mcp"
],
"env": {
"UMTRI_API_TOKEN": "<UMTRI_API_TOKEN>"
}
}
}
}远程托管
claude mcp add --transport http umtri https://mcp.umtri.io~/.codex/config.toml
[mcp_servers.umtri]
url = "https://mcp.umtri.io"
# codex mcp add umtri --url https://mcp.umtri.io~/.cursor/mcp.json
{
"mcpServers": {
"umtri": {
"url": "https://mcp.umtri.io"
}
}
}.vscode/mcp.json
{
"servers": {
"umtri": {
"type": "http",
"url": "https://mcp.umtri.io"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"umtri": {
"httpUrl": "https://mcp.umtri.io"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"umtri": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.umtri.io"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"umtri": {
"url": "https://mcp.umtri.io"
}
}
}需要的环境变量
UMTRI_API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。