Class MCPClientRegistrar

java.lang.Object
com.codename1.mcp.MCPClientRegistrar

public final class MCPClientRegistrar extends Object

Detects installed MCP hosts and registers a Codename One application's stdio MCP server with them, so an end user can point Claude Desktop, Claude Code and similar tools at the application without editing config by hand.

This is a plain reusable API. It is meant to be driven by Codename One tooling (the certificate wizard, Game Builder, Settings, the simulator) and by applications themselves.

Registration is a desktop concern. File access goes through FileSystemStorage so the class links on every target, but isSupported() is false where the platform provides no reachable home directory (mobile), and each detected host reports whether its config is writable.