
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

An MCP server framework that provides tools for parsing PDF, Word and Excel files and fetching web page content.
MCP development framework for file and web content tools is cataloged as an MCP server attributed to w-jeon. An MCP server framework that provides tools for parsing PDF, Word and Excel files and fetching web page content. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP development framework for file and web content tools are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Quick mode extracts only text, while full mode (the default) extracts both text and images.
Yes, it parses all worksheets, returning file info, row and column counts, column lists and full table data.
README.md · 02b07bee6986 · 采集于 2026-11-13 13:23:39 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
一个强大的MCP(Model Context Protocol)开发框架,用于创建与大语言模型交互的自定义工具。该框架提供了一套完整的工具集,可以轻松地扩展Cursor IDE的功能,实现网页内容获取、文件处理(PDF、Word、Excel)等高级功能。
本框架提供了以下核心功能:
使用file工具可以自动识别文件类型并选择合适的处理方式,支持PDF、Word和Excel文件。
file /path/to/documentfile_path - 文件的本地路径使用pdf工具可以处理PDF文档,支持两种处理模式:
pdf /path/to/document.pdf [mode]file_path - PDF文件的本地路径mode - 处理模式(可选):
quick - 快速预览模式,仅提取文本内容full - 完整解析模式,提取文本和图片内容(默认)使用word工具可以解析Word文档,提取文本、表格和图片信息。
word /path/to/document.docxfile_path - Word文档的本地路径使用excel工具可以解析Excel文件,提供完整的表格数据和结构信息。
excel /path/to/spreadsheet.xlsxfile_path - Excel文件的本地路径使用url工具可以获取任何网页的内容。
url https://example.comurl - 要获取内容的网站URL本框架采用了多种技术来优化文件处理性能:
智能文件类型识别
高效的文档处理
内存优化
错误处理
多层次处理策略:
性能优化:
错误处理:
文档结构解析:
图片信息:
本框架采用模块化设计,便于扩展和维护:
mcp_tool/
├── tools/
│ ├── __init__.py # 定义工具基类和注册器
│ ├── loader.py # 工具加载器,自动加载所有工具
│ ├── file_tool.py # 综合文件处理工具
│ ├── pdf_tool.py # PDF解析工具
│ ├── word_tool.py # Word文档解析工具
│ ├── excel_tool.py # Excel文件处理工具
│ └── url_tool.py # URL工具实现
├── __init__.py
├── __main__.py
└── server.py # MCP服务器实现
tools目录下创建一个新的Python文件,如your_tool.pyBaseTool的工具类@ToolRegistry.register装饰器注册工具execute方法import mcp.types as types
from . import BaseTool, ToolRegistry
@ToolRegistry.register
class YourTool(BaseTool):
"""您的工具描述"""
name = "your_tool_name" # 工具的唯一标识符
description = "您的工具描述" # 工具的描述信息,将显示给用户
input_schema = {
"type": "object",
"required": ["param1"], # 必需的参数
"properties": {
"param1": {
"type": "string",
"description": "参数1的描述",
},
"param2": {
"type": "integer",
"description": "参数2的描述(可选)",
}
},
}
async def execute(self, arguments: dict) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]:
"""执行工具逻辑"""
# 参数验证
if "param1" not in arguments:
return [types.TextContent(
type="text",
text="Error: Missing required argument 'param1'"
)]
# 获取参数
param1 = arguments["param1"]
param2 = arguments.get("param2", 0) # 获取可选参数,提供默认值
# 执行工具逻辑
result = f"处理参数: {param1}, {param2}"
# 返回结果
return [types.TextContent(
type="text",
text=result
)]
# 克隆仓库
git clone https://github.com/your-username/mcp-framework.git
cd mcp-framework
# 创建环境文件
cp .env.example .env
# 构建并启动
docker compose up --build -d
# 查看日志
docker compose logs -f
# 管理容器
docker compose ps
docker compose pause
docker compose unpause
docker compose down
http://localhost:8000/sse# Ubuntu/Debian
sudo apt-get update
sudo apt-get install -y poppler-utils tesseract-ocr tesseract-ocr-chi-sim
# macOS
brew install poppler tesseract tesseract-lang
# Windows
# 1. 下载并安装Tesseract: https://github.com/UB-Mannheim/tesseract/wiki
# 2. 将Tesseract添加到系统PATH
# 创建虚拟环境
python -m venv venv
source venv/bin/activate # Linux/Mac
# 或
.\venv\Scripts\activate # Windows
# 安装依赖
pip install -r requirements.txt
python -m mcp_tool
在.env文件中配置:
MCP_SERVER_PORT: 服务器端口(默认: 8000)MCP_SERVER_HOST: 绑定地址(默认: 0.0.0.0)DEBUG: 调试模式(默认: false)MCP_USER_AGENT: 自定义User-Agent主要依赖:
mcp: Model Context Protocol实现PyMuPDF: PDF文档处理python-docx: Word文档处理pandas和openpyxl: Excel文件处理httpx: 异步HTTP客户端anyio: 异步I/O支持click: 命令行接口git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)本项目采用MIT许可证 - 详情请参阅LICENSE文件。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP development framework for file and web content tools from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-framework-w-jeon)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.