- CLAUDE.md: Server instructions and service reference - docs/: Persistent documentation (architecture, guides) - .artifacts/: Session-generated notes - playwriter-browser/: Remote browser container config Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
51 lines
1.3 KiB
Markdown
51 lines
1.3 KiB
Markdown
# n8n MCP Setup
|
|
|
|
**Date:** 2026-02-01 13:50
|
|
**Context:** Set up n8n MCP server with API key for workflow automation
|
|
|
|
## API Key Details
|
|
|
|
- **API Key:** `n8n_api_d8bae3df1be532498e38a7bf3870a4e62713170f`
|
|
- **Label:** Claude-MCP
|
|
- **User ID:** ddac5ff1-e6fd-48bc-9a4a-970b6d73bafc (alezmad@gmail.com)
|
|
- **Scopes:** `["workflow:read","workflow:execute","user:read"]`
|
|
|
|
## MCP Configuration
|
|
|
|
Configured via MCP Docker gateway:
|
|
```bash
|
|
docker mcp secret set n8n.api_key=n8n_api_d8bae3df1be532498e38a7bf3870a4e62713170f
|
|
```
|
|
|
|
Config set:
|
|
```json
|
|
{
|
|
"api_url": "http://192.168.1.3:5678"
|
|
}
|
|
```
|
|
|
|
## Available Tools (42 total)
|
|
|
|
Key tools:
|
|
- `n8n_list_workflows` - List all workflows
|
|
- `n8n_create_workflow` - Create new workflow
|
|
- `n8n_get_workflow` - Get workflow by ID
|
|
- `search_nodes` - Search 543 n8n nodes
|
|
- `search_templates` - Browse workflow templates
|
|
- `n8n_trigger_webhook_workflow` - Execute via webhook
|
|
- `validate_workflow` - Validate workflow config
|
|
|
|
## Creation Method
|
|
|
|
API key created via direct SQLite insert (n8n was stopped briefly):
|
|
```bash
|
|
docker run --rm --user 1000:1000 -v uk0o04o0g84s4sc80kkoooc0_n8n-data:/data \
|
|
keinos/sqlite3 sqlite3 /data/database.sqlite \
|
|
"INSERT INTO user_api_keys (...) VALUES (...)"
|
|
```
|
|
|
|
## Related
|
|
- n8n UI: http://192.168.1.3:5678
|
|
- n8n container: n8n-uk0o04o0g84s4sc80kkoooc0
|
|
- MCP version: 2.22.17 (update available: 2.33.5)
|