Dropshare MCP服务器
A. 模型上下文协议(MCP) 控制服务器 Dropshare 在macOS上。
先决条件
- macOS与 Dropshare 5.48+ 安装
- 在Dropshare中启用集成:首选项→ 将军→ 集成
安装
npm install
npm run build用法
使用克劳德桌面
添加到您的Claude Desktop配置(~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"dropshare": {
"command": "node",
"args": ["/path/to/dropshare-mcp/dist/index.js"]
}
}
}带光标
添加到光标MCP设置中:
{
"mcpServers": {
"dropshare": {
"command": "node",
"args": ["/path/to/dropshare-mcp/dist/index.js"]
}
}
}可用工具
| 工具 | 说明 |
|---|---|
capture_fullscreen | 捕获并上传全屏截图 |
capture_selection | 捕获并上传选择屏幕截图(用户选择区域) |
capture_pretty | 捕获并上传一张漂亮的屏幕截图(带窗口chrome和阴影) |
capture_recording | 开始屏幕录制 |
upload_file | 在给定路径上传文件 |
shorten_url | 使用Dropshare配置的URL缩短器缩短URL |
例子
连接后,您可以要求Claude:
- “截取我的屏幕截图”
- “将文件上传到/Users/me/Documents/report.pdf”
- “缩短此URL:https://example.com/very/long/path"
- “开始屏幕录制”
发展
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev许可证
麻省理工学院
