Loading...

CI Orchestrator MCP Server

Personal Project

Duration: N/A

Location: N/A

Project Details

This Model Context Protocol (MCP) v1.0 server orchestrates CI/CD workflows across GitHub Actions (including self-hosted runners) and Jenkins. It uses a JSON-RPC 2.0 API over HTTP, built with FastAPI. (GitHub)

Features

  • Platform Integration: List and trigger GitHub Actions (workflows, runners, jobs) and Jenkins jobs.
  • API: JSON-RPC 2.0 (MCP v1.0) via HTTP.
  • Real-time Logs: Stream logs via Server-Sent Events (SSE) or JSON-RPC notifications.
  • Authentication: Secure token-based access.
  • Web UI: Includes a basic web interface for demo and manual testing.
  • Dockerized: Available as a Docker image.

API Methods (Example: GitHub)

  • github/execute:
    • Actions: trigger_workflow, cancel_run, rerun_run, fetch_logs.
    • Params: Vary based on action (e.g., workflow_id, run_id, ref).

Technologies

  • Python (3.11+)
  • FastAPI
  • httpx
  • JSON-RPC 2.0
  • Server-Sent Events (SSE)
  • Docker
  • pytest

(View on GitHub)

Follow Me