Build your own Github MCP server — n8n Workflow
Overview
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 control precisely what access and/or functionality is granted to users which can make MCP use simpler and in some cases, more secure. The use-case in this template is to simply view and comment on issues within a specific repository but can b
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 15 nodes, connecting aggregate, executeworkflowtrigger, github.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (15)
GitHub
github
HTTP Request
httpRequest
Call n8n Workflow Tool
n8n-nodes-langchain.toolWorkflow
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
build-your-own-github-mcp-serverfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Jimleuk
@jimleuk
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →