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