[FEATURE]: Support MCP-CLI for on-demand loading of MCP tools for reduced token consumption #4473

Open
opened 2026-02-16 17:43:53 -05:00 by yindo · 3 comments
Owner

Originally created by @HyunggyuJang on GitHub (Jan 8, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Ref: https://www.reddit.com/r/ClaudeAI/comments/1phxffj/mcpcli_is_an_experimental_approach_to_mcp_tool/, https://github.com/anthropics/claude-code/issues/12836#issuecomment-3629052941

Originally created by @HyunggyuJang on GitHub (Jan 8, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Ref: https://www.reddit.com/r/ClaudeAI/comments/1phxffj/mcpcli_is_an_experimental_approach_to_mcp_tool/, https://github.com/anthropics/claude-code/issues/12836#issuecomment-3629052941
yindo added the discussion label 2026-02-16 17:43:53 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 8, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7399: Filter which tools are loaded from MCP servers (includeTools/excludeTools) - proposes selective tool loading from MCPs
  • #7269: Reduce token overhead from Task tool - addresses token consumption from tool injection
  • #2513: Implement virtual tools feature for GitHub Copilot - similar concept of on-demand tool loading to work around tool limits

These issues discuss complementary approaches to reduce token consumption and manage tool availability. Feel free to ignore if this request has a specific MCP-CLI focus that differs from these.

@github-actions[bot] commented on GitHub (Jan 8, 2026): This issue might be a duplicate of existing issues. Please check: - #7399: Filter which tools are loaded from MCP servers (includeTools/excludeTools) - proposes selective tool loading from MCPs - #7269: Reduce token overhead from Task tool - addresses token consumption from tool injection - #2513: Implement virtual tools feature for GitHub Copilot - similar concept of on-demand tool loading to work around tool limits These issues discuss complementary approaches to reduce token consumption and manage tool availability. Feel free to ignore if this request has a specific MCP-CLI focus that differs from these.
Author
Owner

@airtonix commented on GitHub (Jan 12, 2026):

or you could just use skills to do this?

@airtonix commented on GitHub (Jan 12, 2026): or you could just use skills to do this?
Author
Owner

@HyunggyuJang commented on GitHub (Jan 12, 2026):

Indeed, MCP CLI is necessary to turn MCP servers into skills. Without MCP CLI, skills feature doesn't help since MCP server will consume the context on top of any skill instructions. Otherwise, we need to reverse engineer existing MCP servers to CLI tools, which can be avoided with MCP CLI.

@HyunggyuJang commented on GitHub (Jan 12, 2026): Indeed, MCP CLI is necessary to turn MCP servers into skills. Without MCP CLI, skills feature doesn't help since MCP server will consume the context on top of any skill instructions. Otherwise, we need to reverse engineer existing MCP servers to CLI tools, which can be avoided with MCP CLI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4473