MCP tools, merged into the project's servers as <namespace>.<tool>:
the slot McpTools fills, host.registry<McpTools>().
In the plugin API's light tools.dart, beside no server. A plugin
that brings tools depends on this library alone; the servers that offer
them are flutter3d_mcp's, which re-exports it, and a game that ships
the plugin never resolves them.
- Inheritance
-
- Object
- PluginRegistry
- McpToolRegistry
- Implementers
Constructors
- McpToolRegistry()
-
const
Properties
-
companions
→ Iterable<
PluginRegistry> -
The registries that come with this one, found by
PluginHost.registryas if each had been handed to the host itself.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forPlugin(
PluginScope scope) → PluginRegistry -
This registry as
scope's plugin sees it: everything registered through the result is tracked byscope, ranked by it, and checked against its manifest. Must return the same type the registry is looked up by.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited