Integrations
Integrates Biome for code linting and formatting, ensuring consistent code quality in the MCP server implementation.
Utilizes Bun for runtime execution and development environment, providing fast testing and execution capabilities for the MCP server.
Supports publishing the MCP server as an npm package, allowing for easy distribution and installation in Claude Desktop environments.
MCP Server Starter
Eine produktionsbereite Startervorlage zum Erstellen von Model Context Protocol (MCP)-Servern mit TypeScript.
🚀 Schnellstart
- Klonen Sie das Repository
- Installieren Sie Abhängigkeiten:Copy
✨ Hauptmerkmale
- Bun für schnelles Testen und Entwickeln
- Biom zum Lintisieren und Formatieren
- Automatisiertes Versionsmanagement mit Standard-Version
- Saubere, wartbare Projektstruktur
📂 Projektstruktur
⚙️ Konfiguration
Erstellen neuer Tools
Das Projekt enthält ein Skript zur Erstellung neuer MCP-Tools:
Dies wird:
- Erstellen Sie ein neues Tool-Verzeichnis unter
src/tools/<tool-name>
- Generieren Sie die grundlegende Werkzeugstruktur, einschließlich:
- index.ts (Hauptimplementierung)
- schema.ts (JSON-Schema für Tool-Parameter)
- test.ts (Testdatei)
- Aktualisieren Sie die Indexdatei des Tools, um das neue Tool zu exportieren
Beispiel:
🛠️ Entwicklung
- Tests ausführen :
bun test
- Formatcode :
bun run format
- Lint-Code :
bun run lint
- Build-Projekt :
bun run build
So fügen Sie Ihren Entwicklungs-MCP-Server zu Claude Desktop hinzu:
- Erstellen Sie das Projekt:Copy
- Fügen Sie Ihrer Claude Desktop-Konfiguration hinzu:Copy
📜 Versionsverwaltung
Dieses Projekt verwendet die Standardversion für die automatisierte Versionsverwaltung. Führen Sie bun run release
aus, um eine neue Version zu erstellen.
Commit-Nachrichtenformat
feat
: Neue Funktion (verbessert Nebenversion)fix
: Fehlerbehebung (verbessert die Patch-Version)BREAKING CHANGE
: Breaking Change (erhöht die Hauptversion)
📦 Veröffentlichen auf npm
- Stellen Sie sicher, dass Sie bei npm angemeldet sind:Copy
- Erstellen Sie das Projekt:Copy
- Veröffentlichen Sie das Paket:Copy
Denken Sie daran, die Versionsnummer mit bun run release
zu aktualisieren, bevor Sie neue Versionen veröffentlichen.
Installation von npm (nach der Veröffentlichung)
Fügen Sie Ihrer Claude Desktop-Konfiguration hinzu:
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Eine produktionsreife Vorlage zum Erstellen von Model Context Protocol-Servern mit TypeScript, mit Bun für schnelle Entwicklung, Biome für Lint-Tests und einer organisierten Struktur zum Erstellen von MCP-Tools.
- 🚀 Schnellstart
- ✨ Hauptmerkmale
- 📂 Projektstruktur
- ⚙️ Konfiguration
- 🛠️ Entwicklung
- 📜 Versionsverwaltung
- 📦 Veröffentlichen auf npm
- Installation von npm (nach der Veröffentlichung)
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.Last updated -1712JavaScriptMIT License
- AsecurityAlicenseAqualityA production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.Last updated -17JavaScriptMIT License
- AsecurityAlicenseAqualityA TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.Last updated -172TypeScriptMIT License
- -securityFlicense-qualityA TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.Last updated -67TypeScript