Skip to content

Move tool metadata out of MCPToolRegistry - #108

Merged
Gabriel-Darbord merged 5 commits into
mainfrom
decentralize-tool-metadata-registry
Jul 20, 2026
Merged

Move tool metadata out of MCPToolRegistry#108
Gabriel-Darbord merged 5 commits into
mainfrom
decentralize-tool-metadata-registry

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Summary

  • make MCPToolRegistry an instance-scoped catalog with no class-side methods or global registration state
  • derive built-in registrations from concrete MCP tools instead of hardcoded class lists
  • move groups, keywords, examples, activation requirements, default exposure, mutability, and risk onto tool instances and their hierarchies
  • keep user visibility overrides in registry-aware MCPToolExposurePolicy instances
  • make singular query normalization fully rule-based
  • expose tool-owned catalog metadata through tool_get while keeping tool_search metadata compact
  • make plugin registrations isolated per registry

Verification

  • P13 focused registry/catalog tests: 137 passed
  • P13 MCP-Tests and MCP-UI-Tests: 723 passed
  • no built-in tools fall into the default other group
  • MCPToolRegistry has 0 class-side methods
  • git diff --check

@Gabriel-Darbord
Gabriel-Darbord merged commit 36a1cad into main Jul 20, 2026
3 checks passed
@Gabriel-Darbord
Gabriel-Darbord deleted the decentralize-tool-metadata-registry branch July 20, 2026 09:23
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.

1 participant