Skip to main content

MCP server for creating presentations using the Prezent API

Project description

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

  1. Install dependencies:
pip install -r requirements.txt
  1. 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:

  1. Install build tools:
pip install build
  1. 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:

  1. Install twine:
pip install twine
  1. Upload to TestPyPI (for testing):
python -m twine upload --repository testpypi dist/*
  1. 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/description
  • template (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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prezent_mcp_server-0.1.32.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prezent_mcp_server-0.1.32-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file prezent_mcp_server-0.1.32.tar.gz.

File metadata

  • Download URL: prezent_mcp_server-0.1.32.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for prezent_mcp_server-0.1.32.tar.gz
Algorithm Hash digest
SHA256 175da97906e170ab8cc1fb0be92845e6766323cc8b2231708e86547d5c620cec
MD5 51cc3d8fd6d12f6c4679c43c16b6b21d
BLAKE2b-256 94870575d04fe1a84e06997fd4829eadb33c8e0ba32d6b3075ac3071a560bd04

See more details on using hashes here.

File details

Details for the file prezent_mcp_server-0.1.32-py3-none-any.whl.

File metadata

File hashes

Hashes for prezent_mcp_server-0.1.32-py3-none-any.whl
Algorithm Hash digest
SHA256 773877b85195d21614fa75f6058464151066a12cd45cad1d52e985394b3e5d30
MD5 de117bd6e664272f3f6beabaded439a4
BLAKE2b-256 c25c1008673910faf5ad4607318f1030d57100106d0b9e6e2c0330399586db7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page