POM MCP Server

POM MCP Server

Generates PowerPoint presentations from POM format JSON, enabling AI agents to create .pptx files directly from natural language instructions.

Category
Visit Server

README

POM MCP Server

PowerPointプレゼンテーションをPOM (PowerPoint Object Model) 形式のJSONから生成するMCPサーバーです。

AIエージェント(Claude)が自然言語の指示から直接PowerPointファイルを作成できるようになります。

特徴

  • 🎨 宣言的なレイアウト: Flexbox風のレイアウトシステム(vstack/hstack)
  • 🤖 AI最適化: AIエージェントが自由にスライド構造を設計可能
  • 📐 型安全: TypeScriptとZodによるスキーマ検証
  • 🎓 組み込みガイド: AIがPOM形式を学習できるプロンプト機能
  • 🎯 シンプルなAPI: 2つのツールで完結

セットアップ

必要要件

  • Node.js 18以上
  • Claude Desktop

インストール手順

1. プロジェクトディレクトリを作成

mkdir mcp-pom-pptx
cd mcp-pom-pptx

2. 依存関係のインストールとビルド

# srcディレクトリがない場合は作成
mkdir -p src

# 依存関係をインストール
npm install

# ビルド
npm run build

ビルドが成功すると dist/index.js が生成されます。

3. Claude Desktopに設定

~/Library/Application Support/Claude/claude_desktop_config.json を編集:

{
  "mcpServers": {
    "mcp-pom-pptx": {
      "command": "node",
      "args": [
        "/絶対パス/mcp-pom-pptx/dist/index.js"
      ]
    }
  }
}

使い方

基本的な使い方

Claude Desktopで以下のように話しかけるだけです:

「営業プレゼン用のPowerPointを作成してください。
1枚目: タイトルスライド(会社名: ABC株式会社、タイトル: 新製品提案)
2枚目: 製品の3つの特徴を箇条書きで
3枚目: 価格表(3プラン)

ファイル名は proposal.pptx で保存してください。」

Claudeが自動的に:

  1. POM形式のJSONを生成
  2. スライドレイアウトを設計
  3. PowerPointファイルを作成

より詳細な指示の例

「技術プレゼンを作成。
- スライドサイズ: 1920x1080
- 全体のテーマカラー: ダークブルー
- 5枚構成
  1. タイトル: システムアーキテクチャ
  2. 現状の課題(箇条書き3点)
  3. 提案ソリューション(2カラム比較)
  4. 実装ロードマップ(表形式)
  5. まとめ

tech-presentation.pptx として保存」

提供するツール

1. create_powerpoint

POM形式のJSONからPowerPointファイルを生成します。

パラメータ:

  • slides (必須): POMNode配列(各スライドの定義)
  • outputPath (必須): 出力ファイルパス (.pptx)
  • width (オプション): スライド幅(デフォルト: 1280px)
  • height (オプション): スライド高さ(デフォルト: 720px)

2. validate-pom-slide

POMスライドの構造を検証します。

パラメータ:

  • slide (必須): 検証するPOMNodeオブジェクト

提供するプロンプト

AIエージェントが自動的に参照する知識ベース:

1. get-pom-guide

POM形式の完全ガイド

  • 全ノードタイプの説明
  • プロパティの詳細
  • レイアウトのコツ
  • ベストプラクティス

2. get-slide-example

具体的なスライド作成例

  • タイトルスライド
  • コンテンツスライド(箇条書き)
  • 2カラム比較スライド
  • 表付きスライド

POM形式の概要

ノードタイプ

POMでは以下のノードタイプを組み合わせてスライドを構築します:

レイアウトノード(コンテナ):

  • box - 単一の子要素を持つコンテナ
  • vstack - 子要素を縦方向に並べる
  • hstack - 子要素を横方向に並べる

コンテンツノード:

  • text - テキスト要素
  • image - 画像要素
  • table - 表要素
  • shape - 図形要素(矩形、楕円など)

簡単な例

タイトルスライド:

{
  "type": "box",
  "padding": 50,
  "h": "100%",
  "backgroundColor": "0F172A",
  "children": {
    "type": "vstack",
    "justifyContent": "center",
    "alignItems": "center",
    "gap": 20,
    "children": [
      {
        "type": "text",
        "text": "プレゼンテーションタイトル",
        "fontPx": 60,
        "color": "FFFFFF",
        "bold": true
      },
      {
        "type": "text",
        "text": "サブタイトル",
        "fontPx": 30,
        "color": "E2E8F0"
      }
    ]
  }
}

詳細な仕様は、Claudeが get-pom-guide プロンプトから自動的に学習します。

ディレクトリ構成

mcp-pom-pptx/
├── src/
│   └── index.ts          # メインコード
├── dist/                 # ビルド出力(自動生成)
│   └── index.js
├── package.json
├── tsconfig.json
└── README.md

ライセンス

MIT

クレジット

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured