Comprehensive MCP (Model Context Protocol) server for code analysis and web scraping. Supports code quality analysis, linting, dependency analysis, static/dynamic web scraping, and API discovery.
MCP Development Tools, AI asistanlarının (Cursor, Claude Desktop, vb.) kod kalitesini analiz etmesi, web içeriklerini çekmesi ve development görevlerini gerçekleştirmesi için kapsamlı bir MCP server'dır.
- 📊 Kod Kalitesi Analizi: Complexity, maintainability, code smells detection
- 🔍 Linting & Formatting: ESLint, Prettier, TypeScript checking
- 📦 Bağımlılık Analizi: Unused deps, vulnerabilities, outdated packages
- 🔒 Güvenlik Analizi: Secret detection, vulnerability scanning
- 🌐 Web Scraping: Static ve dynamic content scraping
- 🔎 API Keşfi: Endpoint discovery, network analysis
- Node.js 18 veya üzeri
- npm veya yarn
- TypeScript (dev dependency)
- Repository'yi klonlayın:
git clone https://github.com/code-alchemist01/development-tools-mcp-Server.git
cd development-tools-mcp-Server- Bağımlılıkları yükleyin:
npm install- Playwright browser'larını yükleyin (dynamic scraping için):
npx playwright install chromium- Projeyi derleyin:
npm run build- Test edin:
npm startWindows:
%APPDATA%\Cursor\User\globalStorage\mcp.json
macOS/Linux:
~/.config/Cursor/User/globalStorage/mcp.json
{
"mcpServers": {
"development-tools": {
"command": "node",
"args": [
"C:\\Users\\YourUsername\\path\\to\\development-tools-mcp-Server\\dist\\index.js"
]
}
}
}Not: args içindeki path'i kendi proje yolunuza göre güncelleyin.
Config dosyasını kaydettikten sonra Cursor'u tamamen kapatıp yeniden açın.
Cursor'da Settings > Tools & MCP bölümünde "development-tools" listede görünmeli ve "42 tools enabled" yazmalı.
Windows:
%APPDATA%\Claude\claude_desktop_config.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Linux:
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"development-tools": {
"command": "node",
"args": [
"/absolute/path/to/development-tools-mcp-Server/dist/index.js"
]
}
}
}Herhangi bir MCP client kullanıyorsanız, client'ın MCP server yapılandırma formatına göre aşağıdaki bilgileri kullanın:
- Command:
node - Args:
[path/to/dist/index.js] - Transport:
stdio(standard input/output)
Genel MCP Config:
{
"mcpServers": {
"development-tools": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": {}
}
}
}Environment Variables ile:
{
"mcpServers": {
"development-tools": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": {
"NODE_ENV": "production"
}
}
}
}MCP server kurulduktan sonra, client'ınızın chat arayüzünde doğal dil komutları kullanarak işlemleri gerçekleştirebilirsiniz.
Kod Kalitesi Analizi:
Bu projedeki kod kalitesini analiz et
src/**/*.ts dosyalarının kod kalitesini analiz et
Complexity Hesaplama:
src/utils klasöründeki dosyaların complexity'sini hesapla
Code Smell Tespiti:
Kodda code smell'leri bul
Duplicate Kod Bulma:
Projede duplicate kod bloklarını bul
Kod Lint:
src/**/*.ts dosyalarını lint et
Kod Formatla:
src/**/*.ts dosyalarını Prettier ile formatla
TypeScript Kontrolü:
TypeScript dosyalarında type hatalarını kontrol et
Bağımlılık Analizi:
Proje bağımlılıklarını analiz et
Kullanılmayan Paketleri Bul:
Kullanılmayan npm paketlerini bul
Güvenlik Açıklarını Kontrol Et:
Dependency'lerdeki güvenlik açıklarını kontrol et
HTML Scraping:
https://example.com sayfasını scrape et
Link Çıkarma:
https://example.com sayfasındaki tüm linkleri çıkar
Dynamic Content:
https://example.com sayfasını browser ile scrape et (JavaScript render)
API Endpoint Keşfi:
https://example.com sayfasındaki API endpoint'lerini keşfet
Secret Detection:
Kodda hardcoded secret'ları bul
Güvenlik Taraması:
Güvenlik açıklarını tara
analyze_code_quality- Genel kod kalitesi analizicalculate_complexity- Cyclomatic complexity hesaplamadetect_code_smells- Code smell tespitianalyze_maintainability- Maintainability index hesaplamafind_duplicate_code- Duplicate kod tespitianalyze_test_coverage- Test coverage analizigenerate_code_metrics- Detaylı kod metriklerisuggest_refactoring- Refactoring önerileri
lint_code- ESLint ile kod kontrolüformat_code- Prettier ile kod formatlamacheck_typescript- TypeScript type checkingvalidate_syntax- Syntax doğrulamafix_lint_issues- Otomatik lint düzeltmeleri
analyze_dependencies- Bağımlılık ağacı analizifind_unused_dependencies- Kullanılmayan paketleri bulcheck_vulnerabilities- Güvenlik açığı kontrolücheck_outdated_packages- Eski paketleri tespit etanalyze_bundle_size- Bundle boyutu analizisuggest_dependency_updates- Güncelleme önerileri
scan_security_issues- Güvenlik taramasıdetect_secrets- Hardcoded secret'ları bulanalyze_permissions- Dosya izin analizicheck_compliance- Compliance kontrolü
scrape_html- HTML içeriği çekmeextract_text- Metin çıkarmaextract_links- Link çıkarmaextract_images- Görsel URL'leri çıkarmaextract_tables- Tablo verilerini çıkarmascrape_by_selector- CSS selector ile scraping
scrape_dynamic_content- JavaScript render edilmiş içerikscrape_with_interaction- Kullanıcı etkileşimi ile scrapingscreenshot_page- Sayfa ekran görüntüsüwait_for_element- Element beklemeextract_after_click- Tıklama sonrası içerik çekme
discover_api_endpoints- API endpoint keşfianalyze_network_requests- Network trafiği analiziextract_api_schema- API şema çıkarmatest_api_endpoint- API endpoint testi
parse_json- JSON parsingparse_xml- XML parsingparse_csv- CSV parsingformat_scraped_data- Veri formatlama
development-tools-mcp-Server/
├── src/
│ ├── index.ts # MCP server ana giriş noktası
│ ├── server.ts # MCP server implementasyonu
│ ├── tools/ # MCP tools
│ │ ├── code-analysis.ts # Security analysis tools
│ │ ├── code-quality.ts # Code quality tools
│ │ ├── dependency-analysis.ts # Dependency analysis tools
│ │ ├── linting.ts # Linting tools
│ │ ├── web-scraping.ts # Web scraping tools
│ │ └── api-discovery.ts # API discovery tools
│ ├── analyzers/ # Analiz motorları
│ │ ├── code-analyzer.ts # Kod analizi
│ │ ├── complexity-analyzer.ts # Complexity analizi
│ │ ├── dependency-analyzer.ts # Bağımlılık analizi
│ │ └── security-analyzer.ts # Güvenlik analizi
│ ├── scrapers/ # Scraping motorları
│ │ ├── static-scraper.ts # Static HTML scraping
│ │ ├── dynamic-scraper.ts # Dynamic content scraping
│ │ └── api-scraper.ts # API endpoint keşfi
│ ├── utils/ # Yardımcı fonksiyonlar
│ │ ├── file-reader.ts
│ │ ├── formatters.ts
│ │ ├── validators.ts
│ │ └── linting-utils.ts
│ └── types/ # TypeScript tip tanımları
│ └── index.ts
├── dist/ # Derlenmiş JavaScript dosyaları
├── package.json
├── tsconfig.json
└── README.md
npm run devnpm run buildnpm testMCP Client Chat'te:
src/**/*.ts dosyalarının kod kalitesini analiz et
En karmaşık fonksiyonları göster
Code smell'leri tespit et
Beklenen Sonuç:
- Kod kalitesi metrikleri
- Complexity analizi
- Code smell listesi
- Refactoring önerileri
MCP Client Chat'te:
https://example.com sayfasını scrape et
Sayfadaki tüm linkleri çıkar
Tablo verilerini extract et
Beklenen Sonuç:
- HTML içeriği
- Link listesi
- Tablo verileri
MCP Client Chat'te:
https://example.com sayfasındaki API endpoint'lerini keşfet
Network request'leri analiz et
Beklenen Sonuç:
- API endpoint listesi
- Request/response analizi
- Authentication bilgileri
MCP Client Chat'te:
Kullanılmayan paketleri bul
Güvenlik açıklarını kontrol et
Güncelleme önerileri yap
Beklenen Sonuç:
- Unused dependencies listesi
- Vulnerability raporu
- Update suggestions
- Input validation ve sanitization
- URL validation
- Timeout yönetimi
- Error handling
- Secret detection
- SQL injection koruması
- JSON - Structured data responses
- Markdown - Raporlar ve dokümantasyon
- CSV - Veri export
- Text - Plain text output
- Fork edin
- Feature branch oluşturun (
git checkout -b feature/amazing-feature) - Commit edin (
git commit -m 'Add amazing feature') - Push edin (
git push origin feature/amazing-feature) - Pull Request açın
MIT License - Detaylar için LICENSE dosyasına bakın.
Bu MCP server aşağıdaki client'lar ile uyumludur:
- ✅ Cursor IDE - Tam destek
- ✅ Claude Desktop - Tam destek
- ✅ Anthropic API - MCP protokolü üzerinden
- ✅ Diğer MCP Client'lar - Standart MCP protokolü destekleyen tüm client'lar
- Model Context Protocol - MCP standardı için
- Cursor - MCP desteği için
- Claude - MCP desteği için
Sorularınız veya önerileriniz için issue açabilirsiniz.
⭐ Bu projeyi beğendiyseniz yıldız vermeyi unutmayın!