About koru-shield
koru-shield is an MCP server for managing Koru Shield DNS protection through AI clients. It provides controls for profiles, domain rules, filtering, schedules, and query review.
Key features
- 01Manage DNS protection profiles
- 02Create and remove domain rules
- 03Set content-filter categories
- 04Simulate domain blocking policies
- 05Review query logs and analytics
- 06Manage schedules and devices
Use cases
- 01Block or allow a domain for a profile
- 02Check whether a site is currently blocked
- 03Review recent allowed and blocked queries
- 04Set weekday bedtime filtering
MCP support
Exposes Koru Shield account operations as MCP tools for AI clients, including profile, rule, category, schedule, log, and analytics management.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.korushield.com/mcpclaude mcp add --transport http com-korushield-koru-shield https://mcp.korushield.com/mcp{"mcpServers":{"com-korushield-koru-shield":{"type":"http","url":"https://mcp.korushield.com/mcp"}}}Open in Cursor{"servers":{"com-korushield-koru-shield":{"type":"http","url":"https://mcp.korushield.com/mcp"}}}Open in VS Code{"mcpServers":{"com-korushield-koru-shield":{"type":"http","url":"https://mcp.korushield.com/mcp"}}}{"mcpServers":{"com-korushield-koru-shield":{"serverUrl":"https://mcp.korushield.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEKoru Shield MCP Server
Manage your Koru Shield DNS protection through AI assistants. Block domains, check policies, review blocked queries, manage schedules, and more, all through natural language.
What it does
Exposes your Koru Shield account as Model Context Protocol tools:
| Tool | What it does |
|---|---|
list_profiles / get_profile | List and inspect DNS protection profiles |
create_rule / list_rules / delete_rule | Block or allow domains per profile |
list_filter_categories / set_filter_category | Toggle categories (adult, gambling, social media...) |
simulate_policy | Check if a domain would be blocked right now |
get_logs | Recent DNS queries: allowed, blocked, when |
analytics_summary | Totals, blocked percentage, encrypted queries |
list_schedules / create_schedule / delete_schedule | Time windows (bedtime, homework hours) |
list_devices | Devices enrolled per profile |
get_entitlements | Plan, limits, current usage |
get_referral_code | Your referral link |
Example prompts once connected:
- "Block tiktok.com on the Kids profile"
- "Would youtube.com be blocked on Kids right now?"
- "Show me what got blocked today"
- "Turn on adult content filtering for the whole house"
- "Add a bedtime schedule 9pm to 7am on weekdays for the Kids profile"
Setup
1. Get a Koru Shield API key
Sign in at https://my.korushield.com, go to API keys, and create one. Copy the key.
2. Install
No install needed. Run directly with npx:
npx -y korushield-mcp-server
Set your key as an environment variable:
export KORU_SHIELD_API_KEY="your-key-here"
Optional: KORU_SHIELD_API_URL overrides the API base URL (default https://my.korushield.com/api).
3. Connect your AI client
Claude Code
claude mcp add koru-shield -- npx -y korushield-mcp-server
(Claude Code passes environment through, so export KORU_SHIELD_API_KEY first. Or use the HTTP transport below with a header.)
Cursor / VS Code
Add to your MCP config (~/.cursor/mcp.json or VS Code mcp.json):
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": ["-y", "korushield-mcp-server"],
"env": {
"KORU_SHIELD_API_KEY": "your-key-here"
}
}
}
}
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"koru-shield": {
"command": "npx",
"args": ["-y", "korushield-mcp-server"],
"env": {
"KORU_SHIELD_API_KEY": "your-key-here"
}
}
}
}
HTTP transport (remote)
For clients that connect over HTTP (agents, hosted setups):
MCP_TRANSPORT=http PORT=3000 KORU_SHIELD_API_KEY="your-key-here" npx -y korushield-mcp-server
Or pass the key per-request instead of the env var:
POST https://your-host/mcp
Authorization: Bearer <koru-shield-api-key>
Health check: GET /healthz.
Security notes
- Your API key grants full control of your Koru Shield account, including deleting rules and schedules. Treat it like a password.
- Prefer a dedicated API key for AI assistants so you can revoke it independently.
- The server never logs or transmits your key anywhere except to the Koru Shield API.
Development
npm install
npm run build
npm start
Test with the MCP Inspector:
KORU_SHIELD_API_KEY="your-key-here" npm run inspector
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.