Flutter Package MCP Server
A Model Context Protocol (MCP) server for Flutter packages, designed to integrate with AI assistants like Claude.
Flutter Package MCP Server
🚀 Flutter paketleri için Model Context Protocol (MCP) server - Claude ve diğer AI asistanları ile Flutter paket ekosistemini entegre kullanın!
Pub.dev API'si ile entegre çalışarak Flutter paketlerinin güncel bilgilerini, versiyonlarını ve dokümantasyonlarını AI asistanınızın kullanımına sunar.
✨ Özellikler
- 📦 Paket Bilgileri: Güncel versiyon, açıklama, bağımlılıklar ve kurulum talimatları
- 🔍 Akıllı Arama: Anahtar kelime ile Flutter paket arama
- 📊 Versiyon Yönetimi: Tüm paket versiyonlarını listeleme ve karşılaştırma
- 📖 Kapsamlı Dokümantasyon: README, API dokümantasyonu ve özel dokümantasyon
- ⭐ Paket Değerlendirmesi: Popülerlik, kalite skorları ve topluluk beğenileri
- 🔥 Trend Analizi: En popüler ve trend olan paketleri keşfetme
- 🇹🇷 Türkçe Destek: Tamamen Türkçe arayüz ve açıklamalar
🛠️ Kurulum
Ön Koşullar
- Node.js v18 veya üzeri (İndir)
- npm veya yarn paket yöneticisi
- Claude Desktop veya MCP destekli bir AI client
1. Projeyi Klonlayın
git clone https://github.com/OrtakProje-1/flutter-package-mcp-server.git
cd flutter-package-mcp-server
2. Bağımlılıkları Yükleyin
npm install
3. Projeyi Build Edin
npm run build
4. Test Edin
npm run dev
Server başarıyla çalışırsa terminalden çıkmak için Ctrl+C kullanın.
🔧 MCP Client Kurulumu
Claude Desktop ile Kullanım
-
Claude Desktop Config Dosyasını Bulun:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json -
Config dosyasını düzenleyin:
{ "mcpServers": { "flutter-packages": { "command": "node", "args": ["/FULL/PATH/TO/flutter-package-mcp-server/dist/index.js"], "env": {} } } }⚠️ Önemli:
/FULL/PATH/TO/flutter-package-mcp-serverkısmını projenin gerçek tam yolu ile değiştirin. -
Claude Desktop'ı yeniden başlatın
Cursor IDE ile Kullanım
-
Cursor ayarlarını açın (
Cmd/Ctrl + ,) -
MCP ayarlarına şu konfigürasyonu ekleyin:
{ "mcp": { "servers": { "flutter-packages": { "command": "node", "args": ["/FULL/PATH/TO/flutter-package-mcp-server/dist/index.js"] } } } } -
Cursor'u yeniden başlatın
Diğer MCP Clientlar
Bu server, MCP standardını destekleyen herhangi bir client ile kullanılabilir. Server stdio üzerinden iletişim kurar.
🎯 Kullanım Örnekleri
Paket Bilgisi Alma
"http paketinin güncel bilgilerini ve kurulum talimatlarını getir"
Paket Arama
"state management için en iyi Flutter paketlerini ara"
Versiyon Karşılaştırması
"provider paketinin tüm versiyonlarını listele"
Dokümantasyon
"bloc paketinin detaylı dokümantasyonunu ve kullanım örneklerini getir"
Trend Analizi
"Bu ay trend olan Flutter paketlerini göster"
Paket Değerlendirmesi
"riverpod ve provider paketlerini karşılaştır, hangisi daha popüler?"
🛠️ Geliştirme
Geliştirme Ortamını Hazırlama
# Repository'yi fork edin ve klonlayın
git clone https://github.com/OrtakProje-1/flutter-package-mcp-server.git
cd flutter-package-mcp-server
# Bağımlılıkları yükleyin
npm install
# Geliştirme modunda çalıştırın
npm run dev
Mevcut Scriptler
# TypeScript'i build et
npm run build
# Geliştirme modunda çalıştır (hot reload)
npm run dev
# Production modunda çalıştır
npm start
# Tip kontrolü
npm run type-check
Proje Yapısı
flutter-package-mcp-server/
├── src/
│ └── index.ts # Ana server kodu
├── dist/ # Build edilmiş dosyalar
├── package.json
├── tsconfig.json
└── README.md
Yeni Özellik Ekleme
src/index.tsdosyasındaFlutterPackageMCPServersınıfına yeni method ekleyinsetupToolHandlers()metodunda yeni tool'u tanımlayınCallToolRequestSchemahandler'ında yeni case ekleyin- Build edin ve test edin
📊 Mevcut API Araçları
| Araç Adı | Açıklama | Parametreler |
|---|---|---|
get_package_info | Paket detaylarını getirir | package_name: string |
search_packages | Paket arama yapar | query: string, page?: number |
get_package_versions | Tüm versiyonları listeler | package_name: string |
get_package_documentation | Dokümantasyon getirir | package_name: string, version?: string |
get_package_score | Paket skorlarını getirir | package_name: string |
get_trending_packages | Trend paketleri listeler | page?: number |
⚡ Performans ve Limitler
Pub.dev API Limitleri
- Rate Limiting: Saniyede 10 istek, dakikada 600 istek
- Günlük Limit: 36,000 istek/saat
- Timeout: 30 saniye
Optimizasyon İpuçları
- Sık kullanılan paketler için cache kullanımı planlanıyor
- Batch istekler gelecek versiyonda eklenecek
🐛 Sorun Giderme
Server Çalışmıyor
# Node.js versiyonunu kontrol edin
node --version # v18+ olmalı
# Bağımlılıkları yeniden yükleyin
rm -rf node_modules package-lock.json
npm install
# Build işlemini tekrarlayın
npm run build
Claude Desktop Bağlantı Sorunu
- Config dosyası konumunu doublcheck edin
- JSON syntax'ının doğru olduğundan emin olun
- Dosya yolunun mutlak path olduğunu kontrol edin
- Claude Desktop'ı tamamen kapatıp açın
API Hataları
# İnternet bağlantısını test edin
curl https://pub.dev/api/packages/http
# DNS sorunları için
nslookup pub.dev
# Proxy ayarlarınızı kontrol edin
echo $HTTP_PROXY
echo $HTTPS_PROXY
Debug Modu
# Detaylı loglar için
DEBUG=* npm run dev
# Sadece MCP logları için
DEBUG=mcp:* npm run dev
🤝 Katkıda Bulunma
Katkılarınızı memnuniyetle karşılıyoruz!
Katkı Süreci
- Fork edin
- Feature branch oluşturun (
git checkout -b feature/amazing-feature) - Değişikliklerinizi commit edin (
git commit -m 'Add amazing feature') - Branch'inizi push edin (
git push origin feature/amazing-feature) - Pull Request oluşturun
Geliştirme Kuralları
- TypeScript strict mode kullanın
- Her yeni özellik için test yazın
- Commit mesajlarında conventional commit formatını kullanın
- README'yi güncel tutun
İstenen Özellikler
- Package caching sistemi
- Offline mod desteği
- Batch API istekleri
- Package dependency tree görselleştirmesi
- Vulnerability checking
- License compatibility kontrolü
📄 Lisans
Bu proje MIT lisansı altında lisanslanmıştır. Detaylar için LICENSE dosyasına bakın.
🙏 Teşekkürler
- Pub.dev - Flutter paket repository'si
- Model Context Protocol - AI entegrasyon standardı
- Claude - AI asistan platformu
- Flutter - Harika framework
📞 Destek
Sorularınız veya sorunlarınız için:
- 🐛 Bug Report: GitHub Issues
- 💡 Feature Request: GitHub Discussions
- 📧 İletişim: [email protected]
⭐ Bu proje faydalı olduysa star vermeyi unutmayın!
Made with ❤️ for Flutter Community
Servidores relacionados
Alpha Vantage MCP Server
patrocinadorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
mcp-agent-kit
a complete and intuitive SDK for building MCP Servers, MCP Agents, and LLM integrations (OpenAI, Claude, Gemini) with minimal effort. It abstracts all the complexity of the MCP protocol, provides an intelligent agent with automatic model routing, and includes a universal client for external APIs all through a single, simple, and powerful interface. Perfect for chatbots, enterprise automation, internal system integrations, and rapid development of MCP-based ecosystems.
Nova Mcp
t stores your project context, decisions, and knowledge locally in SQLite - no cloud, no telemetry. Your data stays on your machine.
Lean LSP
Interact with the Lean theorem prover via the Language Server Protocol (LSP), enabling LLM agents to understand, analyze, and modify Lean projects.
Android Preference Editor
Edit Android preferences using adb and Node.js.
Atomic APIs
17 developer utility APIs as MCP tools — PII redaction, prompt injection detection, web-to-markdown, WCAG scanning, receipt OCR, and more — zero configuration, sub-second responses.
ZeroPath MCP Server
Interact with your product security findings using natural language.
plugged.in MCP Proxy Server
A middleware that aggregates multiple Model Context Protocol (MCP) servers into a single unified interface.
AutoProvisioner
A server for automated provisioning, supporting both local and remote communication protocols.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, without authentication.
Tenets
Offline MCP server that ranks & summarizes code using BM25, TF-IDF, embeddings & git signals; integrates with Cursor, Claude Desktop and Windsurf; privacy preserving.