gm-exec vs memory
并排对比,帮你在这两个 MCP server 之间做选择。
gm-exec by AnEntrypoint | memory by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 122 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 47 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具效率工具其它 | 知识库 / RAGAI / LLM 工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
gm-exec · 概述
MCP服务器,支持多语言代码执行和后台处理。
memory · 概述
一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。
gm-exec · 使用场景
- 在支持MCP的应用中执行各种编程语言的代码片段
- 在隔离环境中运行测试和构建命令
- 后台处理长时间运行的计算任务
memory · 使用场景
- 通过记住用户偏好、历史和关系来个性化 AI 助手交互
- 构建维护对话历史的上下文感知聊天应用
- 创建在 AI 模型会话间持久化的知识库
gm-exec · 安装
安装
全局安装:
bun install -g gm-exec
gm-exec --mcp添加到MCP客户端配置:
{
"mcpServers": {
"gm-exec": {
"command": "bunx",
"args": ["gm-exec", "--mcp"]
}
}
}要求:
- Bun ≥ 1.0
安装Bun:
curl -fsSL https://bun.sh/install | bashmemory · 安装
安装
Claude Desktop
添加到你的 claude_desktop_config.json 文件中:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}VS Code
使用一键安装按钮或在 .vscode/mcp.json 中手动配置:
{
"servers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}Docker
{
"mcpServers": {
"memory": {
"command": "docker",
"args": ["run", "-i", "-v", "claude-memory:/app/dist", "--rm", "mcp/memory"]
}
}
}