A proxy MCP (Model Context Protocol) server that filters the upstream tool surface to just the tools you need.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add filter --env YOUR_TOKEN='<YOUR_TOKEN>' -- npx -y @supabase/mcp-server-supabase@latest --access-token YOUR_TOKEN~/.codex/config.toml
[mcp_servers.filter]
command = "npx"
args = ["-y", "@supabase/mcp-server-supabase@latest", "--access-token", "YOUR_TOKEN"]
env = { YOUR_TOKEN = "<YOUR_TOKEN>" }
# codex mcp add filter --env YOUR_TOKEN='<YOUR_TOKEN>' -- npx -y @supabase/mcp-server-supabase@latest --access-token YOUR_TOKEN~/.cursor/mcp.json
{
"mcpServers": {
"filter": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"YOUR_TOKEN"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"filter": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"YOUR_TOKEN"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"filter": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"YOUR_TOKEN"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"filter": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"YOUR_TOKEN"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"filter": {
"command": "npx",
"args": [
"-y",
"@supabase/mcp-server-supabase@latest",
"--access-token",
"YOUR_TOKEN"
],
"env": {
"YOUR_TOKEN": "<YOUR_TOKEN>"
}
}
}
}需要的环境变量
YOUR_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。