MCP 服务器
基于主题生成主内容计划 (MCP) 的服务器。该服务器从网络上聚合资源,并将其组织成结构化的学习路径。
特征
为任何主题生成学习路径
使用网络搜索和抓取查找相关资源
按逻辑顺序组织资源
返回标准化的 JSON 结构,供客户端应用程序使用
技术栈
Python 3.9+
快速API
Pyppeteer 用于 JavaScript 密集型网页抓取
DuckDuckGo 搜索 API
用于 HTML 解析的 BeautifulSoup
安装
克隆存储库:
git clone https://github.com/yourusername/mcp_server.git cd mcp_server创建虚拟环境:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate安装依赖项:
pip install -r requirements.txt为 Pyppeteer 安装 Chrome/Chromium(如果尚未安装)
用法
启动服务器:
uvicorn main:app --reload通过
http://localhost:8000
访问 API通过向以下对象发出 GET 请求来生成 MCP:
GET /generate_mcp?topic=your_topic查看
http://localhost:8000/docs
上的 API 文档
API 端点
GET /health
- 健康检查端点GET /generate_mcp?topic={topic}
- 为指定主题生成 MCP
部署
该服务器可以部署到各种平台:
使用 Docker
部署到 Render、Fly.io 或其他平台
按照特定于平台的说明部署 Docker 容器或 Python 应用程序。
执照
私
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
通过聚合网络资源并将其组织成针对任何主题的结构化学习路径来生成主内容计划 (MCP) 的服务器。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server for fetching and transforming web content into various formats.Last updated -47MIT License
- AsecurityFlicenseAqualityA specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.Last updated -81645
- -securityFlicense-qualityAn MCP server that enables generating scripts based on specified topics and keywords, while also providing functionality to store and summarize notes.Last updated -1
- AsecurityFlicenseAqualityAn MCP server that helps teams create, manage, and access structured project documentation through six core document types, leveraging AI to generate comprehensive project knowledge management.Last updated -53399