新增engram mcp

This commit is contained in:
Sense T
2026-06-02 08:55:23 +00:00
parent e599503aae
commit b5d5842234
4 changed files with 42 additions and 10 deletions
+7
View File
@@ -7,6 +7,13 @@
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
},
"engram": {
"env": {
"ENGRAM_DATA_DIR": "/engram-data"
},
"command": "engram",
"args": ["mcp"]
}
}
}
+20
View File
@@ -21,6 +21,20 @@ spec:
- name: data
persistentVolumeClaim:
claimName: mcp-proxy
- name: engram-data
hostPath:
path: /data/engram
type: DirectoryOrCreate
initContainers:
- name: engram-init
image: engram
command:
- /bin/sh
- -c
- "cp -r /usr/local/bin/engram /tmp/engram"
volumeMounts:
- name: tmp
mountPath: /tmp
containers:
- name: mcp-proxy
image: image
@@ -41,6 +55,8 @@ spec:
value: https://registry.npmmirror.com/
- name: UV_INDEX_URL
value: https://pypi.tuna.tsinghua.edu.cn/simple
- name: ENGRAM_DATA_DIR
value: /engram-data
volumeMounts:
- mountPath: /config.json
name: config
@@ -60,6 +76,10 @@ spec:
- mountPath: /root/.config
name: data
subPath: .config
- mountPath: /engram-data
name: engram-data
- mountPath: /tmp
name: tmp
livenessProbe:
httpGet:
port: 8080
+3
View File
@@ -19,3 +19,6 @@ images:
- name: node
newName: cr.wetofu.me/library/node
newTag: lts-alpine3.23
- name: engram
newName: ghcr.io/gentleman-programming/engram
newTag: v1.16.1
+6 -4
View File
@@ -2,11 +2,13 @@
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
which npm
which npx
which uvx
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 \