danmaku-slides

danmaku-slides

Enables to present PDF slides with live bullet comments from audience, and to fetch comments from a Google Sheets form.

Category
Visit Server

README

弾幕プレゼンMCP App

PDFスライドの上を、弾幕コメントが流れていくプレゼンアプリです。参加者は自身のスマホなどから、匿名でコメントを投稿できます。

MCP Appsを作ってみよう」という発表のために作ったものですが、「仕組みが知りたい」「使ってみたい」との感想を頂いたため、OSSで公開することにしました。

Claude DesktopやMCPJamなど、MCP Apps対応クライアントで実行できます。

弾幕コメントが流れているスライド

使い方

1. コメント送信フォームの準備

まず、コメント投稿用のフォームを準備します。Googleスプレッドシートを使って、以下の手順で進めればOKです。

  1. 新しいGoogleスプレッドシートを作る(ファイル名は任意)
  2. 下部のシート名を comments に変更する
  3. シートの1行目に、左から「投稿日時」「コメント」「色」と入力する
  4. 「拡張機能 → Apps Script」を開く
  5. デフォルトの .gs ファイルに、gas/Code.gs の内容を貼り付けて保存する
  6. 「ファイル」の「+」ボタンでHTMLを追加、form.html にリネームし、gas/form.html の内容を貼り付けて保存する
  7. 「デプロイ → 新しいデプロイ」を開き、種類で「ウェブアプリ」を選ぶ
  8. アクセスできるユーザーを「全員」に変更し、デプロイする
  9. アクセスを承認し、ウェブアプリのURLをコピーする

2. MCPサーバーの起動

次に、Node.js 24がインストールされた環境で以下を実行し、MCPサーバーを起動します。

git clone https://github.com/iwamot/danmaku-slides.git
cd danmaku-slides

npm install
cp .env.sample .env  # COMMENTS_FEED_URL に「ウェブアプリのURL」を貼り付ける
npm run dev          # http://localhost:3001/mcp でMCPサーバーが起動

3. 対応クライアントとの接続

起動したMCPサーバーを、お使いのMCP Apps対応クライアントに接続します。以下、接続例です。

MCPJam Inspector

  1. npx @mcpjam/inspector@latest で、MCPJam Inspectorを起動する
  2. 「Connect → Add Server」を開き、接続先として http://localhost:3001/mcp を指定する

Claude Desktop

  1. MCPサーバーを ngrok http 3001 でインターネットに公開し、出力されたURLをコピーする
  2. Claude Desktopの「カスタマイズ → コネクタ」で、カスタムコネクタとして {出力されたURL}/mcp を指定する

4. プレゼン

接続できたら、以下の流れでプレゼンします。

  1. クライアントから present ツールを呼び出す(LLMに「弾幕プレゼンを開いて」と指示する)
  2. 「メニュー → PDF を開く」で、プレゼンしたいPDFファイルを選択する
  3. コメント投稿フォーム(ウェブアプリ)のURLを参加者に伝える
  4. 「メニュー → コメント受信を開始」で、受信を開始する(コメントがあれば弾幕で流れる)
  5. 「←」「→」キーでページを送り、必要に応じて「D」キーで弾幕サンプルを流す
  6. 発表が終わったら、「C」キーで発表者へのフィードバックをLLMに生成させる

MCPサーバーに含まれるツール

ツール 概要
present 弾幕プレゼンのビューを開く
fetch_comments Googleスプレッドシートのコメントを取得する

ライセンス

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