{"id":31810881,"url":"https://github.com/toolprint/cco-mcp","last_synced_at":"2025-10-11T06:17:31.890Z","repository":{"id":311380105,"uuid":"1015198860","full_name":"toolprint/cco-mcp","owner":"toolprint","description":"Real-time audit and approval system for Claude Code tool calls.","archived":false,"fork":false,"pushed_at":"2025-08-24T04:24:20.000Z","size":932,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T12:38:40.857Z","etag":null,"topics":["agents","approvals","background-agent","claude-code","llm","mcp","mcp-server","permissions","vibe-coding"],"latest_commit_sha":null,"homepage":"https://toolprint.ai","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toolprint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T06:40:21.000Z","updated_at":"2025-08-22T20:34:21.000Z","dependencies_parsed_at":"2025-08-24T12:38:49.441Z","dependency_job_id":"0586b897-5c9f-47d9-8268-4617688044b8","html_url":"https://github.com/toolprint/cco-mcp","commit_stats":null,"previous_names":["toolprint/cco-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/toolprint/cco-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolprint%2Fcco-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolprint%2Fcco-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolprint%2Fcco-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolprint%2Fcco-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolprint","download_url":"https://codeload.github.com/toolprint/cco-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolprint%2Fcco-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006450,"owners_count":26084107,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","approvals","background-agent","claude-code","llm","mcp","mcp-server","permissions","vibe-coding"],"created_at":"2025-10-11T06:17:26.285Z","updated_at":"2025-10-11T06:17:31.884Z","avatar_url":"https://github.com/toolprint.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCO-MCP (Claude Code Oversight)\n\nReal-time audit and approval system for Claude Code tool calls. Get instant visibility and control over AI agent actions with a sleek web dashboard.\n\n![CCO-MCP Dashboard](docs/Demo-Screenshot.png)\n\n## Overview\n\nCCO-MCP provides a security layer between Claude Code and your system, enabling you to monitor and control AI tool calls in real-time. It acts as a firewall for AI actions, allowing you to review sensitive operations before they execute while auto-approving safe ones based on configurable rules.  This let's you scale to many more non-interactive Claude Code instances running in the background without incurring \"tab-switching fatigue\".\n\n## Get Started\n\n### Clone and run with Docker Compose\n\n```bash\ngit clone https://github.com/onegrep/cco-mcp.git\ncd cco-mcp\ndocker-compose up\n```\n\n### Configure Claude Code\n\nInstall CCO-MCP at the user scope:\n\n```bash\nclaude mcp add -s user -t http cco-mcp http://localhost:8660/mcp\n```\n\nThis will add the following to your Claude Code config:\n\n```json\n{\n  \"mcpServers\": {\n    \"cco-mcp\": {\n      \"type\": \"http\",\n      \"url\": \"http://localhost:8660/mcp\"\n    }\n  }\n}\n```\n\nFor self-hosted deployments, replace `http://localhost:8660/mcp` with your deployment URL.\n\nVisit http://localhost:8660 to access the dashboard.\n\n### Enable Approval Prompts\n\nTo use CCO-MCP for approval prompts, run Claude Code in non-interactive mode with the appropriate [Permission Prompt Tool](https://docs.anthropic.com/en/docs/claude-code/sdk#custom-permission-prompt-tool) flag:\n\n```bash\nclaude code -p \"your prompt here\" --permission-prompt-tool mcp__cco-mcp__approval_prompt\n```\n\nThis enables Claude to request approval through CCO-MCP before executing sensitive operations without using the \"dangerously skip permissions\" option.\n\n## Main Features\n\n### 🛡️ Smart Approval Rules\nCreate rules to auto-approve safe operations (like file reads) while requiring manual approval for sensitive ones (like running bash commands).\n\n### 📊 Real-Time Dashboard\nMonitor all tool calls as they happen with live updates via Server-Sent Events.\n\n### 🔍 Detailed Audit Logs\nEvery tool call is logged with full context including agent identity, parameters, and approval status.\n\n## Configuration Options\n\nAll configuration can be managed through the web interface at http://localhost:8660/config.\n\n### Default Action and Timeouts\n\n- **Default Action**: Choose whether unmatched requests are automatically approved or require manual review\n- **Auto-Deny Timeout**: Set how long to wait for manual approval before automatically denying (default: 5 minutes)\n- **Entry TTL**: Configure how long audit log entries are retained (default: 24 hours)\n\n### Approval Rules\n\nRules use a priority system (lower numbers = higher priority) to determine actions:\n\n- **Tool Matching**: Match specific tools (built-in like Read/Write or MCP server tools)\n- **Agent Matching**: Create rules for specific agent identities\n- **Pattern Matching**: Use wildcards for flexible rule creation\n- **Actions**: Set rules to auto-approve or auto-deny matching requests\n\n### Environment Variables\n\n- `PORT` - Server port (default: 8660)\n- `CCO_CONFIG_PATH` - Config file location (default: ~/.cco-mcp/config.json)\n\n## Development\n\n### Project Structure\n\n```\ncco-mcp/\n├── src/              # TypeScript backend\n│   ├── audit/        # Core audit service\n│   ├── routes/       # REST API endpoints\n│   └── server.ts     # MCP server\n├── ui/               # React frontend\n│   └── src/\n│       ├── components/\n│       └── pages/\n└── dist/             # Build output\n```\n\n### Design Principles\n\n- **Simplicity first** - Enabling core use-case of approving background agents\n- **Real-time by default** - SSE for instant updates\n- **Type safety** - Full TypeScript coverage\n- **User-friendly** - Intuitive UI with helpful defaults\n\n### Local Development\n\n```bash\n# Install required tools\njust brew\n\n# Setup project dependencies\njust setup\n\n# Run both backend and UI\njust dev-all\n\n# Run tests\njust test\n\n# Format code\njust format\n\n# Build everything\njust build-all\n```\n\n## Contributing\n\nWe welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.\n\n## License\n\nMIT License - Copyright 2025 OneGrep, Inc.\n\n## Acknowledgments\n\nBuilt for use with [Claude Code](https://claude.ai/code) and the [Model Context Protocol](https://modelcontextprotocol.io) by Anthropic.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolprint%2Fcco-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolprint%2Fcco-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolprint%2Fcco-mcp/lists"}