Pdf

by jhchen2222-ui

422 downloads
Not rated
GitHub

About

Pdf is an MCP (Model Context Protocol) server that provides PDF-related functionality. It is built with Python (3.10+) and is designed for integration with AI assistants such as Cline.

Details

Author
jhchen2222-ui
Downloads
422
Categories
Other

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Pdf
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, create a Python virtual environment with uv venv, install dependencies with uv pip install -e ., then run the server with uv run main.py. For Cline, add an MCP configuration entry that uses the uv command with the --directory argument pointing to the local clone and run main.py as the argument.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "pdf": {
            "pdf": {
                "command": "uv",
                "args": [
                    "--directory",
                    "C:\\path\\to\\pdfmcp",
                    "run",
                    "pdfmcp",
                    "--output-dir",
                    "C:\\path\\to\\output"
                ]
            }
        }
    }
}

McpServers

{
    "pdf": {
        "command": "uv",
        "args": [
            "--directory",
            "C:\\path\\to\\pdfmcp",
            "run",
            "pdfmcp",
            "--output-dir",
            "C:\\path\\to\\output"
        ]
    }
}

PDF MCP 服务

系统要求

- 软件:Python 3.10+

快速开始

1. 克隆仓库并进入目录:

   git clone https://github.com/jhchen2222-ui/pdf-mcp.git
cd pdf-mcp

2. 创建虚拟环境并安装依赖:

Linux/macOS:

   uv venv
source .venv/bin/activate
uv pip install -e .


Windows:
   uv venv
.venv\Scripts\activate
uv pip install -e .

3. 启动服务:
   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"
]
}
}
}

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.