secure-report-mcp

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 ๐Ÿ›ก๏ธ๐Ÿ“„

Python 3.11+ MCP-Compatible Built With ๐Ÿฆœ FastMCP

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

TypeNameDescription
Toolgenerate_encrypted_pdfGenerates a PDF from input text and encrypts it
Resourcetext://sample/weekly-summaryStatic weekly report text for LLM context
Promptsuggest_pdf_passwordGenerates 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.