Integrations
Built with TypeScript for type-safe development, allowing creation of robust MCP tools with proper typing and improved code reliability.
Integrates with Vitest for testing the MCP server functionality, enabling test-driven development of the note management capabilities.
Einfacher TypeScript MCP-Server
Eine einfache TypeScript-Vorlage zum Erstellen von Model Context Protocol (MCP)-Servern mit grundlegenden CRUD-Operationen. Diese Vorlage bietet die Grundlage für die Erstellung von MCP-Tools, die JSON-Antworten zurückgeben.
Merkmale
- Einfache Notizen-API mit CRUD-Operationen
- In-Memory-Datenspeicherung
- TypeScript-Implementierung
- JSON-Antworten
- Bereit zum Testen mit Vitest
Aufstellen
Ausführen des Servers
Bauen für die Produktion
Verfügbare Tools
Diese Vorlage enthält die folgenden MCP-Tools:
getNote
: Ruft eine Notiz nach ID abgetAllNotes
: Alle Notizen abrufencreateNote
: Erstelle eine neue NotizupdateNote
: Aktualisieren Sie eine vorhandene NotizdeleteNote
: Löscht eine Notiz anhand der ID
Testen
Führen Sie die Tests mit folgendem aus:
Oder im Beobachtungsmodus:
Customizing
Sie können diese Vorlage als Ausgangspunkt für Ihren eigenen MCP-Server verwenden, indem Sie die Tools in src/server.ts
an Ihre Anforderungen anpassen.
You must be authenticated.
Eine TypeScript-Vorlage zum Erstellen von Model Context Protocol-Servern, die grundlegende CRUD-Operationen zum Notieren mit JSON-Antworten implementiert.
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
- AsecurityFlicenseAqualityA TypeScript-based template for developing Model Context Protocol servers with features like dependency injection and service-based architecture, facilitating the creation and integration of custom data processing tools.Last updated -12TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server that extracts embedded data (such as i18n translations or key/value configurations) from TypeScript/JavaScript source code into structured JSON configuration files.Last updated -2142JavaScriptMIT License