Self-Hosted GitHub Bot Runs Claude Code with 40+ Webhook Triggers and MCP Tools

A new open-source project, Claude Code GitHub Agent, provides a self-hosted bot that gives Claude Code 40+ GitHub webhook triggers and MCP (Model Context Protocol) tools. It runs the Claude Agent SDK with the full Claude Code feature set in isolated worktrees.
Key Features
- 4 Built-in MCP Servers: GitHub, GitHub Actions, Memory, and Codebase Tools.
- YAML-Based Triggers: Configure workflows in a
workflowsblock. Example:
workflows:
review-pr:
triggers:
events:
- event: pull_request.opened
- event: pull_request.labeled
filters:
label.name: ["review", "pr-review", "review-pr"]
commands:
- /review
- /pr-review
- /review-pr
prompt:
template: "/pr-review-toolkit:review-pr {repo} {issue_number}"This triggers the 'pr-review-toolkit' on opened PRs, on labeled PRs matching those names, and on slash commands in comments.
- Built-in Workflows: PR review, CI auto-fix, issue triage.
- Plugins: Add specialized agents.
- Persistent Memory: Cross-session persistence.
- Flexible Backend: Supports any Anthropic-compatible API (Ollama, Vertex, Z.AI).
Status
The project is still in beta (some internals to clean up) but fully usable. Feedback and contributions are welcome.
Who it's for: Developers who want to automate GitHub workflows using Claude Code with custom triggers and MCP tools, fully self-hosted.
📖 Read the full source: r/ClaudeAI
👀 See Also

Structured Claude Skill for B2B SaaS Growth Workflows
A developer has open-sourced a Claude Skill that structures B2B SaaS growth knowledge into playbooks and case studies to improve Claude's output quality. The repository includes 5 SaaS case studies, a 4-stage growth flywheel, and 6 structured playbooks.

SwiftUI Agent Skill: Enhancing View Development with AI
SwiftUI Agent Skill is an open-source tool that uses AI to improve SwiftUI view development by embedding best practices and optimizations.

Trepan: Local VS Code Security Auditor for AI-Generated Code
Trepan is an open-source VS Code extension that acts as a security gatekeeper for AI-generated code suggestions. It uses Ollama to run local security audits against project-specific rules in a .trepan/system_rules.md file.

Socratic Prompt Generator Built as React Artifact Inside Claude
A developer built a Socratic prompt generator as a React artifact that runs inside Claude, featuring auto-detection of input complexity and three-tier prompt generation with failure mode analysis.