Skip to content

Commit 91957cd

Browse files
chenrui333daeho-ro
authored andcommitted
n8n-mcp 2.14.1 (new formula)
Signed-off-by: Rui Chen <[email protected]>
1 parent a976acc commit 91957cd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Formula/n/n8n-mcp.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
class N8nMcp < Formula
2+
desc "MCP for Claude Desktop, Claude Code, Windsurf, Cursor to build n8n workflows"
3+
homepage "https://www.n8n-mcp.com/"
4+
url "https://registry.npmjs.org/n8n-mcp/-/n8n-mcp-2.14.1.tgz"
5+
sha256 "ca2d0f2e058ac61657b97902cce1826dd24ec6ac066b74ae929ea3aaf9fe6505"
6+
license "MIT"
7+
8+
depends_on "node"
9+
10+
def install
11+
system "npm", "install", *std_npm_args
12+
bin.install_symlink Dir["#{libexec}/bin/*"]
13+
end
14+
15+
test do
16+
ENV["N8N_API_URL"] = "https://your-n8n-instance.com"
17+
ENV["N8N_API_KEY"] = "your-api-key"
18+
19+
output_log = testpath/"output.log"
20+
pid = spawn bin/"n8n-mcp", testpath, [:out, :err] => output_log.to_s
21+
sleep 10
22+
assert_match "n8n Documentation MCP Server running on stdio transpor", output_log.read
23+
ensure
24+
Process.kill("TERM", pid)
25+
Process.wait(pid)
26+
end
27+
end

0 commit comments

Comments
 (0)