Skip to content

Instantly share code, notes, and snippets.

@vtanathip
Created July 1, 2025 16:09
Show Gist options
  • Save vtanathip/56b65936927b9173ba0270a422d699c1 to your computer and use it in GitHub Desktop.
Save vtanathip/56b65936927b9173ba0270a422d699c1 to your computer and use it in GitHub Desktop.
{
"name": "Github MCP Server",
"nodes": [
{
"parameters": {
"path": "0056a959-12e5-4c0b-80b9-9fa2a07b7c84"
},
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"typeVersion": 2,
"position": [
-120,
-80
],
"id": "f02424db-a2e0-482b-8a92-9235f7170663",
"name": "MCP Server Trigger",
"webhookId": "0056a959-12e5-4c0b-80b9-9fa2a07b7c84"
},
{
"parameters": {
"resource": "repository",
"operation": "get",
"owner": {
"__rl": true,
"value": "vtanathip",
"mode": "name"
},
"repository": {
"__rl": true,
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Repository_Name', ``, 'string') }}",
"mode": "url",
"__regex": "https:\\/\\/github.com\\/(?:[-_0-9a-zA-Z]+)\\/([-_.0-9a-zA-Z]+)"
}
},
"type": "n8n-nodes-base.githubTool",
"typeVersion": 1.1,
"position": [
-40,
140
],
"id": "089aaf52-58f8-4feb-924c-0e6e6104d5cf",
"name": "Get a repository in GitHub",
"webhookId": "57ca0c28-3580-4981-ba94-1e05d475aaf4",
"credentials": {
"githubApi": {
"id": "ufhSNoYXPN5LpnmX",
"name": "GitHub account"
}
}
}
],
"pinData": {},
"connections": {
"Get a repository in GitHub": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "821a803b-49db-4044-9cf7-049021b69e1a",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1bc3987acc84b0fee9943c821aceb4d699c3d2305fd3c2affb8cfc49f7f6d590"
},
"id": "X9fSQQoIKqJtEZbl",
"tags": []
}
{
"name": "Github Assitance",
"nodes": [
{
"parameters": {
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"typeVersion": 1.1,
"position": [
-1100,
-160
],
"id": "227b3a51-ac13-4d0f-ba8d-6d467f74492a",
"name": "When chat message received",
"webhookId": "4db4ed8d-1f41-4377-8291-bd82f2194ab1"
},
{
"parameters": {
"options": {
"systemMessage": "=You're email writer, please use MCP client to connect with MCP Server\n"
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2,
"position": [
-740,
-180
],
"id": "450a3831-967f-417d-be3b-647d0e4ce311",
"name": "AI Agent"
},
{
"parameters": {
"modelName": "models/gemini-2.5-flash",
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"typeVersion": 1,
"position": [
-840,
80
],
"id": "16e1e4c3-f4a6-44a2-8aa6-6693aa06dcff",
"name": "Google Gemini Chat Model",
"credentials": {
"googlePalmApi": {
"id": "pWrCx6XIyGNxJyNv",
"name": "Google GenAI"
}
}
},
{
"parameters": {
"sseEndpoint": "http://localhost:5678/mcp/0056a959-12e5-4c0b-80b9-9fa2a07b7c84"
},
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"typeVersion": 1,
"position": [
-340,
60
],
"id": "dff8f610-a5f2-4994-980a-8c65e000a0b9",
"name": "MCP Client",
"retryOnFail": true,
"alwaysOutputData": true,
"notesInFlow": false,
"executeOnce": false
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"typeVersion": 1.3,
"position": [
-600,
80
],
"id": "62052c3c-213a-49d1-8ef2-002bf7b23364",
"name": "Simple Memory"
}
],
"pinData": {},
"connections": {
"When chat message received": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"MCP Client": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "942d0138-ec97-4198-8c17-6cba678e3e57",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "1bc3987acc84b0fee9943c821aceb4d699c3d2305fd3c2affb8cfc49f7f6d590"
},
"id": "Q0SxubeUR9SpEiQi",
"tags": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment