twitter-mcp vs memory
并排对比,帮你在这两个 MCP server 之间做选择。
twitter-mcp by Dishant27 | memory by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 3 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 30 | 77 |
| 官方 | — | ✓ |
| 分类 | 沟通协作效率工具开发者工具 | 知识库 / RAGAI / LLM 工具效率工具 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 14 个月前 | 本月 |
twitter-mcp · 概述
MCP 服务器实现 X (Twitter) 集成,通过 API 执行 CRUD 操作。
memory · 概述
一个实现持久化记忆的 MCP 服务器,使用本地知识图谱让 AI 模型能在聊天间记住用户信息。
twitter-mcp · 使用场景
- 通过 AI 代理自动发布社交媒体内容
- 监控提及并跟踪推文参与度
- 为企业编程管理 Twitter 账户
memory · 使用场景
- 通过记住用户偏好、历史和关系来个性化 AI 助手交互
- 构建维护对话历史的上下文感知聊天应用
- 创建在 AI 模型会话间持久化的知识库
twitter-mcp · 安装
安装步骤
- 创建 X 开发者账户并从 [X 开发者门户](https://developer.twitter.com/en/portal/dashboard) 获取 API 密钥
- 设置所需的环境变量:
``bash TWITTER_API_KEY=your_api_key TWITTER_API_SECRET=your_api_secret TWITTER_ACCESS_TOKEN=your_access_token TWITTER_ACCESS_TOKEN_SECRET=your_access_token_secret ``
- 克隆并安装:
``bash git clone https://github.com/Dishant27/twitter-mcp.git cd twitter-mcp npm install npm start ``
Claude Desktop 配置
添加到您的 Claude MCP 配置文件:
{
"name": "x",
"display_name": "X",
"description": "X MCP 允许 Claude 与 X (前 Twitter) 交互",
"path": "path/to/twitter-mcp/dist/index.js",
"startup": {
"env": {
"TWITTER_API_KEY": "your_api_key",
"TWITTER_API_SECRET": "your_api_secret",
"TWITTER_ACCESS_TOKEN": "your_access_token",
"TWITTER_ACCESS_TOKEN_SECRET": "your_access_token_secret"
}
},
"transport": "stdio"
}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"]
}
}
}