Package-level declarations

Types

Link copied to clipboard
class McpServer(val configuration: McpServerConfiguration = McpServerConfiguration(), configureTools: Server.() -> Unit = {})

An opt-in, loopback-only MCP Streamable HTTP server for Android compositions.

Link copied to clipboard
class McpServerConfiguration(val port: Int = 8080, val bearerToken: String = UUID.randomUUID().toString())

Configuration for a loopback-only MCP server. Use a distinct port per server instance. bearerToken must be securely shared with the authorized client, never published in URLs. The generated token is instance-specific and is not persisted or logged by the library.