MCP Server

by cabrit0

MCP 服务器

基于主题生成主内容计划 (MCP) 的服务器。该服务器从网络上聚合资源,并将其组织成结构化的学习路径。

特征

  • 为任何主题生成学习路径
  • 使用网络搜索和抓取查找相关资源
  • 按逻辑顺序组织资源
  • 返回标准化的 JSON 结构,供客户端应用程序使用

技术栈

  • Python 3.9+
  • 快速API
  • Pyppeteer 用于 JavaScript 密集型网页抓取
  • 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. 查看http://localhost:8000/docs上的 API 文档

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

通过聚合网络资源并将其组织成针对任何主题的结构化学习路径来生成主内容计划 (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