n8n nodes for Smart Browser Automation via MCP
npm install n8n-nodes-browser-mcpn8n-nodes-browser-smart-automation — n8n nodes for Smart Browser Automation via MCP.
---
Prerequisites:
- Node.js (>= 18)
- npm
Install dependencies:
``bash`
npm install
Build the nodes:
`bash`
npm run build
Run tests:
`bash`
npm test
Lint the code:
`bash`
npm run lint
For development (watch TypeScript):
`bash`
npm run dev
---
Top-level:
- nodes/ — TypeScript source for each n8n node groupMcpClientEX/
- — client nodeMcpClientToolEX/
- — tool nodeMcpTriggerEX/
- — trigger nodeshared/
- — shared utilities, types and helpersdist/
- — built artifacts (included in files for publishing)package.json
- — scripts and metadatatsconfig.json
- , tsup.config.ts, jest.config.js, gulpfile.js
---
- McpClientEX — core MCP client integrationMcpClientToolEX
- — helper tool utilities for MCPMcpTriggerEX
- — trigger node for MCP events
After building, the compiled nodes are available under dist/ and referenced in package.json for n8n consumption.
---
Install and build the project, then copy the dist folder into your n8n custom nodes directory, or publish the package to npm and install it into your n8n instance. Restart n8n after adding new nodes.
If you want to run a single node's tests:
`bash`
npx jest nodes/McpClientEX --runInBand
---
- Building: npm run build (uses tsup).npm test
- Tests: (uses jest).npm run lint
- Linting: (eslint over nodes/).
Tips:
- Keep shared code in nodes/shared/ and add tests in __test__ folders next to the code.tsc --watch
- Use (via npm run dev) for fast iteration on types.
---
Contributions are welcome. Please:
1. Create an issue describing the change or feature.
2. Open a branch with a descriptive name.
3. Add tests for new behavior and ensure all tests pass.
4. Create a pull request and reference the issue.
---
This project is licensed under the MIT License — see package.json` for details.
---
> If you want, I can add CI instructions, badges, or a contributing checklist next. 💡