io.github.mdfifty50-boop/scope-guard
Hard scope boundaries to prevent AI agent drift
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
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"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على 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
الأسئلة الشائعة
ما هو io.github.mdfifty50-boop/scope-guard؟
Hard scope boundaries to prevent AI agent drift
كيف أثبّت io.github.mdfifty50-boop/scope-guard؟
يعمل على جهازك. في Claude Code: claude mcp add scope-guard -- npx -y scope-guard-mcp@0.1.3. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.mdfifty50-boop/scope-guard إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.mdfifty50-boop/scope-guard مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.mdfifty50-boop/scope-guard؟
ينشره mdfifty50-boop. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.