Skip to content

πŸ” A FastMCP server that generates password-protected PDF reports from plain text, complete with prompts, tools, and resource examples β€” built to showcase agentic tool integration with LLMs.

License

Notifications You must be signed in to change notification settings

programmer-shark/secure-report-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SecureReport-MCP πŸ›‘οΈπŸ“„

Python 3.11+ License: MIT 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

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 LICENSE for details.

About

πŸ” A FastMCP server that generates password-protected PDF reports from plain text, complete with prompts, tools, and resource examples β€” built to showcase agentic tool integration with LLMs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages