Create, Update, or Delete App Shortcut Preset
apps_save_presetAdd, update, or delete software shortcut presets and optionally persist them to mcp-config.json. Store reusable terminal commands with IDs, categories, and working directories for quick reuse.
Instructions
新增、修改或删除软件快捷操作预设,可选保存到 mcp-config.json。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "apps_save_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 预设唯一 ID(如 redis-flush) | |
| cwd | No | 可选固定工作目录 | |
| name | No | 展示名称(upsert 时必填) | |
| action | No | 操作类型:upsert 或 delete | upsert |
| command | No | 执行的终端命令(upsert 时必填) | |
| category | No | 所属分类(如 Redis/Docker/自定义) | 自定义 |
| saveToFile | No | 是否同步保存到 mcp-config.json | |
| description | No | 功能说明 |