article
README
🚀 PDF-MCP项目
PDF-MCP项目是一个基于Python的项目,它能实现特定的PDF相关功能,为用户提供便捷的PDF处理服务。
🚀 快速开始
系统要求
- 软件:Python 3.10+
操作步骤
-
克隆仓库并进入目录:
git clone https://github.com/jhchen2222-ui/pdf-mcp.git cd pdf-mcp -
创建虚拟环境并安装依赖:
- Linux/macOS:
uv venv source .venv/bin/activate uv pip install -e .- Windows:
uv venv .venv\Scripts\activate uv pip install -e . -
启动服务:
uv run main.py
📚 详细文档
Cline 配置
在Cline中添加以下配置:
- Windows:
{
"mcpServers": {
"pdfmcp": {
"command": "uv",
"args": [
"--directory",
"C:\\path\\to\\pdf-mcp",
"run",
"main.py"
]
}
}
}
- Linux/macOS:
{
"mcpServers": {
"pdfmcp": {
"command": "uv",
"args": [
"--directory",
"/path/to/pdf-mcp",
"run",
"main.py"
]
}
}
}
Scan to join WeChat group