Prezent MCP Server
A Model Context Protocol (MCP) server for creating presentations using the Prezent API.
Features
- Create presentations using prompts and templates
- Check presentation generation status
- Background polling for presentation completion
- Support for multiple presentation templates
- CLI entry point for direct execution
Setup
- Install dependencies:
pip install -r requirements.txt
- Set up environment variables:
export PRESENTATION_API_TOKEN="your_api_token_here"
Or create a .env file:
PRESENTATION_API_TOKEN=your_api_token_here
Building and Installing
Building the Package
To create a distributable Python package:
- Install build tools:
pip install build
- Build the package:
python -m build
This will create both wheel (.whl) and source distribution (.tar.gz) files in the dist/ directory.
Installing the Built Package
You can install the built package locally:
pip install dist/prezent_mcp_server-0.1.4-py3-none-any.whl
Or install from the source distribution:
pip install dist/prezent_mcp_server-0.1.4.tar.gz
Publishing to PyPI (Optional)
To publish the package to PyPI:
- Install twine:
pip install twine
- Upload to TestPyPI (for testing):
python -m twine upload --repository testpypi dist/*
- Upload to PyPI:
twine upload dist/*
Note: You'll need PyPI credentials to upload packages.
Usage
Running the MCP Server
Option A: Using the CLI Entry Point (Recommended)
prezent-mcp-server
Option B: Direct Python Execution
python prezent_mcp.py
Available Tools
create_presentation
Creates a new presentation using the specified prompt and template.
Parameters:
prompt(str): The presentation prompt/descriptiontemplate(str): The template ID to use for the presentation
Example:
create_presentation("Create a presentation about AI trends in 2024", "prezent_corporate_2022")
check_presentation_status
Checks the status of a presentation generation job.
Parameters:
callback_id(str): The callback ID returned when the presentation was submitted
Example:
check_presentation_status("abc123-def456-ghi789")
Templates
The server supports various presentation templates. If no template is specified, it defaults to prezent_corporate_2022.
Configuration
The server uses the following environment variables:
PRESENTATION_API_TOKEN: Your Prezent API authentication token
Development
This MCP server is built using FastMCP and provides async tools for presentation generation and status checking.
Package Information
- Current Version: 0.1.4
- Python Requirement: >=3.10
- Dependencies: httpx>=0.27.0, mcp[cli], python-dotenv
Metadata
Release files for prezent-mcp-server 0.1.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| prezent_mcp_server-0.1.32.tar.gz | 27.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prezent_mcp_server-0.1.32-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.5 kB
Release files / prezent_mcp_server-0.1.32.tar.gz
| Download URL | prezent_mcp_server-0.1.32.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
175da97906e170ab8cc1fb0be92845e6766323cc8b2231708e86547d5c620cec
|
|
BLAKE2b-256 checksum How to use checksums |
94870575d04fe1a84e06997fd4829eadb33c8e0ba32d6b3075ac3071a560bd04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / prezent_mcp_server-0.1.32-py3-none-any.whl
| Download URL | prezent_mcp_server-0.1.32-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
773877b85195d21614fa75f6058464151066a12cd45cad1d52e985394b3e5d30
|
|
BLAKE2b-256 checksum How to use checksums |
c25c1008673910faf5ad4607318f1030d57100106d0b9e6e2c0330399586db7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for prezent-mcp-server 0.1.32
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.