MCP Grareco

MCP Grareco

By iuill GitHub

任意URLまたはテキストをグラレコ化するMCP Server

Overview

What is MCP Grareco?

MCP Grareco is a server that generates graphic recordings from any URL or text using the MCP protocol.

How to use MCP Grareco?

To use MCP Grareco, install the server, build it, and run it in either STDIO or SSE mode. You can also configure it for use with Claude Desktop by adding specific settings to the cline_mcp_settings.json file.

Key features of MCP Grareco?

  • Converts URLs and text into graphic recording format.
  • Supports multiple prompt types: standard, elementary, and timeline.
  • Provides logging of server activities.

Use cases of MCP Grareco?

  1. Creating visual summaries of web articles.
  2. Transforming lecture notes into graphic recordings.
  3. Generating educational content in a visually engaging format.

FAQ from MCP Grareco?

  • Can MCP Grareco handle any URL or text?

Yes! It can convert any valid URL or text input into a graphic recording.

  • Is MCP Grareco free to use?

Yes! MCP Grareco is open-source and free to use under the MIT license.

  • What technologies does MCP Grareco use?

MCP Grareco is built using TypeScript and follows the MCP protocol.

Content

MCP Grareco

グラフィックレコーディングを生成するためのMCPサーバーです。 MCPプロトコルの機能を活用して、任意URLや任意文字列の内容をグラレコ化します。

Components

Tools

  1. echo

    • 入力メッセージをエコーバックするシンプルなツール
    • 入力:
      • message (string): エコーバックするメッセージ
    • 戻り値: エコーメッセージを含むテキスト
  2. printEnv

    • すべての環境変数を表示
    • MCPサーバー設定のデバッグに役立つ
    • 入力: なし
    • 戻り値: すべての環境変数のJSON文字列
  3. webToGrareco

    • URLからWebサイトを取得し、グラフィックレコーディング形式のHTMLに変換
    • 入力:
      • url (string): 変換対象のWebサイトURL
      • promptType (enum: "standard" | "elementary" | "timeline", デフォルト: "standard"): 使用するプロンプトタイプ(標準、小学生向け、タイムライン)
    • 戻り値: 生成されたHTMLファイルの保存パス
    • 処理中は進捗通知を送信
  4. textToGrareco

    • テキストをグラフィックレコーディング形式のHTMLに変換
    • 入力:
      • text (string): 変換対象のテキスト
      • promptType (enum: "standard" | "elementary" | "timeline", デフォルト: "standard"): 使用するプロンプトタイプ(標準、小学生向け、タイムライン)
    • 戻り値: 生成されたHTMLファイルの保存パス
    • 処理中は進捗通知を送信

Logging

The server sends random-leveled log messages every 15 seconds, e.g.:

{
  "method": "notifications/message",
  "params": {
	"level": "info",
	"data": "Info-level message"
  }
}

使用方法

ローカルでの実行

# インストール
npm install

# ビルド
npm run build

# 実行(STDIOモード)
npm run start

# 実行(SSEモード)
npm run start:sse

Claude Desktopでの使用

cline_mcp_settings.jsonに以下を追加してください:

例1:

{
  "mcpServers": {
    "grareco": {
      "command": "npx",
      "args": [
        "-y",
        "mcp_grareco"
      ]
    }
  }
}

例2:

{
  "mcpServers": {
    "grareco": {
      "url": "http://localhost:3000/sse",
      "headers": {},
      "timeout": 900
    }
  }
}
No tools information available.
No content found.