PubDev MCP
This MCP provides functionality for searching pub.flutter-io.cn packages using natural language queries and performing basic arithmetic calculations. Powered by LLM integration, it enables intuitive package discovery through conversational interactions.
Features
- Natural language package search on pub.flutter-io.cn
- Use conversational queries to find packages
- Get intelligent package recommendations based on your needs
- Powered by LLM for better understanding of search intent
Installation
- Clone this repository
git clone [repository-url]
- Install dependencies
dart pub get
- Configure mcp.json
Add the following configuration to your
~/.cursor/mcp.json
:
{
"mcpServers": {
"PubDev MCP": {
"command": "dart [path-to-repo]/bin/pubdev_mcp.dart",
"workingDirectory": "[path-to-repo]"
}
}
}
Replace [path-to-repo]
with the actual path to your cloned repository.
Requirements
- Dart SDK
- Flutter (recommended)
License
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Create a Pull Request