
chatmcp/mcp-server-collector
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
ネット上で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。 依存関係を同期し、ロックファイルを更新します。
- パッケージの配分を造ります:
[dist/]ディレクトリにソースとホイール分布を作成します。
- 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:
- Sync dependencies and update lockfile:
uv sync
- Build package distributions:
uv build
This will create source and wheel distributions in the dist/ directory.
- Publish to PyPI:
uv publish
Note: You’ll need to set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--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.
インストール
uvx mcp-server-fetch