Skip to main content
Glama
by adamwattis

资源中心服务器

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

概述

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

  • 访问集中配置的工具和资源

  • 在不同环境之间共享配置

  • 集中管理 MCP 服务器设置

Related MCP server: Project Content Server

用法

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/adamwattis/resource-hub-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server