hf-mcp-unit3-project

lpowser03/hf-mcp-unit3-project

3.1

If you are the rightful owner of hf-mcp-unit3-project and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

PR Agent Workflow Server is an MCP server designed to enhance team collaboration and workflow efficiency by integrating Claude Code with GitHub Actions and Slack notifications.

hf-mcp-unit3-project

PR Agent Workflow Server - An MCP server that demonstrates how to make Claude Code team-aware and workflow-intelligent with Smart PR Management, CI/CD Monitoring (GitHub Actions), and Team Communication (Slack notifications via Slack SDK)

Installation:

  • Make sure to install Claude Code, uv package manager, and Cloudflare prior to running this project.
  • Install required dependencies in requirements.txt

Configuration:

  • First, run uv venv .venv
  • Then, run source .venv/bin/activate for Linux or . .venv/Scripts/activate for Windows
  • Make sure to add server.py as an MCP server for Claude Code
  • Make sure to add SLACK_WEBHOOK_URL to your .env file

Usage:

Each of the following commands must be run in a separate terminal window.

  • Run python webhook_server.py
  • Run uv run server.py
  • Finally, run cloudflared tunnel --url http://localhost:8080

To test the complete workflow:

  • Configure the webhook in GitHub with the URL of the webhook server
  • Push changes to a branch in the repository to trigger GitHub Actions
  • Ask Claude using Claude Code to check recent events and format them using your prompts
  • Let Claude send a message through Slack
  • Check the Slack channel for the PR notification

Key Takeaways:

  • How to use Claude Code to make a team-aware PR agent
  • How to integrate Slack into a PR agent workflow
  • How to use GitHub Actions to automate PR workflows
  • How to use Cloudflare Tunnel to expose a local server to the internet
  • A glimpse into the power of the MCP protocol

Future Improvements:

  • Add email and Discord notifications
  • Add data persistence/dashboards
  • Add more MCP clients