Save up to 40% on agent token costs with code graphs: call graphs, dependency graphs, dead code detection, and blast radius analysis.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add supermodel --env SUPERMODEL_API_KEY='<SUPERMODEL_API_KEY>' -- npx -y @supermodeltools/mcp-server~/.codex/config.toml
[mcp_servers.supermodel]
command = "npx"
args = ["-y", "@supermodeltools/mcp-server"]
env = { SUPERMODEL_API_KEY = "<SUPERMODEL_API_KEY>" }
# codex mcp add supermodel --env SUPERMODEL_API_KEY='<SUPERMODEL_API_KEY>' -- npx -y @supermodeltools/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"supermodel": {
"command": "npx",
"args": [
"-y",
"@supermodeltools/mcp-server"
],
"env": {
"SUPERMODEL_API_KEY": "<SUPERMODEL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"supermodel": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@supermodeltools/mcp-server"
],
"env": {
"SUPERMODEL_API_KEY": "<SUPERMODEL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"supermodel": {
"command": "npx",
"args": [
"-y",
"@supermodeltools/mcp-server"
],
"env": {
"SUPERMODEL_API_KEY": "<SUPERMODEL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"supermodel": {
"command": "npx",
"args": [
"-y",
"@supermodeltools/mcp-server"
],
"env": {
"SUPERMODEL_API_KEY": "<SUPERMODEL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"supermodel": {
"command": "npx",
"args": [
"-y",
"@supermodeltools/mcp-server"
],
"env": {
"SUPERMODEL_API_KEY": "<SUPERMODEL_API_KEY>"
}
}
}
}需要的环境变量
SUPERMODEL_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。