# Running n8n
```
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-e GENERIC_TIMEZONE="Europe/Madrid" \
-e TZ="Europe/Madrid" \
-e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \
-e N8N_RUNNERS_ENABLED=true \
-v n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8n
```
Run as an interactive TTY and clean up the container when stopping.
n8n runners enabled is the task runner feature, which executes workflow nodes in isolated sub-processes rather than the main process — improving security and stability.
Be very careful about the timezone settings: If incorrect, you can get problems with nodes that are time-dependent, such as the IMAP email trigger. (Here you might see errors like "Search option argument must be a Date object or a parseable date string") So if something related to time isn't working, review the TZ settings. Note that if you configure a yaml file for your docker, the timezone values **must not** be in quotes.
By default, the MCP server for Claude to connect to n8n is here:
http://localhost:5678/mcp-server/http