PDF MCP Server
by jhchen2222-ui
PDF MCP Server is a service built with Python that likely processes PDF files. It provides a way to interact with PDF functionalities, possibly through a command-line interface or other applications.
View on GitHub
Last updated: N/A
PDF MCP 服务
系统要求
- 软件: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"
]
}
}
}