MCP server for Tessera's LLM cost-optimization layer: anchored spend, drift, recommendations.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add tessera --env TESSERA_API_KEY='<TESSERA_API_KEY>' -- npx -y @tessera-llm/mcp-server~/.codex/config.toml
[mcp_servers.tessera]
command = "npx"
args = ["-y", "@tessera-llm/mcp-server"]
env = { TESSERA_API_KEY = "<TESSERA_API_KEY>" }
# codex mcp add tessera --env TESSERA_API_KEY='<TESSERA_API_KEY>' -- npx -y @tessera-llm/mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"tessera": {
"command": "npx",
"args": [
"-y",
"@tessera-llm/mcp-server"
],
"env": {
"TESSERA_API_KEY": "<TESSERA_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tessera": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tessera-llm/mcp-server"
],
"env": {
"TESSERA_API_KEY": "<TESSERA_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tessera": {
"command": "npx",
"args": [
"-y",
"@tessera-llm/mcp-server"
],
"env": {
"TESSERA_API_KEY": "<TESSERA_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tessera": {
"command": "npx",
"args": [
"-y",
"@tessera-llm/mcp-server"
],
"env": {
"TESSERA_API_KEY": "<TESSERA_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tessera": {
"command": "npx",
"args": [
"-y",
"@tessera-llm/mcp-server"
],
"env": {
"TESSERA_API_KEY": "<TESSERA_API_KEY>"
}
}
}
}需要的环境变量
TESSERA_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。