๐ก๏ธ Sentinel CI
Universal CI/CD Intelligence for AI Agents
What is Sentinel CI?¶
Sentinel CI is a multi-platform CI/CD intelligence layer built using the Model Context Protocol (MCP). It provides a unified interface for AI agents like Claude to interact with various CI/CD platforms.
Supported Platforms¶
-
:material-jenkins: Jenkins
Classic & Pipeline jobs, Blue Ocean, JUnit tests
-
GitHub Actions
Workflow runs, job details, artifacts
-
GitLab CI
Pipelines, stages, native test reports
Key Features¶
๐ฏ Multi-Platform Support¶
Connect to Jenkins, GitHub Actions, and GitLab CI through a single unified interface.
๐ 8 Powerful MCP Tools¶
health_check()- Verify platform connectivitylist_jobs()- List all jobs/workflowsget_build_summary()- Get build overviewget_failed_stages()- Identify failed stagesget_failed_tests()- Get failed test detailsget_log_excerpt()- Extract relevant logsget_metrics()- System performance metricsclear_cache()- Cache management
๐ Security First¶
- Read-only operations - Cannot trigger builds or modify configs
- Secret redaction - 12 patterns for automatic sanitization
- Environment variables - No hardcoded credentials
- Audit logging - Track all operations
โก Performance¶
- Smart caching - TTL-based with LRU eviction (70%+ hit rate)
- Fast responses - < 2s latency (P95)
- Prometheus metrics - Monitor everything
- Thread-safe - Concurrent request handling
Quick Example¶
from sentinel_ci import SentinelCI
# Initialize
sentinel = SentinelCI(platform="jenkins")
# Check health
status = sentinel.health_check()
# List jobs
jobs = sentinel.list_jobs()
# Get failed tests
tests = sentinel.get_failed_tests(
job="backend-service",
build_id="42"
)
Architecture¶
graph TB
A[AI Agent] --> B[MCP Server]
B --> C{Platform Router}
C --> D[Jenkins Client]
C --> E[GitHub Client]
C --> F[GitLab Client]
D --> G[Jenkins API]
E --> H[GitHub API]
F --> I[GitLab API]
B --> J[Shared Components]
J --> K[Cache]
J --> L[Redactor]
J --> M[Metrics]
Why Sentinel CI?¶
For AI Agents¶
- Unified interface across all CI platforms
- Contextual information for better debugging
- Safe operations - read-only by design
- Reliable caching for fast responses
For Developers¶
- Easy integration with Claude Desktop
- Extensible architecture - add your own platforms
- Well documented - comprehensive guides
- Open source - MIT licensed
For Teams¶
- Multi-platform support - use your existing tools
- Security focused - enterprise-ready
- Performance optimized - handles scale
- Community driven - active development
Getting Started¶
Ready to integrate Sentinel CI with your workflow?
-
Get up and running in 5 minutes
-
Set up your CI platform credentials
-
Learn about security best practices
-
Understand the system design
Community¶
Contribute to Sentinel CI:
- GitHub Repository - View source code, star the project
- Issue Tracker - Report bugs, request features
- Contributing Guide - Help us improve Sentinel CI
- License - MIT License
License¶
Sentinel CI is open source software licensed as MIT.