mcp-server-collector

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.

Integrations

  • Provides a Discord server for MCP Server community support and discussion

  • Uses OpenAI's API for server functionality, with configuration for API key, base URL, and model selection (specifically gpt-4o-mini)

  • Offers a Telegram group for MCP Server community support and discussion

mcp-server-collector MCP 服务器

用于通过互联网收集 MCP 服务器的 MCP 服务器。

成分

资源

暂无资源。

提示

尚无提示。

工具

服务器实现了3个工具:

  • extract-mcp-servers-from-url:从给定的 URL 中提取 MCP 服务器。
    • 将“url”作为必需的字符串参数
  • extract-mcp-servers-from-content:从给定内容中提取 MCP 服务器。
    • 将“内容”作为必需的字符串参数
  • submit-mcp-server:将 MCP 服务器提交到 MCP 服务器目录,如 mcp.so。
    • 将“url”作为必需字符串参数,将“avatar_url”作为可选字符串参数

配置

需要设置.env 文件。

OPENAI_API_KEY="sk-xxx" OPENAI_BASE_URL="https://api.openai.com/v1" OPENAI_MODEL="gpt-4o-mini" MCP_SERVER_SUBMIT_URL="https://mcp.so/api/submit-project"

快速入门

安装

克劳德桌面

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

发展

构建和发布

准备分发包:

  1. 同步依赖项并更新锁文件:
uv sync
  1. 构建软件包分发版:
uv build

这将在dist/目录中创建源和轮子分布。

  1. 发布到 PyPI:
uv publish

注意:您需要通过环境变量或命令标志设置 PyPI 凭据:

  • 令牌: --tokenUV_PUBLISH_TOKEN
  • 或用户名/密码: --username / UV_PUBLISH_USERNAME--password / UV_PUBLISH_PASSWORD

调试

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

您可以使用以下命令通过npm启动 MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory path-to/mcp-server-collector run mcp-server-collector

启动后,检查器将显示一个 URL,您可以在浏览器中访问该 URL 以开始调试。

社区

关于作者

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

用于通过互联网收集 MCP 服务器的 MCP 服务器。

  1. Components
    1. Resources
    2. Prompts
    3. Tools
  2. Configuration
    1. Quickstart
      1. Install
    2. Development
      1. Building and Publishing
      2. Debugging
    3. Community
      1. About the author
        ID: akyjs073rw