MCP Server

by cabrit0

MCPサーバー

トピックに基づいてマスターコンテンツプラン(MCP)を生成するサーバー。このサーバーはWeb上のリソースを集約し、構造化された学習パスに整理します。

特徴

  • あらゆるトピックの学習パスを生成する
  • ウェブ検索とスクレイピングを使用して関連リソースを見つける
  • リソースを論理的な順序で整理する
  • クライアントアプリケーションが使用できる標準化された JSON 構造を返します。

技術スタック

  • Python 3.9以上
  • ファストAPI
  • JavaScript を多用する Web スクレイピングのための Pyppeteer
  • DuckDuckGo 検索 API
  • HTML解析用のBeautifulSoup

インストール

  1. リポジトリをクローンします。
    git clone https://github.com/yourusername/mcp_server.git cd mcp_server
  2. 仮想環境を作成します。
    python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
  3. 依存関係をインストールします:
    pip install -r requirements.txt
  4. Pyppeteer 用の Chrome/Chromium をインストールします (まだインストールされていない場合)

使用法

  1. サーバーを起動します。
    uvicorn main:app --reload
  2. http://localhost:8000で API にアクセスします。
  3. 次の GET リクエストを実行して MCP を生成します。
    GET /generate_mcp?topic=your_topic
  4. APIドキュメントhttp://localhost:8000/docsで確認してください。

APIエンドポイント

  • GET /health - ヘルスチェックエンドポイント
  • GET /generate_mcp?topic={topic} - 指定されたトピックのMCPを生成する

展開

サーバーはさまざまなプラットフォームに展開できます。

Dockerの使用

docker build -t mcp-server . docker run -p 8080:8080 mcp-server

Render、Fly.io、その他のプラットフォームへのデプロイ

Docker コンテナまたは Python アプリケーションをデプロイするには、プラットフォーム固有の指示に従います。

ライセンス

プライベート

-
security - not tested
-
license - not tested
-
quality - not tested

Web リソースを集約し、任意のトピックの構造化された学習パスに整理して、マスター コンテンツ プラン (MCP) を生成するサーバー。

  1. 特徴
    1. 技術スタック
      1. インストール
        1. 使用法
          1. APIエンドポイント
            1. 展開
              1. Dockerの使用
              2. Render、Fly.io、その他のプラットフォームへのデプロイ
            2. ライセンス

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.
                Last updated -
                4
                146
                12
                TypeScript
                MIT License
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                An MCP server for fetching and transforming web content into various formats.
                Last updated -
                4
                4
                Python
                MIT License
                • Apple
              • A
                security
                F
                license
                A
                quality
                An MCP (Model Context Protocol) server that provides Google search capabilities and webpage content analysis tools. This server enables AI models to perform Google searches and analyze webpage content programmatically.
                Last updated -
                3
                46
                41
                TypeScript
              • -
                security
                F
                license
                -
                quality
                An MCP server that provides tools and resources for managing a coding project's todo list, allowing users to view, add, update, and delete todo items with details like priority, status, and tags.
                Last updated -
                1
                Python

              View all related MCP servers

              ID: q960eyj3xm