v.2.1.0 - Dart MCP Server
This release adds experimental Dart MCP Server.
In future I want to replace Typescript server with Dart one.
The reason is simple: Dart has more tooling for Flutter, and it's easier to develop with it.
The reason why I didn't do it earlier - because I started earlier and at the start there was no Dart MCP Server at all, so only when I already developed first version (with autogenerated tools based on Dart VM methods), I asked question on Flutter Discord server and got reply that there is MCP server fo Dart tooling in development which sounds so amazing, so at the moment I thought that I don't need to do it myself and stop the project completely.
Then I figured out, that's it was fun time to develop it, and I would happy to try to complete at least one version.
At the same time I've tried Dart MCP Server and it was not working with Cline at all, so I decided to keep the project alive and try to fine tune it instead, while Dart MCP Server was in development.
Now Dart MCP Server mostly works, and I'm happy to migrate to it. However, in the same time, I found new idea of how MCP Server can be used - and it's not only using Dart VM methods, but just other way of thinking of MCP servers.
The current way to write MCP server tools and resources is to have to write server and all the code is on the server side.
However, I found, that it's not ideal, because if you need to secure what information is sent to the server, or just add new tools / resources for specific project it is not great way to do it.
So after experimenting with some ideas (the most of work is on branch feat/mcp-registry-try3), first:
- Removed extension and moved all logic for tools and resources to the client. (it's released alread as Dart MCPToolkit package)
- Added ability to register new tools and resources on server from client side. (WIP).
Hopefully, the idea will work and will be useful (but maybe not:))
If you want to try dart server - please check README for more details.
For dynamic registry of client tools and resources, please check issue - will update it during the work.
Have a nice day!