コピー&ペーストMCP
テキスト コンテンツから特定の行を抽出するためのツールを提供するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
任意のテキストコンテンツから特定の行範囲を抽出するシンプルなツール
コンテンツのフォーマットと改行を正確に保持します
内容の変更なし - 純粋な抽出
AIツールとの容易な統合を可能にするMCPサーバーの実装
MCPサーバー
このパッケージには、Claude Desktop、VS Code、その他の MCP 互換アプリケーションなどの MCP クライアントで使用できるツールとして行抽出機能を公開する MCP サーバーが含まれています。
利用可能なツール
extract-lines - テキストコンテンツから特定の範囲の行を抽出します
インストール
リポジトリをクローンする
依存関係をインストールします:
使用法
MCPサーバーの起動
これにより、MCP クライアントが接続できる stdio トランスポートを使用して MCP サーバーが起動します。
サーバーへの接続
MCP 互換クライアント (Claude Desktop など) では、次のコマンドでこのサーバーを追加できます。
名前: コピー&ペースト
コマンド:
node /path/to/copy-paste-mcp/dist/index.js
トランスポート: stdio
ツールの使用
接続すると、MCP クライアントのインターフェースを通じてツールを使用できるようになります。
行の抽出
これにより、提供されたテキスト コンテンツの最初の 2 行が返されます。
例
大きなテキスト ブロックから 10 行目から 20 行目を抽出します。
1 行だけ抽出します (行 5):
なぜこれを使うのですか?
このツールは、次のことが必要な場合に役立ちます。
大きなテキストブロックから特定のセクションを抽出する
コードまたはドキュメントから正確な行範囲をコピーする
変更を加えることなく正確なコンテンツ抽出を実現
MCPを介してライン抽出機能をAIワークフローに統合
大きな文書の特定の部分を操作する
Tools
正確な書式と改行を維持しながら、テキスト コンテンツから特定の行範囲を抽出するツールを提供するモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.Last updated -13210Apache 2.0
- -securityFlicense-qualityA Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.Last updated -6
- AsecurityFlicenseAqualityA Model Context Protocol server that intelligently fetches and processes web content, transforming websites and documentation into clean, structured markdown with nested URL crawling capabilities.Last updated -2334
- AsecurityFlicenseAqualityA Model Context Protocol server that implements a simple notes system, allowing users to create, list, and summarize text notes.Last updated -33