14 lines
674 B
JSON
14 lines
674 B
JSON
|
|
{
|
||
|
|
"mcpServers": {
|
||
|
|
"n8n-mcp": {
|
||
|
|
"_comment_1": "n8n exposes an MCP server over HTTP at /mcp-server/http on your n8n instance. Use the MCP-server JWT (audience: mcp-server-api), NOT the public-api REST token — they are different credentials with different audiences.",
|
||
|
|
"_comment_2": "Generate a new MCP-server API key in n8n: User icon (top right) → Settings → API → Create an API key. The key's audience is fixed at creation; choose the one labelled for MCP server access.",
|
||
|
|
"type": "http",
|
||
|
|
"url": "https://<your-n8n-host>/mcp-server/http",
|
||
|
|
"headers": {
|
||
|
|
"Authorization": "Bearer <your-n8n-mcp-jwt-here>"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|