rails-ai-context vs time
并排对比,帮你在这两个 MCP server 之间做选择。
rails-ai-context by crisnahine | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 139 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 50 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具数据库 | 效率工具开发者工具沟通协作 |
| 实现语言 | Ruby | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
rails-ai-context · 概述
38个 MCP 工具,为 AI 代理提供直接访问 Rails 应用架构、模型、路由和约定的能力。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
rails-ai-context · 使用场景
- AI 助手编写与实际架构匹配的 Rails 代码,而不是编造不存在的列
- 生成与现有模式匹配的测试(fixtures 与 factories)
- 在整个代码库中查找方法的所有调用者以了解影响
- 在一次调用中分析模型、控制器、视图和测试中的功能
- 理解视图组件、控制器和前端栈约定
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
rails-ai-context · 安装
安装
选项 1:作为 gem 安装(推荐)
gem "rails-ai-context", group: :development
rails generate rails_ai_context:install选项 2:独立安装(无需 Gemfile)
gem install rails-ai-context
cd your-rails-app
rails-ai-context init # 交互式设置
rails-ai-context serve # 启动 MCP 服务器Claude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"rails-ai-context": {
"command": "rails",
"args": ["ai:serve"],
"env": {}
}
}
}time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}