MCP 服务器——AI 可调用的工具
KeyCheats 提供 MCP(Model Context Protocol)服务器:Claude、Cursor 等 AI 助手可以直接搜索快捷键数据集、检查清单里的重复绑定、渲染键帽——与网站同一套经过测试的逻辑,无需重新实现。
这些工具用网站自己的纯函数操作同一份精选数据集(VS Code、macOS、Windows、Chrome、GitHub)。执行通过 npx 发生在 AI 客户端的机器上——不会发送到我们的服务器。
添加到你的 MCP 客户端
需要 Node.js 18+。服务器通过 stdio 在本地运行;只有你发起的工具调用会在本机计算。
{
"mcpServers": {
"keycheats": {
"command": "npx",
"args": [
"-y",
"keycheats-mcp"
]
}
}
}可执行工具(3 个)
| shortcut_search | Search a curated dataset of 129 keyboard shortcuts for VS Code, macOS, Windows, Chrome and GitHub. Matches label, description and keys. Returns app, category, label, description and the keys for both macOS and Windows. Sequence keys (e.g. GitHub "G then B") are listed in order. |
| shortcut_conflicts | Given a list of shortcut declarations (one per line, keys first with optional label, e.g. 'Ctrl+Shift+P Command palette' or '⌘C Copy'), detect duplicate bindings. Case-insensitive, key-order-insensitive, labels ignored; modifier names and symbols normalize together (⌘ == Cmd == Ctrl). Unparseable lines are reported, not ignored silently. |
| render_shortcut | Render one keyboard shortcut as HTML keycaps (<kbd class="keycap">…</kbd>, safe to embed) and as formatted text in Mac style (⌘⇧P) or Windows style (Ctrl+Shift+P). Purely local string handling. |
需要 Node.js 18+。服务器通过 stdio 在本地运行;只有你发起的工具调用会在本机计算。