Resource Hub Server

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.

资源中心服务器

连接到资源中心的 MCP 服务器 - 配置和管理 MCP 服务器的中心位置。

概述

资源中心服务器充当本地 MCP 环境和资源中心之间的代理。它允许您:

  • 访问集中配置的工具和资源
  • 在不同环境之间共享配置
  • 集中管理 MCP 服务器设置

用法

npx 快速入门

运行服务器的最简单方法是使用 npx:

RESOURCE_HUB_TOKEN=your_token npx @adamwattis/resource-hub-server

从源运行

如果您想从源运行:

  1. 安装依赖项:
npm install
  1. 构建服务器:
npm run build
  1. 使用您的资源中心令牌运行:
RESOURCE_HUB_TOKEN=your_token npm start

配置

您需要一个资源中心令牌才能使用此服务器。您可以从资源中心令牌页面获取。

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "resource-hub-server": { "command": "npx @adamwattis/resource-hub-server" } } }

环境变量

  • RESOURCE_HUB_TOKEN (必需):您的资源中心身份验证令牌

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们建议使用MCP Inspector

npm run inspector

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

-
security - not tested
F
license - not found
-
quality - not tested

连接到资源中心的 MCP 服务器,允许跨不同 MCP 环境集中配置和管理工具和资源。

  1. Overview
    1. Usage
      1. Quick Start with npx
      2. Running from Source
      3. Configuration
      4. Environment Variables
      5. Debugging
    ID: at4s2w7dgj