omp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OMP_BIN | No | Explicit path to the local `omp` (oh-my-pi) CLI executable, e.g. "C:/Users/<用户名>/.bun/bin/omp.exe". Recommended when `omp` is not in the default PATH (e.g. when launched from the Antigravity GUI). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
本 MCP 服务用于将任务委托给本机 omp (oh-my-pi)。每次调用 omp_* 工具时,请务必向用户明确提示当前通过 omp 调用的模型名称。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| omp_get_modelA | 查询本机 omp 当前默认配置的模型、各角色模型(default/smol/slow/plan)、预设与思考深度,也可按需列出或搜索本机可用模型列表。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
| omp_askA | 以只读模式调用本机 omp 进行问答、代码审查、架构建议或问题诊断(禁止修改文件与执行写入命令)。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
| omp_run_taskA | 同步委托本机 omp 在指定项目目录中执行编码、重构、调试或验证任务(允许读写与命令执行,自动审批工具调用)。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
| omp_start_taskA | 在后台异步启动一个较耗时的本机 omp 任务,立即返回 task_id 与当前配置的模型,避免同步等待超时。后续配合 omp_task_status 轮询进度或 omp_cancel_task 取消。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
| omp_task_statusB | 查询由 omp_start_task 启动的后台 omp 任务状态、实时识别到的模型名称、工具活动以及最终输出。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
| omp_cancel_taskB | 取消正在运行的后台 omp 任务并终止对应的本地 omp 进程。重要提示:调用本工具及向用户汇报结果时,必须明确告知用户当前通过 omp 调用的模型名称(以返回结果中的模型提示行为准)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly distinct role: read-only Q&A (omp_ask) vs. synchronous write-capable execution (omp_run_task) vs. asynchronous background execution (omp_start_task). The task lifecycle tools (start/status/cancel) and the model configuration query are cleanly separated with no meaningful overlap.
All tools share a consistent 'omp_' prefix and mostly follow a verb_noun pattern (get_model, ask, run_task, start_task, cancel_task). omp_task_status is the one deviation, using a noun_phrase rather than a verb-first form like get_task_status.
Six tools is well-scoped for a local omp delegation wrapper: one config query, one read-only query, one sync runner, and a three-tool async lifecycle. Every tool earns its place without redundancy.
The surface covers model inspection, read-only Q&A, synchronous execution, and full async task lifecycle (start/status/cancel). Minor gaps exist around session continuation or streaming live logs, but agents can work around these through polling and repeated calls.