Skip to content

Conversation

sdelamo
Copy link
Contributor

@sdelamo sdelamo commented Sep 24, 2025

Motivation and Context

It adds a TCK (Technology Compatibility Kit) for consumers of the MCP Java SDK who want to build MCP Servers with an HTTP endpoint.

Moreover, it adds an implementation of an HTTP MCP Server built with the Java HTTP Server.

It provides two implementations of the TCK one for sync and one for asynchronous. The examples, in the TCK are examples from the specification.

It adds a generic API HttpServerMcpStatelessServerTransport which can be used in a servlet implementation such as ``HttpServletStatelessServerTransportor inMcpSimpleHttpServer`. Moreover, this generic API can be used by downstream consumers of the API such as Micronaut.

How Has This Been Tested?

The Pull-request contains Tests.

Breaking Changes

No breaking change

Types of changes

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

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This pull-request adds a TCK and an implementation of MCP Server for the built-in Java HTTP Server.

Maven Surefire plugin version: 3.5.4
JUnit Version 5.13.4
@sdelamo sdelamo changed the title Tck Add MCP Server TCK Technology Compatibility Kit Sep 24, 2025
@sdelamo
Copy link
Contributor Author

sdelamo commented Sep 24, 2025

An example of an implementation of the TCK can be found in Micronaut micronaut-projects/micronaut-mcp#57

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