{"_id":"@dopehunter/n8n-mcp-server","name":"@dopehunter/n8n-mcp-server","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@dopehunter/n8n-mcp-server","version":"0.1.0","description":"MCP server for n8n workflow management in Cursor","main":"dist/app.js","bin":{"n8n-mcp-server":"bin/cli.js"},"scripts":{"start":"node dist/app.js","start:dev":"nodemon","build":"tsc","test":"jest","test:unit":"jest --testPathPattern=tests/unit","test:integration":"jest --testPathPattern=tests/integration","test:e2e":"jest --testPathPattern=tests/e2e","test:coverage":"jest --coverage","lint":"eslint . --ext .ts","format":"prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"","prepublishOnly":"npm run build"},"publishConfig":{"access":"public"},"keywords":["n8n","mcp","cursor","workflow","smithery","protocol"],"author":{"name":"dopehunter"},"license":"ISC","repository":{"type":"git","url":"git+https://github.com/dopehunter/n8n_MCP_server_complete.git"},"dependencies":{"axios":"^1.8.2","cors":"^2.8.5","dotenv":"^16.4.7","express":"^4.21.2","js-yaml":"^4.1.0","winston":"^3.17.0"},"devDependencies":{"@types/cors":"^2.8.17","@types/express":"^5.0.0","@types/jest":"^29.5.14","@types/js-yaml":"^4.0.9","@types/node":"^22.13.10","@types/supertest":"^6.0.2","@typescript-eslint/eslint-plugin":"^8.26.0","@typescript-eslint/parser":"^8.26.0","eslint":"^9.22.0","jest":"^29.7.0","nodemon":"^3.1.9","prettier":"^3.5.3","supertest":"^7.0.0","ts-jest":"^29.2.6","ts-node":"^10.9.2","typescript":"^5.8.2"},"_id":"@dopehunter/n8n-mcp-server@0.1.0","gitHead":"762357ae9feb5ad5276c57d89cf80984070b1785","types":"./dist/app.d.ts","bugs":{"url":"https://github.com/dopehunter/n8n_MCP_server_complete/issues"},"homepage":"https://github.com/dopehunter/n8n_MCP_server_complete#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-SYHrtUNZz9s8kRHgEQmryOvHMwUPgiqHi/H7kuqPfDEEDCZ8SffpJe9HQYIJe+6BlUoDi9Oeko47uJAVV5NKfA==","shasum":"f8e0eba53dd9ff531006bd3239afce0378eed744","tarball":"https://registry.npmjs.org/@dopehunter/n8n-mcp-server/-/n8n-mcp-server-0.1.0.tgz","fileCount":56,"unpackedSize":80355,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHnqgvgCdPDFs0CSsOd91oaLnIyYAco1W6UIVcEwfWdLAiEAybNA/NzzTMoih9SatHmE/X05tHtb52sfCDboWhJ3jig="}]},"_npmUser":{"name":"dopehunter","email":"2k.krasnov@gmail.com"},"directories":{},"maintainers":[{"name":"dopehunter","email":"2k.krasnov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-mcp-server_0.1.0_1741544420882_0.45540470396677346"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-09T18:20:20.784Z","0.1.0":"2025-03-09T18:20:21.050Z","modified":"2025-03-09T18:20:21.340Z"},"maintainers":[{"name":"dopehunter","email":"2k.krasnov@gmail.com"}],"description":"MCP server for n8n workflow management in Cursor","homepage":"https://github.com/dopehunter/n8n_MCP_server_complete#readme","keywords":["n8n","mcp","cursor","workflow","smithery","protocol"],"repository":{"type":"git","url":"git+https://github.com/dopehunter/n8n_MCP_server_complete.git"},"author":{"name":"dopehunter"},"bugs":{"url":"https://github.com/dopehunter/n8n_MCP_server_complete/issues"},"license":"ISC","readme":"# n8n MCP Server\n\nA Model Context Protocol (MCP) server that enables seamless management of n8n workflows directly within LLMs and AI agents through the Smithery Model Context Protocol.\n\n![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-brightgreen.svg)\n\n## Features\n\n- List available workflows from n8n\n- View workflow details\n- Execute workflows\n- Monitor workflow executions\n- Pass parameters to workflows\n- MCP-compatible interface for AI agents\n\n## Components\n\n### Tools\n\n* **n8n_list_workflows**  \n   * List all workflows in the n8n instance  \n   * Input: None\n\n* **n8n_get_workflow**  \n   * Get details of a specific workflow  \n   * Input: `workflowId` (string, required): ID of the workflow to retrieve\n\n* **n8n_execute_workflow**  \n   * Execute an n8n workflow  \n   * Inputs:  \n     * `workflowId` (string, required): ID of the workflow to execute  \n     * `data` (object, optional): Data to pass to the workflow\n\n* **n8n_get_executions**  \n   * Get execution history for a workflow  \n   * Inputs:  \n     * `workflowId` (string, required): ID of the workflow to get executions for  \n     * `limit` (number, optional): Maximum number of executions to return\n\n* **n8n_activate_workflow**  \n   * Activate a workflow  \n   * Input: `workflowId` (string, required): ID of the workflow to activate\n\n* **n8n_deactivate_workflow**  \n   * Deactivate a workflow  \n   * Input: `workflowId` (string, required): ID of the workflow to deactivate\n\n## Prerequisites\n\n- Node.js (v14+)\n- n8n instance with API access\n- An LLM or AI agent that supports the Model Context Protocol\n\n## Configuration Options\n\n### Docker Configuration\n\n```json\n{\n  \"mcpServers\": {\n    \"n8n\": {\n      \"command\": \"docker\",\n      \"args\": [\"run\", \"-i\", \"--rm\", \"--init\", \"-e\", \"N8N_API_KEY=$N8N_API_KEY\", \"-e\", \"N8N_BASE_URL=$N8N_BASE_URL\", \"mcp/n8n-mcp-server\"]\n    }\n  }\n}\n```\n\n### NPX Configuration\n\n```json\n{\n  \"mcpServers\": {\n    \"n8n\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@dopehunter/n8n-mcp-server\"]\n    }\n  }\n}\n```\n\n## Installation\n\n1. Clone the repository\n   ```\n   git clone https://github.com/dopehunter/n8n_MCP_server_complete.git\n   cd n8n_MCP_server_complete\n   ```\n\n2. Install dependencies\n   ```\n   npm install\n   ```\n\n3. Configure environment variables\n   ```\n   cp .env.example .env\n   ```\n   Edit the `.env` file with your n8n API details.\n\n## Development\n\nStart the development server:\n```\nnpm run start:dev\n```\n\nBuild the project:\n```\nnpm run build\n```\n\nRun tests:\n```\nnpm test\n```\n\n## Usage With Claude or Other LLMs\n\n1. Start the MCP server:\n   ```\n   npm start\n   ```\n\n2. Configure your LLM client to use the MCP server:\n   - For Claude Desktop, use the configuration from the \"Configuration Options\" section.\n   - For other clients, point to the server URL (e.g., `http://localhost:3000/mcp`).\n\n3. Your LLM can now use n8n workflows directly through MCP commands.\n\n## Building Docker Image\n\n```bash\ndocker build -t mcp/n8n-mcp-server .\n```\n\n## API Documentation\n\nSee the [API Documentation](docs/api.md) for details on the available MCP functions.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the ISC License. ","readmeFilename":"README.md","_rev":"1-fa122b65585d759acd1c47c03be4122a"}