For anyone that wants to play around with MCP Apps inside Claude, we've added MCP App support to the latest version of the
http4k MCP SDK. In this update we added support for the latest spec (plus draft features), native Kotlin support for MCP Apps with a testing host, and a tutorial to get you started building MCP Apps. Plus you can now officially launch a fully compliant MCP server in less characters than a pre-Elon Tweet!
fun main() {
val mcp = Tool("clock", "get the time") bind { Ok(Text(now())) }
mcp.asServer(Jetty(3000)).start()
}
Check out all the updates here:
https://www.http4k.org/news/an_mcp_server_in_a_tweet/