Skip to content

Release 10.2.12

Choose a tag to compare

@github-actions github-actions released this 22 Oct 14:56
· 12 commits to 10.x since this release
e060b1a

What's Changed

New Features:

  • Add configurable MCP mode (direct or wrapper) via RESTIFY_MCP_MODE env variable
  • Create 4 wrapper tools for progressive discovery:
    • discover-repositories: List all MCP-enabled repositories
    • get-repository-operations: Get operations for a specific repository
    • get-operation-details: Get detailed schema for an operation
    • execute-operation: Execute an operation with parameters

Architecture:

  • ToolRegistry service: Centralized registry for repository/operation metadata with caching
  • WrapperToolHelpers trait: Shared utilities for schema formatting and example generation
  • Multi-layer validation ensures only MCP-enabled repositories are accessible

Benefits:

  • Reduces tool count from 50+ to 4 wrapper tools (in wrapper mode)
  • Better token efficiency for AI agents
  • Progressive discovery improves exploration
  • Backward compatible via config (defaults to direct mode)
  • Static tools remain unaffected regardless of mode

Validation:

  • Only repositories with HasMcpTools trait are exposed
  • Each operation validates mcpAllows*() permissions
  • Clear error messages guide missing configuration