Files
helm/mcp-proxy/start.sh
T
2026-06-02 08:55:23 +00:00

17 lines
414 B
Bash

#!/bin/sh
sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
apk add --no-cache npm uv
cp /tmp/engram /usr/local/bin/ && echo 'install engram done.'
which node || exit 1
which npm || exit 1
which npx || exit 1
which uvx || exit 1
which engram || exit 1
catatonit -- mcp-proxy \
--named-server-config /config.json \
--host '0.0.0.0' \
--port '8080' \
--allow-origin '*'