GraReco (Grammar Recommendations)

by iuill

181 downloads
Not rated
GitHub

About

Provides real-time grammar correction and recommendations through specialized prompts and Server-Sent Events, enabling seamless text improvement without context switching.

Details

Author
iuill
Repository
iuill/mcp_grareco
Downloads
181
License
MIT License
Categories
Design, Developer Tools, AI, Infrastructure, Frontend, API, Other

- Converts web pages to graphic recording HTML
- Converts plain text to graphic recording HTML
- Supports three prompt types: standard, elementary, timeline
- Sends progress notifications during conversion
- Includes debug tools: echo and printEnv
- Sends random-level log messages every 15 seconds

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name GraReco (Grammar Recommendations)
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 mcp_grareco

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with npm install, build with npm run build, then run in STDIO mode (npm run start) or SSE mode (npm run start:sse). For Claude Desktop, add a configuration entry to cline_mcp_settings.json that invokes the server via npx -y mcp_grareco or connects to an SSE endpoint. Use the tools webToGrareco (with a URL) or textToGrareco (with a text string) to generate graphic recordings.

echo

Echoes back the input message. Input: message (string): The message to echo back. Returns: A text containing the echoed message.

printEnv

Displays all environment variables, useful for debugging the MCP server settings. Input: None. Returns: A JSON string containing all environment variables.

webToGrareco

Fetches a website from a URL and converts it into HTML in graphic recording format. Input: url (string): The URL of the website to convert; promptType (enum: 'standard' | 'elementary' | 'timeline', default: 'standard'): The prompt type to use. Returns: The saved path of the generated HTML file. Progress notifications are sent during processing.

textToGrareco

Converts text into HTML in graphic recording format. Input: text (string): The text to convert; promptType (enum: 'standard' | 'elementary' | 'timeline', default: 'standard'): The prompt type to use. Returns: The saved path of the generated HTML file. Progress notifications are sent during processing.

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ファイルの保存パス
- 処理中は進捗通知を送信

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "grareco (grammar recommendations)": {
            "cwd": "string",
            "env": {},
            "args": [
                "-y",
                "mcp_grareco"
            ],
            "shell": false,
            "command": "npx"
        }
    }
}

Linux

{
    "cwd": "string",
    "env": [],
    "args": [
        "-y",
        "mcp_grareco"
    ],
    "shell": false,
    "command": "npx"
}

Macos

{
    "cwd": "string",
    "env": [],
    "args": [
        "-y",
        "mcp_grareco"
    ],
    "shell": false,
    "command": "npx"
}

Windows

{
    "cwd": "string",
    "env": [],
    "args": [
        "/c",
        "npx",
        "-y",
        "mcp_grareco"
    ],
    "shell": false,
    "command": "cmd"
}

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 reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.