snip-mcp
snip-mcp
画面領域を直接Claude Codeの会話に取り込めるMCPサーバーです。ホットキーやツール呼び出しを使用して画面の任意の領域を選択すると、スクリーンショットが即座に画像としてコンテキスト内で利用可能になります。
機能
ホットキーキャプチャ -- Ctrl+Shift+クリックで、いつでもどこでもスニッピングオーバーレイを開けます
ツール起動キャプチャ -- Claudeがユーザーの代わりにスニッピングツールを呼び出せます
マルチモニター対応 -- DPIを認識し、接続されているすべてのディスプレイで動作します
永続ストレージ -- スニップはディスクに保存され、サーバーを再起動しても保持されます
自動削除 -- 設定可能な制限により、ストレージの無制限な増加を防ぎます
トースト通知 -- スニップがキャプチャされた際の視覚的な確認
Related MCP server: Shotik
要件
Windows 10以降 (ctypesを介したWindows固有のグローバルマウスフックを使用)
Python 3.11以上
インストール
git clone https://github.com/Alparse/snip-mcp.git
cd snip-mcp
pip install -e .またはuvを使用する場合:
git clone https://github.com/Alparse/snip-mcp.git
cd snip-mcp
uv pip install -e .Claude Codeの設定
Claude CodeのMCP設定にサーバーを追加します。
pipでインストールした場合 (グローバルまたはvenv)
~/.claude/settings.json (グローバル) または .claude/settings.json (プロジェクト) に以下を記述します:
{
"mcpServers": {
"snip": {
"command": "snip-mcp"
}
}
}uvを使用する場合 (分離環境として推奨)
{
"mcpServers": {
"snip": {
"command": "uv",
"args": ["run", "--directory", "/path/to/snip-mcp", "snip-mcp"]
}
}
}使用方法
ホットキーキャプチャ
画面上の任意の場所で Ctrl+Shift+左クリック を押すと、スニッピングオーバーレイが開きます:
クリック&ドラッグで領域を選択
放すとキャプチャ
Escape キーでキャンセル
トースト通知でキャプチャが確認できます。
ツール起動キャプチャ
Claudeにスクリーンショットを撮るよう依頼すると、snip_screenツールが呼び出され、オーバーレイが開きます。
スニップの管理
Claudeは以下のMCPツールを利用できます:
ツール | 説明 |
| オーバーレイを開いて領域をキャプチャする |
| 名前でスニップを取得する |
| 最新のキャプチャを取得する |
| 保存されているすべてのスニップを一覧表示する |
| スニップの名前を変更する |
| スニップを削除する |
設定
設定は ~/.snip_mcp/config.json に保存され、初回実行時に自動作成されます。
オプション | デフォルト | 説明 |
|
| オーバーレイをトリガーするためにクリック時に押す修飾キー。有効な値: |
|
| スニップのPNGが保存されるディレクトリ |
|
| オーバーレイの透明度 (0.0 = 透明, 1.0 = 不透明) |
|
| 選択矩形の色 (16進数) |
|
| 選択矩形の枠線の幅 (ピクセル単位) |
|
| 自動削除されるまでの最大保存スニップ数 |
設定例:
{
"modifier_keys": ["ctrl", "shift"],
"save_directory": "C:/Users/you/.snip_mcp/snips",
"overlay_alpha": 0.3,
"selection_color": "#00ff00",
"selection_width": 2,
"max_snips": 50
}トラブルシューティング
"snip-mcp requires Windows" このサーバーはWindows固有のAPI (ctypesを介したグローバルマウスフック) を使用しています。macOSやLinuxでは実行できません。
"Failed to install mouse hook" グローバルマウスフックには管理者権限が必要な場合があります。ターミナルを管理者として実行してみてください。
オーバーレイが表示されない
他のアプリケーションがCtrl+Shift+Clickを横取りしていないか確認してください。設定ファイルの modifier_keys を確認してください。
高DPIディスプレイで座標がずれる
サーバーは起動時に SetProcessDPIAware() を呼び出します。それでもずれが発生する場合は、Windowsのディスプレイ拡大縮小設定を確認してください。
スニップディレクトリ
デフォルトでは、スニップは ~/.snip_mcp/snips/ に保存されます。これは config.json で変更可能です。
ライセンス
MIT -- 詳細は LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables Claude Code and other MCP clients to take screenshots of the full screen or specific windows, with support for repeated captures over intervals.1256MIT
- AlicenseNot gradedqualityAmaintenanceOpen-source screenshot tool for Windows with a built-in MCP server that allows AI assistants like Claude to capture and view screen content through tools like take_screenshot, ask_user_to_select_region, and more.3MIT
- AlicenseNot gradedqualityCmaintenanceWindows Screen Capture MCP Server — give Claude Code eyes on your Windows desktop.2MIT
- AlicenseNot gradedqualityCmaintenanceA Windows-local MCP server for capturing screenshots (full screen, displays, regions, active window) and managing capture images via deletion tools, using a .NET tool interface.2MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alparse/snip-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server