Templates / Build your own GitHub MCP server

Build your own GitHub MCP server

Ready for 3.0

by Jimleuk ✓ · 4,370 views · created 2025-04-21 · Project Management, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 15 nodes and runs when an MCP client calls one of its tools (plus 1 other trigger). Along the way it connects GitHub.

How it runs

Trigger: When an MCP client calls one of its tools (plus 1 other trigger).

  1. Operation (Switch): routes items into 3 branches
  2. Get Many Issues (GitHub): work with repository
  3. Get Single Issue (GitHub): get
  4. Create Comment (GitHub): create comment
  5. Simplify Issues (Edit Fields (Set)): sets 8 fields: issue_number, title, url…
  6. Get Comments (HTTP Request): calls an HTTP API
  7. Get Response (Edit Fields (Set)): sets 1 field: response
  8. Aggregate: combines items into one
  9. Simplify Comments (Edit Fields (Set)): sets 7 fields: id, issue_url, user…
  10. Aggregate: combines items into one

Services it uses

GitHub

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

This n8n demonstrates how to build your own Github MCP server to personalise it to your organisation's repositories, issues and pull requests. This n8n implementation, though not as fully featured as the official MCP server offered by Github, allows you to…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.