A FastMCP server to generate password-protected PDF reports from plain text β
Includes a tool, resource, and prompt to demonstrate multi-modal LLM agent capabilities.
- π Tool: Create password-protected PDFs from any text input
- π Resource: Example weekly summary (LLM-readable)
- π¬ Prompt: Ask for secure password suggestions
- π§ͺ Inspector-ready: Test interactively with MCP Inspector
python -m venv .venv
source .venv/bin/activate
pip install "mcp[cli]" fpdf pikepdf
mcp dev mcp_server.py
This opens the MCP Inspector UI at:
http://127.0.0.1:6274
Type | Name | Description |
---|---|---|
Tool | generate_encrypted_pdf |
Generates a PDF from input text and encrypts it |
Resource | text://sample/weekly-summary |
Static weekly report text for LLM context |
Prompt | suggest_pdf_password |
Generates strong password suggestions |
- Automatically generate encrypted reports with AI assistance
- Use with Claude Desktop or Cursor IDE
- Demonstrate secure agent-tool workflows in FastMCP
MIT License β’ Β© Rajesh Polavarapu
See LICENSE for details.