secure-report-mcp
0
SecureReport-MCP is a FastMCP server that generates password-protected PDF reports from plain text. It includes tools for encryption, resources for LLM readability, and prompts for password suggestions. It supports interactive testing with MCP Inspector.
SecureReport-MCP ๐ก๏ธ๐
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.
๐ฆ Features
- ๐ 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
๐ Setup & Run
1. Create a virtual environment
python -m venv .venv
source .venv/bin/activate
2. Install dependencies
pip install "mcp[cli]" fpdf pikepdf
3. Run the MCP server
mcp dev mcp_server.py
This opens the MCP Inspector UI at:
http://127.0.0.1:6274
๐ Available Components
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 |
๐ก Example Use Cases
- Automatically generate encrypted reports with AI assistance
- Use with Claude Desktop or Cursor IDE
- Demonstrate secure agent-tool workflows in FastMCP
๐ License
MIT License โข ยฉ Rajesh Polavarapu
See for details.