flutter3d_mcp_kit 0.8.0
flutter3d_mcp_kit: ^0.8.0 copied to clipboard
What every flutter3d MCP server shares: a table of tools that are their own handlers, answers that refuse without failing, and a loopback HTTP transport a running application can offer a session over.
flutter3d_mcp_kit #
The parts every flutter3d MCP server shares, written once:
OfferedTool<S, A>holds a tool and the code that runs it in one value, so every tool a server offers has a body.ToolTableServer<S, A>is a server built from a list of those over one session.AnswerandPictureAnswercarry what a call did and the sentence to say about it.resultOfandpictureResultOfturn a refusal into an error result the agent reads, so the server itself does not fail.LoopbackMcpServerserves any of those servers over127.0.0.1HTTP with a per-server token, for an application that wants to hand an agent the session a person already has open.
flutter3d_editor_mcp, flutter3d_model_mcp and flutter3d_sim_mcp (with
both of its servers) are built on it. It is plain Dart, so a server that uses
it starts without the Flutter SDK.