Notion MCP Server connection

Hi, I’m trying to connect to Notion MCP server in order to ask question to our knowledge base but I’ don’t know how to actually connect N8N to the server.

I referred to this doc on Notion Notion MCP – Getting started – How to connect Notion to your favorite AI tools which does not provide a lot of infos.

I just created a simple workflow with an AI agent relying on MCP Client, and entered the url provided in the Notion doc. It kind of miss a part where it asks me to connect through OAuth.

I asked the Notion team but here’s their reply

Did you find a way to make it work ?

What is the error message (if any)?

Please share your workflow

{
“nodes”: [
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.chatTrigger”,
“typeVersion”: 1.3,
“position”: [
0,
0
],
“id”: “eda666d8-3bfb-4d8d-b9ab-a232386bf808”,
“name”: “When chat message received”,
“webhookId”: “419342a2-5f01-4745-a233-db39ab7d7006”
},
{
“parameters”: {
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.agent”,
“typeVersion”: 2.2,
“position”: [
208,
0
],
“id”: “31d70b24-0047-44d2-b6e1-ff9cc48146c2”,
“name”: “AI Agent”
},
{
“parameters”: {
“endpointUrl”: “https://mcp.notion.com/mcp”,
“serverTransport”: “httpStreamable”,
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.mcpClientTool”,
“typeVersion”: 1.1,
“position”: [
416,
240
],
“id”: “c37a0347-da3e-48ce-ab61-9c16b2d728ee”,
“name”: “MCP Client”
},
{
“parameters”: {
“model”: {
“__rl”: true,
“mode”: “list”,
“value”: “gpt-4.1-mini”
},
“options”: {}
},
“type”: “@n8n/n8n-nodes-langchain.lmChatOpenAi”,
“typeVersion”: 1.2,
“position”: [
80,
208
],
“id”: “b02cf39d-dfba-4a85-85ca-1147ce96d987”,
“name”: “OpenAI Chat Model”,
“credentials”: {
“openAiApi”: {
“id”: “WY65FtjjsR7TZbr6”,
“name”: “OpenAI N8N Project”
}
}
},
{
“parameters”: {},
“type”: “@n8n/n8n-nodes-langchain.memoryBufferWindow”,
“typeVersion”: 1.3,
“position”: [
224,
208
],
“id”: “4dedf926-40b8-486c-8fac-53174a03ffb3”,
“name”: “Simple Memory”
}
],
“connections”: {
“When chat message received”: {
“main”: [
[
{
“node”: “AI Agent”,
“type”: “main”,
“index”: 0
}
]
]
},
“MCP Client”: {
“ai_tool”: [
[
{
“node”: “AI Agent”,
“type”: “ai_tool”,
“index”: 0
}
]
]
},
“OpenAI Chat Model”: {
“ai_languageModel”: [
[
{
“node”: “AI Agent”,
“type”: “ai_languageModel”,
“index”: 0
}
]
]
},
“Simple Memory”: {
“ai_memory”: [
[
{
“node”: “AI Agent”,
“type”: “ai_memory”,
“index”: 0
}
]
]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “83e4ac7e4b6c42430ffd1c4f0473bf5366032768ce76f9e3374173fb747ebe3d”
}
}

Share the output returned by the last node

Information on your n8n setup

Hi Damien_Busch1,

Unfortunately it’s not yet possible to use an MCP server in n8n that relies on OAuth authentication like the one from Notion does.

Luckily it seems the team has finally tackled this shortcoming and the feature was merged 3 days ago in this pull request: https://github.com/n8n-io/n8n/pull/21034

Let’s hope that it will be included in the next release :partying_face:

Regards

Michael

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.