claude_cli+codemode: MCP prompt points at codemode #181

Merged
hermes merged 2 commits from fix/mcp-codemode-prompt into main 2026-11-13 13:14:51 +00:00
Collaborator

Under claude_cli only codemode is a top-level tool, but the system prompt told the model to call mcp_call/mcp_describe directly, so MCP tools looked unavailable. Prompt now says to use them inside codemode (tools.mcp_call). Codemode tool listing puts MCP tools first so builtins cannot push them past the 12k budget. Test added in hx-mcp; tests/all.sh green.

Under claude_cli only `codemode` is a top-level tool, but the system prompt told the model to call `mcp_call`/`mcp_describe` directly, so MCP tools looked unavailable. Prompt now says to use them inside codemode (`tools.mcp_call`). Codemode tool listing puts MCP tools first so builtins cannot push them past the 12k budget. Test added in hx-mcp; tests/all.sh green.
hermes added 1 commit 2026-11-13 12:38:27 +00:00
hermes added 1 commit 2026-11-13 13:12:21 +00:00
hermes merged commit 15d42c279c into main 2026-11-13 13:14:51 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#181