MCP server for Koru Shield - manage DNS filtering through AI assistants
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
本地运行
claude mcp add koru-shield --env KORU_SHIELD_API_KEY='<KORU_SHIELD_API_KEY>' -- npx -y korushield-mcp-server~/.codex/config.toml
[mcp_servers.koru-shield]
command = "npx"
args = ["-y", "korushield-mcp-server"]
env = { KORU_SHIELD_API_KEY = "<KORU_SHIELD_API_KEY>" }
# codex mcp add koru-shield --env KORU_SHIELD_API_KEY='<KORU_SHIELD_API_KEY>' -- npx -y korushield-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": [
"-y",
"korushield-mcp-server"
],
"env": {
"KORU_SHIELD_API_KEY": "<KORU_SHIELD_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"koru-shield": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"korushield-mcp-server"
],
"env": {
"KORU_SHIELD_API_KEY": "<KORU_SHIELD_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": [
"-y",
"korushield-mcp-server"
],
"env": {
"KORU_SHIELD_API_KEY": "<KORU_SHIELD_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": [
"-y",
"korushield-mcp-server"
],
"env": {
"KORU_SHIELD_API_KEY": "<KORU_SHIELD_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": [
"-y",
"korushield-mcp-server"
],
"env": {
"KORU_SHIELD_API_KEY": "<KORU_SHIELD_API_KEY>"
}
}
}
}远程托管
claude mcp add --transport http koru-shield https://mcp.korushield.com/mcp~/.codex/config.toml
[mcp_servers.koru-shield]
url = "https://mcp.korushield.com/mcp"
# codex mcp add koru-shield --url https://mcp.korushield.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"koru-shield": {
"url": "https://mcp.korushield.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"koru-shield": {
"type": "http",
"url": "https://mcp.korushield.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"koru-shield": {
"httpUrl": "https://mcp.korushield.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.korushield.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"koru-shield": {
"url": "https://mcp.korushield.com/mcp"
}
}
}需要的环境变量
KORU_SHIELD_API_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。