@aiwerk/mcp-bridge 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/scripts/install-server.sh +16 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiwerk/mcp-bridge",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.4",
|
|
4
4
|
"description": "Standalone MCP server that multiplexes multiple MCP servers into one interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"build": "tsc",
|
|
45
45
|
"test": "node --import tsx --test tests/*.test.ts",
|
|
46
46
|
"typecheck": "tsc --noEmit",
|
|
47
|
-
"prepublishOnly": "
|
|
47
|
+
"prepublishOnly": "bash scripts/validate-recipes.sh",
|
|
48
48
|
"validate-recipe": "npx tsx bin/validate-recipe.ts",
|
|
49
49
|
"lint": "eslint src/",
|
|
50
50
|
"format": "prettier --write src/",
|
|
@@ -122,10 +122,14 @@ install_dependencies() {
|
|
|
122
122
|
echo "Pulling GitHub MCP server Docker image..."
|
|
123
123
|
docker pull ghcr.io/github/github-mcp-server ;;
|
|
124
124
|
linear)
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
local clone_dir="$HOME/.openclaw/mcp-servers/linear-mcp"
|
|
126
|
+
mkdir -p "$HOME/.openclaw/mcp-servers"
|
|
127
|
+
echo "Installing linear MCP server..."
|
|
128
|
+
npm install --prefix "$clone_dir" @anthropic-pb/linear-mcp-server ;;
|
|
127
129
|
wise)
|
|
128
|
-
|
|
130
|
+
# Clone outside plugin tree to avoid nested node_modules TS path conflicts
|
|
131
|
+
local clone_dir="$HOME/.openclaw/mcp-servers/wise-mcp"
|
|
132
|
+
mkdir -p "$HOME/.openclaw/mcp-servers"
|
|
129
133
|
if [ -d "$clone_dir/.git" ]; then
|
|
130
134
|
echo "Updating wise mcp-server..."; git -C "$clone_dir" pull --ff-only
|
|
131
135
|
else
|
|
@@ -134,7 +138,9 @@ install_dependencies() {
|
|
|
134
138
|
echo "Building wise mcp-server..."
|
|
135
139
|
(cd "$clone_dir" && npm install && npm run build) ;;
|
|
136
140
|
hetzner)
|
|
137
|
-
|
|
141
|
+
# Clone outside plugin tree to avoid nested node_modules TS path conflicts
|
|
142
|
+
local clone_dir="$HOME/.openclaw/mcp-servers/mcp-hetzner"
|
|
143
|
+
mkdir -p "$HOME/.openclaw/mcp-servers"
|
|
138
144
|
if [ -d "$clone_dir/.git" ]; then
|
|
139
145
|
echo "Updating hetzner mcp-server..."; git -C "$clone_dir" pull --ff-only
|
|
140
146
|
else
|
|
@@ -148,14 +154,14 @@ install_dependencies() {
|
|
|
148
154
|
resolve_path_override() {
|
|
149
155
|
case "$SERVER_NAME" in
|
|
150
156
|
linear)
|
|
151
|
-
local
|
|
152
|
-
if [ -f "$
|
|
153
|
-
echo "$
|
|
157
|
+
local lin_dir="$HOME/.openclaw/mcp-servers/linear-mcp/node_modules/@anthropic-pb/linear-mcp-server"
|
|
158
|
+
if [ -f "$lin_dir/dist/index.js" ]; then
|
|
159
|
+
echo "$lin_dir/dist/index.js"
|
|
154
160
|
else
|
|
155
|
-
echo "$
|
|
161
|
+
echo "$lin_dir/build/index.js"
|
|
156
162
|
fi ;;
|
|
157
|
-
wise) echo "$
|
|
158
|
-
hetzner) echo "$
|
|
163
|
+
wise) echo "$HOME/.openclaw/mcp-servers/wise-mcp/dist/cli.js" ;;
|
|
164
|
+
hetzner) echo "$HOME/.openclaw/mcp-servers/mcp-hetzner/dist/index.js" ;;
|
|
159
165
|
*) echo "" ;;
|
|
160
166
|
esac
|
|
161
167
|
}
|