{"_id":"n8n-mcp-server","_rev":"2-e9c3ecc26b8ca0cd8af72856d8f7cb88","name":"n8n-mcp-server","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"n8n-mcp-server","version":"0.1.0","keywords":["mcp","n8n","workflow","automation","ai"],"author":"","license":"MIT","_id":"n8n-mcp-server@0.1.0","maintainers":[{"name":"nazcamedia","email":"nazcamedianet@gmail.com"}],"bin":{"n8n-mcp-server":"build/index.js"},"dist":{"shasum":"858a0ff852a914720c167619ed60e1c4a6daa537","tarball":"https://registry.npmjs.org/n8n-mcp-server/-/n8n-mcp-server-0.1.0.tgz","fileCount":170,"integrity":"sha512-BKOnhJC32ySSg0ThbCz28FwSaoGCgxhwjGHaaCyWRkoxPLIDC6FbW/xuTSnQyM1DFyoU8djkde2K72ZxxRgeYg==","signatures":[{"sig":"MEYCIQCeIZCHn+RSaXl00b1Zd84agnwaNYTF+Sqh+X7lKsZw1gIhAPW4kFqUzDxAO71sjZIgTcXEg2T/ZSLdl6Ii3BTuH+Vn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":507437},"main":"build/index.js","type":"module","types":"./build/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"2cd565cfa63749c62be25cc5805c944bbc538360","scripts":{"dev":"tsc -w","lint":"eslint --ext .ts src/","test":"node --experimental-vm-modules run-tests.js","build":"tsc && chmod +x build/index.js","start":"node build/index.js","prepare":"npm run build","test:watch":"node --experimental-vm-modules run-tests.js --watch","test:coverage":"node --experimental-vm-modules run-tests.js --coverage"},"_npmUser":{"name":"nazcamedia","email":"nazcamedianet@gmail.com"},"_npmVersion":"10.8.2","description":"Model Context Protocol (MCP) server for n8n workflow automation","directories":{},"_nodeVersion":"20.18.3","dependencies":{"axios":"^1.6.2","dotenv":"^16.3.1","@modelcontextprotocol/sdk":"^0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.54.0","ts-jest":"^29.1.1","babel-jest":"^29.7.0","typescript":"^5.3.2","@babel/core":"^7.26.10","@types/jest":"^29.5.14","@types/node":"^20.10.0","@babel/preset-env":"^7.26.9","@babel/preset-typescript":"^7.26.0","@typescript-eslint/parser":"^6.13.1","@typescript-eslint/eslint-plugin":"^6.13.1","@babel/plugin-transform-modules-commonjs":"^7.26.3"},"_npmOperationalInternal":{"tmp":"tmp/n8n-mcp-server_0.1.0_1742198133256_0.6280355125261508","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2025-03-17T07:55:33.255Z","modified":"2026-01-28T18:18:21.370Z","0.1.0":"2025-03-17T07:55:33.461Z"},"license":"MIT","keywords":["mcp","n8n","workflow","automation","ai"],"description":"Model Context Protocol (MCP) server for n8n workflow automation","maintainers":[{"name":"nazcamedia","email":"nazcamedianet@gmail.com"}],"readme":"# n8n MCP Server\n\nA Model Context Protocol (MCP) server that allows AI assistants to interact with n8n workflows through natural language.\n\n## Overview\n\nThis MCP server provides tools and resources for AI assistants to manage n8n workflows and executions. It allows assistants to:\n\n- List, create, update, and delete workflows\n- Activate and deactivate workflows\n- Execute workflows and monitor their status\n- Access workflow information and execution statistics\n\n## Installation\n\n### Prerequisites\n\n- Node.js 18 or later\n- n8n instance with API access enabled\n\n### Install from npm\n\n```bash\nnpm install -g n8n-mcp-server\n```\n\n### Install from source\n\n```bash\n# Clone the repository\ngit clone https://github.com/leonardsellem/n8n-mcp-server.git\ncd n8n-mcp-server\n\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Optional: Install globally\nnpm install -g .\n```\n\n## Configuration\n\nCreate a `.env` file in the directory where you'll run the server, using `.env.example` as a template:\n\n```bash\ncp .env.example .env\n```\n\nConfigure the following environment variables:\n\n| Variable | Description | Example |\n|----------|-------------|---------|\n| `N8N_API_URL` | URL of the n8n API | `http://localhost:5678/api/v1` |\n| `N8N_API_KEY` | API key for authenticating with n8n | `n8n_api_...` |\n| `DEBUG` | Enable debug logging (optional) | `true` or `false` |\n\n### Generating an n8n API Key\n\n1. Open your n8n instance in a browser\n2. Go to Settings > API > API Keys\n3. Create a new API key with appropriate permissions\n4. Copy the key to your `.env` file\n\n## Usage\n\n### Running the Server\n\nFrom the installation directory:\n\n```bash\nn8n-mcp-server\n```\n\nOr if installed globally:\n\n```bash\nn8n-mcp-server\n```\n\n### Integrating with AI Assistants\n\nTo use this MCP server with AI assistants, you need to register it with your AI assistant platform. The exact method depends on the platform you're using.\n\nFor example, with the MCP installer:\n\n```bash\nnpx @anaisbetts/mcp-installer\n```\n\nThen register the server:\n\n```\ninstall_local_mcp_server path/to/n8n-mcp-server\n```\n\n## Available Tools\n\nThe server provides the following tools:\n\n### Workflow Management\n\n- `workflow_list`: List all workflows\n- `workflow_get`: Get details of a specific workflow\n- `workflow_create`: Create a new workflow\n- `workflow_update`: Update an existing workflow\n- `workflow_delete`: Delete a workflow\n- `workflow_activate`: Activate a workflow\n- `workflow_deactivate`: Deactivate a workflow\n\n### Execution Management\n\n- `execution_run`: Execute a workflow\n- `execution_get`: Get details of a specific execution\n- `execution_list`: List executions for a workflow\n- `execution_stop`: Stop a running execution\n\n## Resources\n\nThe server provides the following resources:\n\n- `n8n://workflows/list`: List of all workflows\n- `n8n://workflow/{id}`: Details of a specific workflow\n- `n8n://executions/{workflowId}`: List of executions for a workflow\n- `n8n://execution/{id}`: Details of a specific execution\n\n## Development\n\n### Building\n\n```bash\nnpm run build\n```\n\n### Running in Development Mode\n\n```bash\nnpm run dev\n```\n\n### Testing\n\n```bash\nnpm test\n```\n\n### Linting\n\n```bash\nnpm run lint\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}