How souravpattnaik431/javapptmcpserver works
This Java Spring AI MCP server lets an AI assistant create and refine PowerPoint decks, check them, preview rendered slides, and save or download the result. The main authoring path runs through presentation lifecycle management, slide content and specialized layouts, then optional styling and quality audits; rendering and export provide review and delivery. README capabilities also include structural shapes and tables, speaker notes, templates, and auto-fix. The excerpts are partial, so service-to-service links are limited to documented dispatch and evidenced state access.
Main entry points: McpServerConfig.java MCP server · PresentationStateManager.java Presentation state · DesignService.java Design and themes · RenderService.java Slide rendering
Components 14
MCP access
- MCP server
src/main/java/org/spring/microservices/pptmcpserver/config/McpServerConfig.java
Presentation authoring
- Presentation lifecycle
src/main/java/org/spring/microservices/pptmcpserver/service/PresentationService.java - Slide content
src/main/java/org/spring/microservices/pptmcpserver/service/SlideContentService.java - Layout templates
src/main/java/org/spring/microservices/pptmcpserver/service/LayoutTemplateService.java - Shapes and tables
src/main/java/org/spring/microservices/pptmcpserver/service/StructuralElementService.java
Review and design
- Design and themes
src/main/java/org/spring/microservices/pptmcpserver/service/DesignService.java - Quality audits
src/main/java/org/spring/microservices/pptmcpserver/service/GuardrailService.java - Color parsing
src/main/java/org/spring/microservices/pptmcpserver/util/ColorHelper.java
Preview and delivery
- Slide rendering
src/main/java/org/spring/microservices/pptmcpserver/service/RenderService.java - HTTP download
src/main/java/org/spring/microservices/pptmcpserver/controller/PresentationDownloadController.java - Rendered images
Deck state
- Presentation state
src/main/java/org/spring/microservices/pptmcpserver/state/PresentationStateManager.java - PPTX files
Other components
- AI assistant
Connections 20
- AI assistant → MCP server: calls tools
- MCP server → Presentation lifecycle: dispatches
- MCP server → Slide content: dispatches
- MCP server → Layout templates: dispatches
- MCP server → Shapes and tables: dispatches
- MCP server → Design and themes: dispatches
- MCP server → Quality audits: dispatches
- MCP server → Slide rendering: dispatches
- Presentation lifecycle → Presentation state: registers decks
- Slide content → Presentation state: reads and updates
- Layout templates → Presentation state: reads and updates
- Shapes and tables → Presentation state: reads and updates
- Design and themes → Presentation state: reads and updates
- Quality audits → Presentation state: audits and fixes
- Slide rendering → Presentation state: reads decks
- HTTP download → Presentation state: loads deck
- Presentation state → PPTX files: autosaves
- Slide rendering → Rendered images: writes previews
- Design and themes → Color parsing: parses colors
- AI assistant → HTTP download: requests download