Allows for cloning repositories and accessing textlint-mcp-example content for demonstration purposes
Supports linting and automatic correction of JavaScript-related technical documentation
Provides runtime environment for textlint, enabling server-side JavaScript processing for text linting functionality
Used for dependency management and installation of required packages for the textlint MCP server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@textlint MCP Servercheck this Japanese technical documentation for grammar and style issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
textlint MCP Server デモプロジェクト
このプロジェクトは、textlintのMCP(Model Context Protocol)サーバーのデモンストレーション用です。
概要
textlintは、自然言語のための拡張可能なリンターです。このデモでは以下の機能を確認出来ます:
日本語技術文書のチェック機能
リアルタイムでの文章校正
自動修正の提案
Related MCP server: MCP Simple AivisSpeech
使用方法
このリポジトリをクローンします。
git clone https://github.com/azu/textlint-mcp-example.git cd textlint-mcp-example必要な依存関係をインストールします。
npm ciVSCodeでプロジェクトを開きます。
Copilot Chatで「textlint MCP Server」が起動してるかを確認
「README.mdの内容をtextlint MCPでチェックして修正してみてください」と入力します。
サンプルテキスト
以下は、textlintのルールにかかりそうなサンプル文章です。
技術文書の例
JavaScriptは、Webブラウザで動作するプログラミング言語です。JavaScriptを使用することで、Webページに動的な機能を追加することが可能です。
最近では、Node.jsという実行環境により、サーバーサイドでもJavaScriptを使う事が出来ます。これにより、フロントエンドとバックエンドで同じ言語を使用出来るというメリットがあります。
よくある問題のサンプル
助詞の連続: この機能により、ユーザーは簡単にアプリケーションを設定する事が出来ます。
冗長な表現: このシステムは、ユーザーにとって非常に便利な機能を提供する事が可能です。
不適切な敬語: こちらの機能をご利用いただくことで、作業効率を向上させる事が出来ます。
長い文章: このライブラリを使用することで、開発者は複雑なアプリケーションを簡単に構築することが可能になり、また、多くの便利な機能が提供されているため、開発時間を大幅に短縮することができ、さらに、コードの品質も向上させることが期待できます。
まとめ
textlintを使用することで、日本語の文章品質を自動的にチェック出来ます。これにより、一貫性のある技術文書を作成する事が可能となります。
詳細については、公式ドキュメントを参照して下さい。