CM

chatmcp/mcp-server-collector

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 6 forks 品質 51 トレンド 0

ネット上でMCPサーバーを収集するために使用されるMCPサーバー.

概要

ネット上でMCPサーバーを収集するために使用されるMCPサーバー。 - 抽出-mcp-servers-from-url:抽出MCP 指定されたURLからサーバー。 - 必要な文字列引数として "url" を取る - 抽出-mcp-servers-from-content: 抽出 MCP 特定のコンテンツからのサーバー。 - 必須の文字列引数として "content" を取る - 送信-mcp-server: mcp.so のような MCP Server ディレクトリに MCP Server を送信します。 - 必要な文字列引数として "url" と "avatar url" をオプションの文字列引数として取得します。 MacOSの場合:~/Library/Application\ Support/Claude/claude desktop config.json Windowsの場合:%APPDATA%/Claude/claude desktop config.json 開発/公開されていないサーバー構成 配布用のパッケージを用意するには: 1。 依存関係を同期し、ロックファイルを更新します。 これにより、dist/ ディレクトリにソースとホイールの分布が生成されます。 Note: 環境変数やコマンドフラグで PyPI の資格情報を設定する必要があります

概要(AI 翻訳)

ネット上でMCPサーバーを収集するために使用されるMCPサーバー。

コンポーネント

リソース

リソースはまだありません。

プロンプト

プロンプトはまだありません。

ツール

サーバは3つのツールを実行します。

  • 抽出-mcp-servers-from-url:抽出MCP 指定した URL からのサーバー。
  • 必須文字列引数として “url” を取る
  • 抽出-mcp-servers-from-content: 抽出MCP 特定のコンテンツからのサーバー。
  • 必須の文字列引数として “content” を取る
  • submit-mcp-server:mcp.so のような MCP Server ディレクトリに MCP Server を送信します。
  • 必要な文字列引数として “url” と “avatar url” をオプションの文字列引数として取得します。

設定

.env ファイルの設定が必要です。

クイックスタート

インストール

####Claudeデスクトップ

MacOSの場合: [~/Library/Application\ Support/Claude/claude_desktop_config.json Windowsの場合: [[T1]

開発/公開されていないサーバー構成

公開サーバーの設定

開発

建物・出版

配布用のパッケージを用意するには:

1。 依存関係を同期し、ロックファイルを更新します。

  1. パッケージの配分を造ります:

[dist/]ディレクトリにソースとホイール分布を作成します。

  1. PyPI に公開:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mcp-server-collector MCP server

A MCP Server used to collect MCP Servers over the internet.

Components

Resources

No resources yet.

Prompts

No prompts yet.

Tools

The server implements 3 tools:

  • extract-mcp-servers-from-url: Extracts MCP Servers from given URL.
    • Takes “url” as required string argument
  • extract-mcp-servers-from-content: Extracts MCP Servers from given content.
    • Takes “content” as required string argument
  • submit-mcp-server: Submits a MCP Server to the MCP Server Directory like mcp.so.
    • Takes “url” as required string argument and “avatar_url” as optional string argument

Configuration

.env file is required to be set up.

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"

Quickstart

Install

Claude Desktop

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

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You’ll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

GitHub で README 全文を見る

インストール

uvx mcp-server-fetch
MCP 初心者?mcpskill.org のガイドから始めましょう →