Content
# 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
```bash
npm install
```
## Running the server
```bash
npm run dev
```
## Building for production
```bash
npm run build
npm start
```
## Available Tools
This template includes the following MCP tools:
- `getNote`: Retrieve a note by ID
- `getAllNotes`: Get all notes
- `createNote`: Create a new note
- `updateNote`: Update an existing note
- `deleteNote`: Delete a note by ID
## Testing
Run the tests with:
```bash
npm test
```
Or watch mode:
```bash
npm run test:watch
```
## 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.
You Might Also Like
Ollama
Ollama enables easy access to large language models on various platforms.

n8n
n8n is a secure workflow automation platform for technical teams with 400+...
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

Dify
Dify is a platform for AI workflows, enabling file uploads and self-hosting.

Zed
Zed is a high-performance multiplayer code editor from the creators of Atom.
MarkItDown MCP
markitdown-mcp is a lightweight MCP server for converting various URIs to Markdown.