akashi_mcp 0.3.0
akashi_mcp: ^0.3.0 copied to clipboard
Model Context Protocol (MCP) tools for the Akashi agent framework: connect to an MCP server via dart_mcp and expose its tools as Akashi tools an agent can call.
Changelog #
0.3.0 #
- Upgrade to
dart_mcp^0.5.1.connectStdionow spawns the server process and bridges its stdio viastdioChannel(the client no longer launches it internally); the process is killed onclose(). Public API unchanged.
0.2.0 #
Initial release — Model Context Protocol (MCP) tools over the official
dart_mcp client.
McpToolset.connectStdio(...)launches an MCP server subprocess and connects over stdio;McpToolset.fromChannel(...)connects over anyStreamChannel<String>(in-process servers, custom transports).- Each MCP tool is wrapped as an Akashi
Tool: its JSON-Schema input passes straight to the model, and calling it proxies atools/call. Tools the server flags with adestructiveHintare surfaced as needing approval. McpToolset.close()shuts the connection (and any spawned process) down.- Offline test against an in-process
dart_mcpserver driven through an agent.