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