Skip to content

Conversation

@scottslewis
Copy link
Contributor

Description

Adds support for using Java interfaces or classes as 'tool groups'...i.e. semantically related sets of annotated methods aka tools. Given a service instance and the interface class, tool specifications can be generated at runtime through reflection, and added/removed to a running MCP Server. Example servers provided.

How Has This Been Tested?

MCP Test Client is present in repository.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • [ X] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • [X ] I have read the MCP Protocol Documentation
  • [X ] My changes follows MCP security best practices
  • [X ] I have updated the server's README accordingly
  • [ X] I have tested this with an LLM client
  • [ X] My code follows the repository's style guidelines
  • [ X] New and existing tests pass locally
  • [X ] I have added appropriate error handling
  • [X ] I have documented all environment variables and configuration options

Additional context

cliffhall and others added 2 commits September 9, 2025 14:14
Added MCP Dynamic Tool Groups community entry.

Signed-off-by: Scott Lewis <scottslewis@gmail.com>
@scottslewis scottslewis changed the title Add MCP ToolGroups Server Add ToolGroups Server Sep 9, 2025
@domdomegg
Copy link
Member

Interesting stuff!

Just in case you weren't following it already, there's also interesting discussion at the protocol level here that might be useful to follow: modelcontextprotocol/modelcontextprotocol#1300

@domdomegg domdomegg merged commit cc8038b into modelcontextprotocol:main Sep 12, 2025
19 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.

3 participants