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