short-url vs memory
并排对比,帮你在这两个 MCP server 之间做选择。
short-url by fengzhongsen | memory by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 19 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 39 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具效率工具沟通协作 | 知识库 / RAGAI / LLM 工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 5 个月前 | 本月 |
short-url · 概述
简单开源的短链服务,支持通过 MCP 协议与 AI 助手集成。
memory · 概述
一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。
short-url · 使用场景
- AI 助手在分享 URL 时自动生成短链接
- 团队使用 AI 聊天界面为内部资源生成可共享的链接
- 开发者将短链生成集成到自动化工作流中
memory · 使用场景
- 通过记住用户偏好、历史和关系来个性化 AI 助手交互
- 构建维护对话历史的上下文感知聊天应用
- 创建在 AI 模型会话间持久化的知识库
short-url · 安装
安装
Docker(推荐)
docker compose up -d --build手动安装
# 安装依赖
npm install
# 同时启动前后端
npm start
# 或分别启动:
npm run start:server # 仅启动后端(端口 3001)
npm run start:client # 仅启动前端(端口 3000)Claude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"short-url": {
"command": "npx",
"args": ["-y", "short-mcp-server"],
"env": {
"API_ORIGIN": "http://localhost:3001",
"API_KEY": "YOUR_API_KEY"
}
}
}
}将 YOUR_API_KEY 替换为你在系统中生成的实际 API 密钥。
memory · 安装
安装
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"]
}
}
}