Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fromnewcoder/java-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: modelcontextprotocol/java-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 21 files changed
  • 4 contributors

Commits on Apr 29, 2025

  1. feat: Add customizable URI template manager factory to MCP server

    Implement URI template functionality for MCP resources, allowing dynamic
    resource URIs with variables in the format {variableName}.
    
    - Enable resource URIs with variable placeholders (e.g., "/api/users/{userId}")
    - Automatic extraction of variable values from request URIs
    - Validation of template arguments in completions
    - Matching of request URIs against templates
    
    - Add new URI template management interfaces and implementations
    - Enhanced resource template listing to include templated resources
    - Updated resource request handling to support template matching
    - Test coverage for URI template functionality
    
    - Adding a configurable uriTemplateManagerFactory field to both AsyncSpecification and SyncSpecification classes
    - Adding builder methods to allow setting a custom URI template manager factory
    - Modifying constructors to pass the URI template manager factory to the server implementation
    - Updating the server implementation to use the provided factory
    - Add bulk registration methods for async completions
    
    Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
    tzolov committed Apr 29, 2025
    Configuration menu
    Copy the full SHA
    e610d85 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2025

  1. Add missing isInitialized method to McpSyncClient (modelcontextprotoc…

    …ol#181)
    
    The isInitialized method is present in McpAsyncClient and needs to be
    mirrored in McpSyncClient.
    
    Signed-off-by: jitokim <pigberger70@gmail.com>
    jitokim authored May 8, 2025
    Configuration menu
    Copy the full SHA
    e34babb View commit details
    Browse the repository at this point in the history
  2. fix: Mockito inline mocking for Java 21+ (modelcontextprotocol#207)

    Before this fix the execution of the maven surefire
    plugin with Java 21 logged warnings that mockito should be added as
    a java agent, because the self-attaching won't be supported in future
    java releases.
    In Java 24 the test just broke.
    
    This problem is solved by modifying the pom.xml of the parent and doing
    this changes:
    
    * Adding mockito as a java agent.
    * Removing the surefireArgLine from the properties. This can be
    added back when it's needed (for example when JaCoCo will be used).
    
    Furthermore, the pom.xml in the mcp-spring-* modules now have
    the byte-buddy dependency included, as the test would otherwise break
    when trying to mock McpSchema#CreateMessageRequest.
    
    Fixes modelcontextprotocol#187
    
    Co-authored-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    denniskawurek and chemicL committed May 8, 2025
    Configuration menu
    Copy the full SHA
    eae3840 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2025

  1. Remove temporary delegate impl from McpAsyncServer

    Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    chemicL authored and tzolov committed May 9, 2025
    Configuration menu
    Copy the full SHA
    0069c97 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2025

  1. Next development version

    Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
    tzolov committed May 12, 2025
    Configuration menu
    Copy the full SHA
    b2d3e00 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2025

  1. Fix stdio tests - proper server-everything argument (modelcontextprot…

    …ocol#237)
    
    Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    chemicL authored May 14, 2025
    Configuration menu
    Copy the full SHA
    f346625 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2025

  1. Fix flaky WebFluxSse integration test

    Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    chemicL authored and tzolov committed May 15, 2025
    Configuration menu
    Copy the full SHA
    2e13f9f View commit details
    Browse the repository at this point in the history

Commits on May 16, 2025

  1. Add Contributing Guidelines and Code of Conduct

    Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    chemicL authored and tzolov committed May 16, 2025
    Configuration menu
    Copy the full SHA
    1adfa8a View commit details
    Browse the repository at this point in the history
  2. Add note about force pushes

    Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
    chemicL authored and tzolov committed May 16, 2025
    Configuration menu
    Copy the full SHA
    07e7b8f View commit details
    Browse the repository at this point in the history
Loading