快捷方式mcp
MCP服务器,用于列出、检查、搜索和运行macOS快捷方式。
设置
uv run shortcuts-mcpMCP工具
list_shortcuts(folder?, include_actions?)get_shortcut(name, include_actions?)search_shortcuts(query, search_in?)get_folders()get_available_actions(source?, category?, search?, include_parameters?, include_examples?, force_refresh?)run_shortcut(name, input?, wait_for_result?, timeout?)
环境变量
SHORTCUTS_DB_PATH="~/Library/Shortcuts/Shortcuts.sqlite"
SHORTCUTS_DEFAULT_TIMEOUT=30
SHORTCUTS_LOG_LEVEL="INFO"Claude代码集成
{
"mcpServers": {
"shortcuts": {
"command": "uv",
"args": ["--directory", "/path/to/shortcuts-mcp", "run", "shortcuts-mcp"]
}
}
}