Skip to content

0.2.0 — Add WebMCP to existing Play 3 sites

Pre-release
Pre-release

Choose a tag to compare

@AlexusEl AlexusEl released this 07 Sep 19:15

Add WebMCP to an existing Play Java or Scala site with one sbt dependency, tool metadata in a view, and a JavaScript handler.

  • Java 11 support; published against the Play 3.0.0 APIs with Scala 2.13.12 and 3.3.1.
  • The application keeps its Play version and Scala dependencies. No WebMCP Guice module, sbt plugin, or additional server is required.
  • Examples load the runtime through the application's asset routes and work at both / and /shop.
  • The same packaged JARs are tested in independent Java and Scala applications across every stable Play version from 3.0.0 to 3.0.11, with minimum Scala versions and Java 11/17/21 checks.
  • Includes the metadata validation fixes from main that were not in the 0.1.0 artifacts.

Install with the resolver and dependency in the English guide: https://github.com/HackInvent/play-webmcp#installation

Existing 0.1.0 helper calls and the public runtime path remain compatible. Update the dependency version to 0.2.0 and rebuild.

WebMCP remains experimental. Browser and agent support are documented separately in the README; no test with a ChatGPT account is claimed.