DebugMcpHost class
Serves the DebugSurface over a localhost MCP endpoint. One instance
per AppPlayerCoreService when the Debug MCP setting is enabled on a
desktop platform.
Constructors
- DebugMcpHost(DebugSurface _surface)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{int port = 7930}) → Future< void> -
Bind the endpoint on
127.0.0.1:[port]/mcpand register the four tools. Idempotent-safe: a second call while already started is a no-op. -
stop(
) → Future< void> - Tear down the transport.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited