PowerPoint MCP Server
PowerPoint Model Context Protocol (MCP) 서버
Python 기반의 Model Context Protocol (MCP) 서버로, fastmcp와 python-pptx를 사용하여 PowerPoint 프레젠테이션을 생성, 검사 및 편집하는 도구를 제공합니다.
사전 요구 사항
Windows OS
Python 3.12 (
C:\Users\Lumbini_User\AppData\Local\Programs\Python\Python312에 이미 설치됨)종속성이 설치된 로컬 가상 환경
.venv.
Related MCP server: Office-PowerPoint-MCP
노출된 도구
서버는 다음 도구를 등록하고 실행합니다:
create_presentation(path: str): 지정된 경로에 새 빈 PowerPoint 프레젠테이션을 생성합니다.add_slide(path: str, layout_idx: int = 6):path의 프레젠테이션에 레이아웃 템플릿 인덱스(예: 빈 슬라이드의 경우6)를 사용하여 새 슬라이드를 추가합니다.add_text(path, slide_idx, text, left_in, top_in, width_in, height_in, font_name, font_size_pt, bold, italic, color_hex, align): 사용자 지정 서식이 적용된 텍스트 상자를 추가합니다.add_bullet_points(path, slide_idx, points, left_in, top_in, width_in, height_in, font_name, font_size_pt, color_hex): 서식이 지정된 글머리 기호 목록을 추가합니다.add_shape(path, slide_idx, shape_type, left_in, top_in, width_in, height_in, fill_color_hex, line_color_hex, line_width_pt): 사각형, 타원, 삼각형 등과 같은 기하학적 도형을 삽입합니다.add_picture(path, slide_idx, image_path, left_in, top_in, width_in, height_in): 로컬 이미지를 삽입합니다.add_table(path, slide_idx, rows, cols, left_in, top_in, width_in, height_in, data): 테이블을 삽입하고 데이터를 채웁니다.get_presentation_info(path): 모든 슬라이드의 상세 구조, 도형 위치, 텍스트 및 테이블을 반환합니다.search_replace_text(path, search_str, replace_str): 전체 프레젠테이션에서 텍스트 상자, 도형 및 테이블에 걸쳐 찾기 및 바꾸기를 수행합니다.delete_slide(path, slide_idx): 지정된 인덱스의 슬라이드를 삭제합니다.
MCP 클라이언트 구성
이 서버를 MCP 호스트(예: Claude Desktop 또는 cursor)에 등록하려면 호스트 구성 파일에 다음 항목을 추가하십시오:
{
"mcpServers": {
"powerpoint": {
"command": "c:\\Users\\Lumbini_User\\Desktop\\PPT\\.venv\\Scripts\\python.exe",
"args": [
"c:\\Users\\Lumbini_User\\Desktop\\PPT\\ppt_mcp_server.py"
],
"env": {}
}
}
}로컬 개발 및 테스트
가상 환경을 활성화합니다:
.venv\Scripts\Activate.ps1서버를 직접 실행합니다:
python ppt_mcp_server.py
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Generate professional PowerPoint presentations from text, YouTube videos, or structured JSON data.…
Create professionally designed, editable PowerPoint presentations from a prompt.
Generate polished PowerPoint presentations from text prompts, YouTube videos, or structured outlin…
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to create, edit, and manipulate PowerPoint presentations programmatically with support for text styling, shapes, slide rearrangement, and direct Office XML access.81-
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to programmatically create, manipulate, and analyze Microsoft PowerPoint presentations with advanced formatting and template management.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to create and manipulate PowerPoint presentations programmatically, including adding slides, exporting to PDF, and reading metadata.21 npm5MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to create, modify, and manage PowerPoint presentations programmatically using python-pptx.17-