Configure MCP servers for n8n development in OpenCode. Use when the user says /setup-mcps or asks to set up MCP servers for n8n.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-setup-mcps-e77bb52b6b51 ,按照其中的说明把「n8n:setup-mcps」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Configure commonly used MCP servers for n8n engineers using OpenCode MCP config.
opencode mcp list
Parse by URL or command, not just server name. Skip any MCP whose URL is already present.
Known MCP URLs:
https://mcp.linear.app/mcphttps://mcp.notion.com/mcphttps://mcp.context7.com/mcphttps://mcp.figma.com/mcp| Option | Label | Description |
|---|---|---|
| Linear | Linear | Linear ticket management with OAuth |
| Notion | Notion | Notion workspace integration with OAuth |
| Context7 | Context7 | Library documentation lookup |
| Figma | Figma | Figma design integration with OAuth |
| Scope | Config path | When to use |
|---|---|---|
| user | ~/.config/opencode/opencode.json | Default. Available in all projects. |
| project | ./opencode.json | Only when the user explicitly wants repo-local config. |
mcp object in the selected config.
Preserve existing config keys and existing MCP entries.{
"mcp": {
"linear": {
"type": "remote",
"url": "https://mcp.linear.app/mcp",
"enabled": true
},
"notion": {
"type": "remote",
"url": "https://mcp.notion.com/mcp",
"enabled": true
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true
},
"figma": {
"type": "remote",
"url": "https://mcp.figma.com/mcp",
"enabled": true
}
}
}
opencode mcp auth <server-name>
Use the configured server names, for example linear, notion, or figma.
Context7 does not require OAuth by default.