Build your own Github MCP server — Workflow n8n

Moyen complexité Déclencheur15 nœuds🏷️ Project Management👁 2,284 vuespar Jimleuk

Aperçu

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

Nœuds utilisés

GitHubHTTP RequestCall n8n Workflow Tool

Aperçu du workflow

1. Set up an MCP Server Trigger
Read more about the MCP Server Trigger
2. Build Simple Support Tools with Github Nod
Read more about the Github Node
Whilst it may be easier to just let the A
Always Authenticate Your Server!
Before going to production, it's always advised to enab
Try It Out!
This n8n demonstrates how to build your own Github MCP
This n8n implementation, though not a
tooltooltool
W
When Executed by Another…
O
Operation
G
Github MCP Server
Get Latest Issues
Add Issue Comment
S
Simplify Issues
A
Aggregate Results
Get Issue Comments
Get Comments
S
Simplify Comments
A
Aggregate Comments
Get Many Issues
Get Single Issue
Create Comment
G
Get Response
15 nodes13 edges

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 15 nœuds, connecting aggregate, executeworkflowtrigger, github.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (15)

GI

GitHub

github

#1
HT

HTTP Request

httpRequest

#2
CA

Call n8n Workflow Tool

n8n-nodes-langchain.toolWorkflow

#3

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier build-your-own-github-mcp-server téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

{ "name": "Build your own Github MCP server", "nodes": [...], ...}

Intégrations

aggregateexecuteworkflowtriggergithubhttprequestmcptriggersetswitchtoolworkflow

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds15
Complexitémedium
Déclencheurtrigger
Vues2,284

Créé par

Jimleuk

Jimleuk

@jimleuk

Tags

aggregateexecuteworkflowtriggergithubhttprequestmcptriggersetswitchtoolworkflow

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →