MCP Server TypeScript Template
A template for creating Model Context Protocol (MCP) servers using TypeScript. This project demonstrates how to implement a simple MCP server with custom tools.
Overview
This template implements a basic MCP server that provides tools for:
- Example operation: A simple demonstration operation
- Addition: A tool that adds two numbers
The server uses the Model Context Protocol SDK to handle communication between AI models and external tools.
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
Project Structure
The project is structured as follows:
mcp-server-typescript-template/
├── common/
│ ├── constant.ts # Project constants
│ ├── errors.ts # Error handling utilities
│ └── types.ts # Type definitions
│ └── utils.ts # Utility functions
├── operations/
│ └── example-operation.ts # Implementation of example operations
├── index.ts # Main server implementation
├── package.json
└── tsconfig.json
Installation
Clone the repository and install dependencies:
git clone <repository-url>
cd mcp-server-typescript-template
npm install
npm run test
npm run build
npm run start # this will start the server for testing
Configuration MCP Client (Claude Desktop)
edit your claude_desktop_config.json file to add the following:
{
"mcpServers": {
"example": {
"command": "node",
"args": [
"/path/to/mcp-server-typescript-template/dist/index.js"
]
}
}
}
MCP Server TypeScript Template
Project Details
- minimind-org/mcp-server-typescript-template
- Last Updated: 3/31/2025
Recomended MCP Servers
High-performance CCXT MCP server for cryptocurrency exchange integration
This read-only MCP Server allows you to connect to Oracle Financials Cloud data from Claude Desktop through CData...
Model Context Protocol Servers
A Model Context Protocol (MCP) server enabling AI assistants to interact with Outline documentation services.
A Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Netflix-level subtitle cutting, translation, alignment, and even dubbing - one-click fully automated AI video subtitle team | Netflix级字幕切割、翻译、对齐、甚至加上配音,一键全自动视频搬运AI字幕组
Memory Bank implementation for Claude AI, based on Cline Memory Bank structure
Servidor MCP para integrar modelos de linguagem com a Evolution API
This repo contains an MCP written in Python for Steampipe.





