mcp-unlock-pdf
MCP server to give client the ability read protected (or un-unprotected) PDF Works with large PDFs by extracting text to temp file.
Forked from the excellent upstream project https://github.com/algonacci/mcp-unlock-pdf
Published to pypi.
Usage
uvx mcp-read-pdf
Will run from pypi. This can be used in goose or claude.
Test
uv run python main.py --test
Usage from source
Running from cli (Goose, or to try it)
uv --directory /Users/micn/Documents/code/extractorb-py/mcp-unlock-pdf run python main.py
Building and Publishing
- Update version in
pyproject.toml:
[project]
version = "x.y.z" # Update this
- Build the package:
# Clean previous builds
rm -rf dist/*
# Or build in a clean environment using uv
uv venv .venv
source .venv/bin/activate
uv pip install build
python -m build
- Publish to PyPI:
# Install twine if needed
uv pip install twine
# Upload to PyPI
python -m twine upload dist/*
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcp_read_pdf-0.1.1.tar.gz
(5.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_read_pdf-0.1.1.tar.gz.
File metadata
- Download URL: mcp_read_pdf-0.1.1.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e22c538b2922c6b6265f2cab35d64d26ffc9fbac201d1a0c8c5ca78ecd574195
|
|
| MD5 |
06bb69eb6f89c84ff86359569e460b2c
|
|
| BLAKE2b-256 |
43e8b27695a338358992893127ddc5167b0bb19256c09ac79226908fca92200d
|
File details
Details for the file mcp_read_pdf-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mcp_read_pdf-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ec2404c0b1449b2a83c97f03c744fcd4f7774d95f8d7c64a2aa8a5cef8cf833
|
|
| MD5 |
541c03097765d37efb6ae1d305622827
|
|
| BLAKE2b-256 |
9b5134ec0d5cf9c4a842f0e1e3d046c1abfa7acc62ca067124afc6c452111bca
|