mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
Critical fixes:
- Convert hook from PostToolUse to PreToolUse so exit(2) blocking works
- Change all python references to python3 for cross-platform compat
- Add insaits-security-wrapper.js to bridge run-with-flags.js to Python
Standard fixes:
- Wrap hook with run-with-flags.js so users can disable via
ECC_DISABLED_HOOKS="pre:insaits-security"
- Add "async": true to hooks.json entry
- Add type annotations to all function signatures (Dict, List, Tuple, Any)
- Replace all print() statements with logging module (stderr)
- Fix silent OSError swallow in write_audit — now logs warning
- Remove os.environ.setdefault('INSAITS_DEV_MODE') — pass dev_mode=True
through monitor constructor instead
- Update hooks/README.md: moved to PreToolUse table, "detects" not
"catches", clarify blocking vs non-blocking behavior
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
105 lines
3.5 KiB
JSON
105 lines
3.5 KiB
JSON
{
|
|
"mcpServers": {
|
|
"github": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
"env": {
|
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_GITHUB_PAT_HERE"
|
|
},
|
|
"description": "GitHub operations - PRs, issues, repos"
|
|
},
|
|
"firecrawl": {
|
|
"command": "npx",
|
|
"args": ["-y", "firecrawl-mcp"],
|
|
"env": {
|
|
"FIRECRAWL_API_KEY": "YOUR_FIRECRAWL_KEY_HERE"
|
|
},
|
|
"description": "Web scraping and crawling"
|
|
},
|
|
"supabase": {
|
|
"command": "npx",
|
|
"args": ["-y", "@supabase/mcp-server-supabase@latest", "--project-ref=YOUR_PROJECT_REF"],
|
|
"description": "Supabase database operations"
|
|
},
|
|
"memory": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-memory"],
|
|
"description": "Persistent memory across sessions"
|
|
},
|
|
"sequential-thinking": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"],
|
|
"description": "Chain-of-thought reasoning"
|
|
},
|
|
"vercel": {
|
|
"type": "http",
|
|
"url": "https://mcp.vercel.com",
|
|
"description": "Vercel deployments and projects"
|
|
},
|
|
"railway": {
|
|
"command": "npx",
|
|
"args": ["-y", "@railway/mcp-server"],
|
|
"description": "Railway deployments"
|
|
},
|
|
"cloudflare-docs": {
|
|
"type": "http",
|
|
"url": "https://docs.mcp.cloudflare.com/mcp",
|
|
"description": "Cloudflare documentation search"
|
|
},
|
|
"cloudflare-workers-builds": {
|
|
"type": "http",
|
|
"url": "https://builds.mcp.cloudflare.com/mcp",
|
|
"description": "Cloudflare Workers builds"
|
|
},
|
|
"cloudflare-workers-bindings": {
|
|
"type": "http",
|
|
"url": "https://bindings.mcp.cloudflare.com/mcp",
|
|
"description": "Cloudflare Workers bindings"
|
|
},
|
|
"cloudflare-observability": {
|
|
"type": "http",
|
|
"url": "https://observability.mcp.cloudflare.com/mcp",
|
|
"description": "Cloudflare observability/logs"
|
|
},
|
|
"clickhouse": {
|
|
"type": "http",
|
|
"url": "https://mcp.clickhouse.cloud/mcp",
|
|
"description": "ClickHouse analytics queries"
|
|
},
|
|
"exa-web-search": {
|
|
"command": "npx",
|
|
"args": ["-y", "exa-mcp-server"],
|
|
"env": {
|
|
"EXA_API_KEY": "YOUR_EXA_API_KEY_HERE"
|
|
},
|
|
"description": "Web search, research, and data ingestion via Exa API — recommended for research-first development workflow"
|
|
},
|
|
"context7": {
|
|
"command": "npx",
|
|
"args": ["-y", "@context7/mcp-server"],
|
|
"description": "Live documentation lookup"
|
|
},
|
|
"magic": {
|
|
"command": "npx",
|
|
"args": ["-y", "@magicuidesign/mcp@latest"],
|
|
"description": "Magic UI components"
|
|
},
|
|
"filesystem": {
|
|
"command": "npx",
|
|
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/your/projects"],
|
|
"description": "Filesystem operations (set your path)"
|
|
},
|
|
"insaits": {
|
|
"command": "python3",
|
|
"args": ["-m", "insa_its.mcp_server"],
|
|
"description": "AI-to-AI security monitoring — anomaly detection, credential exposure, hallucination checks, forensic tracing. 23 anomaly types, OWASP MCP Top 10 coverage. 100% local. Install: pip install insa-its"
|
|
}
|
|
},
|
|
"_comments": {
|
|
"usage": "Copy the servers you need to your ~/.claude.json mcpServers section",
|
|
"env_vars": "Replace YOUR_*_HERE placeholders with actual values",
|
|
"disabling": "Use disabledMcpServers array in project config to disable per-project",
|
|
"context_warning": "Keep under 10 MCPs enabled to preserve context window"
|
|
}
|
|
}
|