io.github.mdfifty50-boop/scope-guard
Hard scope boundaries to prevent AI agent drift
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
scope-guard-mcpclaude mcp add scope-guard -- npx -y scope-guard-mcp@0.1.3
{
"mcpServers": {
"scope-guard": {
"command": "npx",
"args": [
"-y",
"scope-guard-mcp@0.1.3"
]
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
scope-guard-mcp
MCP server that enforces multi-agent scope boundaries. Prevents scope drift, work duplication, and infinite delegation loops in agentic systems.
Tools
| Tool | Purpose |
|---|---|
create_scope_contract | Define agent boundaries: allowed/forbidden tools, file access patterns, delegation limits |
validate_action | Pre-flight check — is a tool call or file access within scope? |
detect_delegation_loop | Analyze delegation chains for circular patterns |
log_agent_action | Track agent actions for compliance monitoring |
get_compliance_report | Per-agent summary: actions, violations, delegation count, scope utilization % |
detect_work_duplication | Find agents doing the same work across action logs |
Resources
| URI | Description |
|---|---|
scope-guard://contracts | All active scope contracts |
Install
npm install
node src/index.js
Claude Desktop
{
"mcpServers": {
"scope-guard": {
"command": "npx",
"args": ["scope-guard-mcp"]
}
}
}
License
MIT
Frequently asked questions
What is io.github.mdfifty50-boop/scope-guard?
Hard scope boundaries to prevent AI agent drift
How do I install io.github.mdfifty50-boop/scope-guard?
It runs on your machine. In Claude Code: claude mcp add scope-guard -- npx -y scope-guard-mcp@0.1.3. For other clients, paste the JSON configuration from this page into their MCP settings.
Does io.github.mdfifty50-boop/scope-guard need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is io.github.mdfifty50-boop/scope-guard open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains io.github.mdfifty50-boop/scope-guard?
It is published by mdfifty50-boop. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.