TRAECNclaw MCP
TRAECNclaw MCP Skill
由规范版 TRAECNclaw 0.6.0 在提交
40bcf7707ed9b0ff7938aea8e511d0b87d300705生成。
TRAECNclaw 是一个本地优先的 MCP 服务器和 Agent Skill,用于操作用户 Mac 上的 TraeCN 桌面应用。本仓库是公共分发镜像:它携带可移植的 Skill、可安装的服务器归档、来源证明和市场元数据,而不发布私有的规范历史。
TRAECNclaw 暴露 MCP 合约版本 5,恰好有 20 个稳定的、单一意图的工具。正常的 Agent 流程是:
仅在需要时打开工作区。
仅在需要时选择模型或模式。
发送一条消息并释放调用方上下文。
旧版 MCP 客户端会收到持久通知;现代的
2026-07-28主机可以协商 Tasks 并订阅返回的确切任务 ID。
排队、等待、恢复、常规非命令问题、任务所有权和持久完成仍由网关管理。
本地服务器使用换行分隔的 stdio,实现 MCP 2026-07-28,并保持与基于初始化的 2025-11-25 和 2024-11-05 客户端的兼容性。TRAECNclaw 合约版本 5 是工具表面版本,不是 MCP 协议修订版。独立协商的上游草案 io.modelcontextprotocol/tasks 扩展不添加工具。
安装服务器
通过一个经过验证的渠道安装确切版本:
npm install --global @luckycat133/traecnclaw@0.6.0
# or, after `brew info` reports 0.6.0
brew install Luckycat133/tap/traecnclaw匹配的 GitHub Release 也提供完整的 scoped npm tarball 和确定性的 MCPB 包。无关的 unscoped traecnclaw@0.3.1 包是历史性的,不是当前的安装路径。
Related MCP server: nuphus-mcp
安装 Agent Skill
使用开放的 Skills CLI 从公共 GitHub 仓库安装:
npx skills add https://github.com/Luckycat133/traecnclaw-mcp-skill \
--skill traecnclaw-mcp \
-g或者从 GitHub Release 下载匹配的 Skill 归档。该 Skill 位于 .codex/skills/traecnclaw-mcp,包含 assets/mcp-client-config.json、scripts/setup-mcp.js 和服务器启动器。安装或更新 Skill 后,请重启 Agent 主机。
使用 scripts/setup-mcp.js 验证服务器发现并生成主机条目。正常运行时为:
Agent host -> local stdio server -> gateway on the same Mac -> TraeCN服务器和网关运行在与 TraeCN 相同的用户拥有的 Mac 上。市场容器可以检查 stdio 模式,但云容器无法透明地控制用户的本地 TraeCN 桌面。
准备好的官方注册表元数据使用 scoped 包 @luckycat133/traecnclaw@0.6.0,采用本地 stdio 传输。Smithery Local 使用匹配的已验证 MCPB 包;已退役的 smithery.yaml 格式仍然不存在。
配置
网关默认值为 TRAECN_GATEWAY_HOST=127.0.0.1 和 TRAECN_GATEWAY_PORT=8788。非回环绑定需要 TRAECN_GATEWAY_TOKEN。没有 MCP 工具配置文件设置。
发现渠道
同一个公共仓库是 Skill 和 MCP 目录提交的规范来源。只有当目录列表的版本、本地 stdio 传输、macOS 要求、20 个工具计数和生成的安装命令与此 Release 匹配时,该目录列表才是可信的。
选定的渠道包括 ClawHub、Glama、skills.sh、AwesomeSkills.dev、MCP.Directory、MCPB/Smithery Local,以及——在存在当前公共包之后——官方 MCP 注册表和 PulseMCP。其他目录应重用相同的来源证明和安装副本,而不是维护分支。
Glama
glama.json 和生成的根 Dockerfile 支持目录注册、维护者验证、安全/质量扫描和工具模式检查。Dockerfile 安装当前公共 Release,绝不包含网关令牌或模拟桥接。
TRAECNclaw 应列为本地 stdio 服务器。不要将 Glama 托管的容器描述为对用户 Mac 的自动远程连接。
有关来源证明和渠道就绪状态,请参阅 SOURCE_REVISION 和 release-manifest.json。
Available Tools
20 toolstraecn_answer_questionAnswer TraeCN QuestionA
Resolve an exceptional question from TraeCN that the gateway could not handle mechanically by supplying the user's decision. The gateway routes the answer to the pending visible prompt and reports the outcome. Only call when a pending interaction exists.
Inputs: answer (required). Returns: Interaction resolution outcome with optionally resumed tasks.
traecn_cancel_taskCancel TraeCN TaskADestructive
Cancel one gateway-tracked task by ID. The gateway stops shepherding the work at its next control point and records the cancellation; results already produced remain in task history. Returns the task identity and post-cancellation status.
Inputs: taskId (required). Returns: Cancelled task identity and any visible-generation stop outcome.
traecn_create_conversationCreate TraeCN ConversationA
Prepare a fresh TraeCN conversation for a genuinely new context. Returns a native conversation identity when TraeCN has allocated it; an empty draft returns conversationId=null and creationDeferred=true until its first message. Reuses an already-empty draft; otherwise creates another context. Call once per new context.
Inputs: no named parameters. Returns: Fresh conversation or empty draft awaiting a native identity.
traecn_decide_approvalDecide TraeCN ApprovalADestructive
Approve or deny the unsafe or ambiguous command card currently visible in TraeCN. Approval revalidates the exact expectedCommand against the card and requires acknowledgeRisk plus an audit reason recorded locally; denial needs only the decision. Never approve beyond the scope the user authorized.
Inputs: decision (required), reason, acknowledgeRisk, expectedCommand. Returns: Approval decision outcome with optionally resumed tasks.
traecn_delete_conversationDelete TraeCN ConversationADestructive
Permanently delete one inactive TraeCN conversation by stable identifier. Requires the exact expectedTitle returned by traecn_list_conversations plus an explicit irreversible-deletion acknowledgement; there is no gateway recovery path.
Inputs: expectedTitle (required), conversationId (required), acknowledgePermanentDeletion (required). Returns: Deletion outcome, or title/active-state mismatch details.
traecn_get_taskGet TraeCN TaskARead-onlyIdempotent
Read one known gateway task by ID: status plus final result, or the full execution trace with detailLevel 'trace' for diagnosis. Call once when notified of completion or once later when resuming after a disconnect. Not a progress primitive — do not poll in a tight loop.
Inputs: taskId (required), detailLevel. Returns: Task status snapshot with final result or diagnostics.
traecn_list_conversationsList TraeCN ConversationsARead-onlyIdempotent
List the conversations available in the current TraeCN mode with stable identifiers accepted by conversation-scoped tools. Read-only; call when choosing or verifying conversation context.
Inputs: no named parameters. Returns: Conversations for the current mode with stable identifiers.
traecn_list_modelsList TraeCN ModelsARead-onlyIdempotent
List the model names currently offered in the TraeCN UI and the current selection. If Auto hides manual models, report manualModelsHidden without changing modes. Call before select_model whenever the model choice matters.
Inputs: no named parameters. Returns: Current model plus available model names.
traecn_list_setting_optionsList TraeCN Setting OptionsARead-onlyIdempotent
List the visible choices of one dropdown-style setting identified by section and label. Required before select_setting_option; never invent an option value.
Inputs: label (required), section (required). Returns: Selectable choices for one dropdown setting.
traecn_list_settingsList TraeCN Section SettingsARead-onlyIdempotent
List the individual settings and their control types within one section returned by traecn_list_setting_sections. Read-only discovery preceding any setting mutation; never guess a label.
Inputs: section (required). Returns: Settings and control types within one section.
traecn_list_setting_sectionsList TraeCN Settings SectionsARead-onlyIdempotent
List the settings sections currently visible in TraeCN's settings UI. Required first step for any settings operation; never guess a section name.
Inputs: no named parameters. Returns: Visible settings section names.
traecn_open_workspaceOpen TraeCN WorkspaceA
Open one absolute local folder path as the active TraeCN workspace and verify it became active before returning. Call before submitting work that depends on a specific project; afterwards do not repeat the path inside the task message.
Inputs: path (required). Returns: Opened workspace identity with launch and verification details.
traecn_select_conversationSelect TraeCN ConversationA
Make one existing conversation the active target for subsequent visible interaction. Returns the confirmed active conversation identity.
Inputs: conversationId (required). Returns: Confirmed active conversation identity.
traecn_select_modeSelect TraeCN ModeAIdempotent
Switch TraeCN between Solo and IDE mode and confirm the resulting active mode. Switching to the current mode succeeds as a no-op. Call only when the requested mode differs.
Inputs: mode (required). Returns: Active mode after the switch.
traecn_select_modelSelect TraeCN ModelAIdempotent
Select one model by exact name from traecn_list_models and confirm the picker state before returning. Selecting the already-active model succeeds as a no-op. Does not wait for model availability or capacity.
Inputs: model (required). Returns: Applied selection with before/after models and queue readiness.
traecn_select_setting_optionSelect TraeCN Setting OptionA
Select one previously listed option for a dropdown setting identified by section and label, and confirm the applied selection. Only values returned by traecn_list_setting_options are valid.
Inputs: label (required), value (required), section (required). Returns: Applied dropdown selection and driver outcome.
traecn_send_messageSend TraeCN TaskA
Submit one user instruction to TraeCN as durable background work and return its stable taskId immediately; the gateway owns queueing, retries, recovery, and result persistence. Use this for every delegated coding request, optionally targeting an existing conversation via conversationId. Do not send follow-up messages to probe progress — track the returned task instead.
Inputs: message (required), conversationId. Returns: Accepted task identity, original terminal replay, or gateway rejection with rea…
traecn_set_setting_textSet TraeCN Setting TextA
Enter one text value into the setting field identified by section and label, and confirm what the field contains afterwards.
Inputs: text (required), label (required), section (required). Returns: Applied text value and driver outcome.
traecn_set_setting_toggleSet TraeCN Setting ToggleAIdempotent
Enable or disable one toggle setting identified by section and label, then read back the applied state. Applying the already-current state succeeds as a no-op.
Inputs: label (required), enabled (required), section (required). Returns: Applied toggle value and driver outcome.
traecn_stop_generationStop Visible GenerationADestructive
Stop only the generation currently visible in the named active TraeCN conversation. Visible output may belong to the user or another agent, so this requires acknowledgeUntrackedWork=true plus an audit reason. Prefer cancel_task whenever a gateway task ID exists.
Inputs: reason (required), conversationId (required), acknowledgeUntrackedWork (required). Returns: Verified scoped stop outcome, or the active-conversation mismatch details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
The tool set is largely cleanly partitioned: tasks, conversations, settings, models/modes, workspace, and interaction handling each have their own verbs. The only genuinely fuzzy pair is cancel_task vs stop_generation, but the description explicitly tells the agent to prefer cancel_task when a task ID exists, and the settings trio (toggle/option/text) is distinguished by control type. A few tools (list_settings vs list_setting_options vs list_setting_sections) are close cousins but the descriptions establish a clear required ordering.
Every tool uses the uniform traecn_<verb>_<noun> snake_case pattern (list_, select_, set_, create_, delete_, get_, cancel_, stop_, send_, open_, answer_, decide_). Verbs are used semantically consistently: list_ for read-only discovery, select_ for choosing from a listed set, set_ for applying a value. No camelCase or style mixing anywhere.
Twenty tools is on the heavy side, but the server spans several distinct sub-domains (task lifecycle, conversation lifecycle, settings discovery/mutation, model/mode selection, approvals, workspace), so most tools earn their place. It is borderline rather than bloated, and consolidation of the four settings tools would make it tighter.
Coverage is strong across most lifecycles: tasks (send/get/cancel), conversations (list/select/create/delete), settings (sections/list/options/set/select), models and mode, workspace opening, and interactive prompts (answer_question, decide_approval). Minor gaps remain — there is no list_tasks to enumerate tracked work, no conversation rename, and no workspace listing/current-workspace read — but agents can work around these using the returned taskId.
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Hosted remote MCP for protected account access, permissions, activity history and supported undo.
Headless task management for bots, apps and AI agents. Remote MCP server, OAuth or access token.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables automation of native Windows desktop applications through screen capture, mouse/keyboard control, and waiting for UI changes, exposing them as MCP tools.1-
- AlicenseNot gradedqualityCmaintenanceProvides desktop automation capabilities (e.g., click, browser snapshot) as MCP tools for DSH agents, enabling computer use via natural language.351 npm5MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform deterministic Windows desktop and browser automation through MCP, using pre-validated UI Automation and DOM locators for fast, stable execution of ERP and business workflows.1MIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP clients to automate live browser sessions by having an LLM plan one outcome at a time while a hosted decision model picks elements, actions, values, and completion status. It exposes tools for navigation, direct actions, page reading/snapshots, checks/choices, screenshots, and calling WebMCP tools registered by pages.675 npmMIT