From 6ebf2390b0c2eb586286f61e30d952d1922130ef Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 May 2026 08:01:56 +0000 Subject: [PATCH] docs: switch mcp-bridge invocation from node to deno run -A mcp-bridge/main.js uses Deno APIs (Deno.env.get, Deno.stdin.readable, Deno.exit) and ships a deno.json config, but README.md, README.adoc, docs/index.html, and package.json#start all told users to launch it with node, causing ReferenceError: Deno is not defined on first install. https://claude.ai/code/session_01G9pKozzr5GYMkAC9NgqUju --- README.adoc | 4 ++-- README.md | 2 +- docs/index.html | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 659dc444..aad0968a 100644 --- a/README.adoc +++ b/README.adoc @@ -18,7 +18,7 @@ Add to Claude Code: [source,bash] ---- -claude mcp add boj-server -- node /path/to/boj-server/mcp-bridge/main.js +claude mcp add boj-server -- deno run -A /path/to/boj-server/mcp-bridge/main.js ---- Or clone and configure: @@ -28,7 +28,7 @@ Or clone and configure: git clone https://github.com/hyperpolymath/boj-server cd boj-server/mcp-bridge && npm install # Start the BoJ REST API first (port 7700), then: -claude mcp add boj-server -- node mcp-bridge/main.js +claude mcp add boj-server -- deno run -A mcp-bridge/main.js ---- Glama listing: https://glama.ai/mcp/servers/hyperpolymath/boj-server diff --git a/README.md b/README.md index c7921ae2..1d20fee9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Or clone and configure: git clone https://github.com/hyperpolymath/boj-server cd boj-server/mcp-bridge && npm install # Start the BoJ REST API first (port 7700), then: -claude mcp add boj-server -- node mcp-bridge/main.js +claude mcp add boj-server -- deno run -A mcp-bridge/main.js ``` Glama listing: diff --git a/docs/index.html b/docs/index.html index 10bdc372..2da63024 100644 --- a/docs/index.html +++ b/docs/index.html @@ -45,7 +45,7 @@

boj-server

Install

# Add to Claude Code
-claude mcp add boj-server -- node /path/to/boj-server/mcp-bridge/main.js
+claude mcp add boj-server -- deno run -A /path/to/boj-server/mcp-bridge/main.js
 
 # Or clone and configure
 git clone https://github.com/hyperpolymath/boj-server
diff --git a/package.json b/package.json
index 0ee42317..2c74d4be 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,7 @@
     "boj-server": "mcp-bridge/main.js"
   },
   "scripts": {
-    "start": "node mcp-bridge/main.js",
+    "start": "deno run -A mcp-bridge/main.js",
     "test": "node --test mcp-bridge/tests/dispatch_test.js"
   },
   "engines": {