Simple TypeScript MCP Server
A simple TypeScript template for building Model Context Protocol (MCP) servers with basic CRUD operations. This template provides a foundation for creating MCP tools that return JSON responses.
Features
- Simple notes API with CRUD operations
- In-memory data storage
- TypeScript implementation
- JSON responses
- Ready for testing with Vitest
Setup
Running the server
Building for production
Available Tools
This template includes the following MCP tools:
getNote
: Retrieve a note by IDgetAllNotes
: Get all notescreateNote
: Create a new noteupdateNote
: Update an existing notedeleteNote
: Delete a note by ID
Testing
Run the tests with:
Or watch mode:
Customizing
You can use this template as a starting point for your own MCP server by modifying the tools in src/server.ts
to fit your needs.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
JSON 응답을 사용하여 기본적인 노트 작성 CRUD 작업을 구현하는 모델 컨텍스트 프로토콜 서버를 구축하기 위한 TypeScript 템플릿입니다.
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 -158034JavaScriptMIT 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 -1580JavaScriptMIT 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 -114TypeScript
- 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 -15804TypeScriptMIT License