DevMatin/mcp-server-typescript
3.1
If you are the rightful owner of mcp-server-typescript and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A modern MCP (Model Context Protocol) server for DataForSEO APIs, developed in TypeScript.
MCP Server TypeScript
Ein moderner MCP (Model Context Protocol) Server fΓΌr DataForSEO APIs, entwickelt in TypeScript.
π Projektstruktur
mcp-server-typescript/
βββ π src/ # Quellcode
β βββ π core/ # KernfunktionalitΓ€ten
β β βββ π client/ # API-Client
β β βββ π config/ # Konfiguration
β β βββ π modules/ # API-Module
β β βββ π utils/ # Hilfsfunktionen
β βββ π main/ # Hauptanwendung
β βββ π worker/ # Worker-Prozesse
βββ π apis/ # API-Definitionen
β βββ π core/ # Kern-APIs
β β βββ SERP_API.ts
β β βββ On_Page_API.ts
β βββ π analytics/ # Analytics-APIs
β β βββ Domain_Analytics_API.ts
β β βββ DataForSEO_Labs_API.ts
β β βββ Business_Data_API.ts
β βββ π content/ # Content-APIs
β β βββ Content_Generation_API.ts
β β βββ Content_Analysis_API.ts
β βββ π commerce/ # Commerce-APIs
β β βββ Merchant_API.ts
β β βββ Google_Shopping_API.ts
β βββ index.ts # API-Index
βββ π tests/ # Tests
β βββ test-mcp-server.js
β βββ test-tool.js
β βββ simple-test.js
βββ π examples/ # Beispiele
β βββ api-integration-template.ts
β βββ keyword-research-kaffee-erlangen.js
βββ π docs/ # Dokumentation
β βββ 01_SERP_API.md
β βββ 02_Keyword_Data_API.md
β βββ 03_On_Page_API.md
β βββ 04_Domain_Analytics_API.md
β βββ 05_Content_Analysis_API.md
β βββ 06_Content_Generation_API.md
β βββ 07_Business_Data_API.md
β βββ 08_Merchant_API.md
β βββ 09_Google_Shopping_API.md
βββ π config/ # Konfigurationsdateien
β βββ tsconfig.json
β βββ tsconfig.worker.json
β βββ wrangler.jsonc
βββ π scripts/ # Build-Scripts
βββ π build/ # Kompilierte Dateien
βββ π package.json # Projekt-Konfiguration
π Schnellstart
Voraussetzungen
- Node.js 18+
- npm oder yarn
Installation
# Repository klonen
git clone <repository-url>
cd mcp-server-typescript
# AbhΓ€ngigkeiten installieren
npm install
# Projekt kompilieren
npm run build
# Server starten
npm start
Konfiguration
- Erstelle eine
.env
Datei im Root-Verzeichnis:
DATAFORSEO_USERNAME=your_username
DATAFORSEO_PASSWORD=your_password
ENABLED_MODULES=SERP,KEYWORDS_DATA,ONPAGE,DATAFORSEO_LABS,BACKLINKS,BUSINESS_DATA,DOMAIN_ANALYTICS
DATAFORSEO_FULL_RESPONSE=false
- Oder verwende die Konfigurationsdatei
config/field-config.example.json
π API-Module
Core APIs
- SERP API: Suchmaschinen-Ergebnisse abrufen
- On-Page API: On-Page SEO-Analysen
Analytics APIs
- Domain Analytics: Domain-basierte Analysen
- DataForSEO Labs: Erweiterte Forschungs-Tools
- Business Data: GeschΓ€ftsdaten und Informationen
Content APIs
- Content Generation: KI-gestΓΌtzte Content-Erstellung
- Content Analysis: Content-Analysen und Optimierung
Commerce APIs
- Merchant API: E-Commerce-Daten
- Google Shopping: Google Shopping-Integration
π§ͺ Tests
# Alle Tests ausfΓΌhren
npm test
# Spezifische Tests
node tests/test-mcp-server.js
node tests/test-tool.js
π Dokumentation
Detaillierte API-Dokumentation findest du im docs/
Verzeichnis:
π§ Entwicklung
Build-Prozess
# TypeScript kompilieren
npm run build
# Development-Modus
npm run dev
# Worker kompilieren
npm run build:worker
Code-Struktur
- Modulare Architektur: Jede API ist in einem separaten Modul organisiert
- TypeScript: VollstΓ€ndige Typisierung fΓΌr bessere Entwicklererfahrung
- MCP-Protokoll: Standardkonforme Implementierung des Model Context Protocol
π Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert. Siehe fΓΌr Details.
π€ Beitragen
- Fork das Repository
- Erstelle einen Feature-Branch (
git checkout -b feature/amazing-feature
) - Committe deine Γnderungen (
git commit -m 'Add some amazing feature'
) - Push zum Branch (
git push origin feature/amazing-feature
) - Γffne einen Pull Request
π Support
Bei Fragen oder Problemen:
- Erstelle ein Issue im GitHub Repository
- Konsultiere die Dokumentation im
docs/
Verzeichnis - ΓberprΓΌfe die Beispiele im
examples/
Verzeichnis