mcp-connector
by foobara·★ 2·综合分 35
一个 Ruby 宝石库,将 Foobara 命令作为 MCP 工具暴露,可与 Claude 等 AI 助手集成。
developer-toolsai-llmother
0
Forks
0
活跃 Issue
1 个月前
最近提交
2 天前
收录于
概述
McpConnector 提供了一种简单的方法,将 Foobara 命令作为符合 MCP 规范的工具暴露。它支持将现有的 Ruby 业务逻辑转换为可调用工具,AI 助手可以使用这些工具。该实现使用 stdio 通信协议,并能通过配置与 Claude Desktop 无缝集成。它处理不同类型的命令,包括简单计算和数据库操作。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:将 Ruby 业务逻辑与 AI 助手集成
你:通过 MCP 暴露数据库操作
你:为 AI 创建自定义工具以用于数据处理任务
你:什么是 Foobara?
你:除了 Claude,这还能与其他 AI 助手一起使用吗?
什么时候选它
如果您在 Ruby 应用中使用 Foobara 并希望将业务逻辑作为 MCP 工具暴露给 AI 助手,请选择此服务器。
什么时候不要选它
如果您不使用 Foobara,需要高级功能如身份验证,或需要 Ruby 以外的多语言支持,请避免使用此服务器。
此 server 暴露的工具
从 README 抽取出 4 个工具BuildSuperDuperSecretseed: integerCubes an integer seed value to generate a super duper secret
FindAllCapybarasRetrieves all capybaras from the database
CreateCapybaraname: string, year_of_birth: integerCreates a new capybara with the given name and birth year
UpdateCapybaraid: integer, year_of_birth: integerUpdates the birth year of a capybara by ID
可对比工具
ruby-mcpshell-mcpcustom-mcp-server
安装
安装:
gem install foobara-mcp-connectorClaude Desktop 配置:
{
"mcpServers": {
"mcp-test": {
"type": "stdio",
"command": "your-script-path",
"args": [],
"env": {}
}
}
}FAQ
- 什么是 Foobara?
- Foobara 是一个用于创建领域特定命令和实体的 Ruby 框架。McpConnector 专门将这些连接到 MCP。
- 除了 Claude,这还能与其他 AI 助手一起使用吗?
- 是的,任何支持 stdio 协议的 MCP 服务器的 AI 助手都可以使用此连接器。
mcp-connector 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。