Skip to content

Contributing

automation-bot edited this page Aug 20, 2025 · 4 revisions

Contributing

Thanks for your interest in contributing! This project aims to globally integrate MCP server and CLI utilities.

Local development

  • Node.js 18+ recommended
  • Install deps: npm install
  • Run tests: N8N_API_URL='<base>/api/v1' N8N_API_KEY='<key>' npm test
    • If env vars are not set, E2E is skipped; unit tests still run in dry-run mode.
  • Start MCP server: N8N_API_URL='<base>/api/v1' N8N_API_KEY='<key>' npm run mcp:n8n

Code style

  • Keep changes minimal and focused
  • Avoid committing secrets; use .env and .env.example
  • Prefer async/await and small, testable functions

Security

  • Use short‑lived API keys for testing

  • Do not log request bodies or headers

  • See SECURITY.md for hardening options and logging controls

  • Repo layout conventions

    • Place bundled example OpenAPI specs under examples/specs/ (these may be linted and referenced by examples and docs).
    • Place local/vendor/private specs under specs/ and reference them explicitly in configs (e.g., examples/services.example.json).
    • Put ad‑hoc or helper scripts under examples/scripts/ rather than the project root.
    • Avoid adding large binary artifacts to the repo; prefer linking or generating at build/test time.

✨ Helpful Links

  • 🚀 WisprFlow AI (affiliate) → Open

📚 Pages

⚡ Quick Commands

  • OpenAPI Server: npm run mcp:openapi
  • n8n Server: npm run mcp:n8n
Clone this wiki locally