Toolhouse MCP Server

MIT License
8
  • Apple

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Toolhouse MCP 服务器

此 MCP 服务器允许您将 MCP 客户端与 Toolhouse 的工具连接起来。它基于Toolhouse和 Groq 的 API 构建,可实现快速推理。

模型上下文协议 (MCP)是一种开放协议,支持 LLM 应用程序与外部数据源和工具之间的无缝集成。无论您是构建 AI 驱动的 IDE、增强聊天界面,还是创建自定义 AI 工作流,MCP 都提供了一种标准化的方式,将 LLM 与其所需的上下文连接起来。

特征

  • 允许兼容的 MCP 客户端(即 Claude 桌面应用程序)访问庞大的工具库以增强其功能

配置

设置环境变量

  1. Toolhouse API 密钥:您需要 Toolhouse API 密钥才能访问 Toolhouse 平台。
    • Toolhouse注册并创建一个帐户,开始使用是免费的。
    • 从 Toolhouse 仪表板获取您的 API 密钥。
  2. Toolhouse Bundle :您需要创建一个捆绑包,本质上是一组您可以从 Toolhouse 平台上可用的工具中进行组装的工具。
    • 导航到Toolhouse Bundles并创建一个任意名称的 bundle,例如mcp-toolhouse
    • 添加您想要在客户端使用的工具,例如抓取网页、内存、发送电子邮件
    • 确保您的捆绑包看起来不错(它会自动保存)
  3. (可选)如果您不想在配置中使用以下环境变量,请设置它们:
    export TOOLHOUSE_API_KEY="your_toolhouse_api_key" export TOOLHOUSE_BUNDLE="your_bundle_name"

启动服务器

[!TIP] 如果您在配置客户端时遇到困难,例如 Cursor、Windsurf、Cline 等...请在 Github 上打开一个问题,我会亲自帮助您。

将此服务器添加到客户端配置中。例如,在 Claude 的桌面应用程序上,导航到该文件夹并手动更改名为claude_desktop_config.json的设置文件

在 MacOS 上:

~/Library/Application\ Support/Claude/claude_desktop_config.json

在 Windows 上:

%APPDATA%/Claude/claude_desktop_config.json

修改配置文件如下:

使用 UVX

{ "mcpServers": { "mcp-server-toolhouse": { "command": "uvx", "args": ["mcp_server_toolhouse"], "env": { "TOOLHOUSE_API_KEY": "your_toolhouse_api_key", "TOOLHOUSE_BUNDLE": "a_bundle_name" } } } }

带紫外线

{ "mcpServers": { "mcp-server-toolhouse": { "command": "uv", "args": [ "--directory", "/path/to/this/folder/mcp-server-toolhouse", "run", "mcp_server_toolhouse" ], "env": { "TOOLHOUSE_API_KEY": "your_toolhouse_api_key", "TOOLHOUSE_BUNDLE": "a_bundle_name" } } } }

在本地运行此项目

该项目尚未针对uvx等临时环境进行配置。请通过克隆仓库在本地运行该项目:

git clone https://github.com/toolhouse-community/mcp-server-toolhouse.git

将此工具添加为 MCP 服务器。

在 MacOS 上:

~/Library/Application\ Support/Claude/claude_desktop_config.json

在 Windows 上:

%APPDATA%/Claude/claude_desktop_config.json

修改配置文件以包含:

"toolhouse": { "command": "uv", "args": [ "--directory", "/path/to/this/repo/", "run", "mcp-server-toolhouse" ], "env": { "TOOLHOUSE_API_KEY": "your_toolhouse_api_key", "TOOLHOUSE_BUNDLE": "a_bundle_name" } }

待办事项

未来的改进包括:

  • 添加所有模块的测试覆盖率
  • 扩展 API 支持以增强工具配置

调试

由于 MCP 服务器通过 stdio 运行,调试起来可能比较困难。为了获得最佳调试体验,请使用MCP Inspector

通过npm启动检查器:

npx @modelcontextprotocol/inspector uv --directory /path/to/toolhouse_mcp run toolhouse-mcp

检查器将显示一个 URL 来访问浏览器中的调试工具。

-
security - not tested
A
license - permissive license
-
quality - not tested

此 MCP 服务器允许您将 MCP 客户端与Toolhouse的工具连接起来。

  1. Features
    1. Configuration
      1. Setup Environment Variables
      2. Starting the server
    2. With UVX
      1. With UV
        1. Run this project locally
      2. TODO
        1. Debugging
          ID: re2w48yrzg