Skip to content

feat: add MCP tool name metadata#171

Merged
tmm merged 4 commits into
wevm:mainfrom
brendanjryan:brendanjryan/incur-mcp-tool-metadata
Jun 22, 2026
Merged

feat: add MCP tool name metadata#171
tmm merged 4 commits into
wevm:mainfrom
brendanjryan:brendanjryan/incur-mcp-tool-metadata

Conversation

@brendanjryan

Copy link
Copy Markdown
Contributor

Summary

  • Add command-level MCP name and description overrides
  • Use overrides when collecting MCP tools
  • Reject duplicate MCP tool names with a clear error

Motivation

Agent-facing tool names often need to be stable and task-oriented rather than tied to CLI command paths.

Key design considerations

  • Preserve existing CLI command names, aliases, and help text
  • Keep existing MCP annotations and instructions behavior
  • Fail clearly when two commands map to the same MCP tool name

@pkg-pr-new

pkg-pr-new Bot commented Jun 22, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/incur@171

commit: bda4e0c

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@33491cc). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #171   +/-   ##
=======================================
  Coverage        ?   93.76%           
=======================================
  Files           ?       27           
  Lines           ?     3527           
  Branches        ?     1408           
=======================================
  Hits            ?     3307           
  Misses          ?      182           
  Partials        ?       38           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread .changeset/mcp-tool-metadata.md Outdated
@tmm tmm merged commit f069769 into wevm:main Jun 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants