MCP Server TypeScript Template
@minimind-org
About MCP Server TypeScript Template
MCP Server Typescript Template
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"example": {
"command": "node",
"args": [
"/path/to/mcp-server-typescript-template/dist/index.js"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server TypeScript Template?
MCP Server TypeScript Template is a starter project for building Model Context Protocol (MCP) servers with TypeScript. It provides a simple example server with demonstration tools—an example operation and an addition tool—to show how to implement custom tools using the MCP SDK. This template is aimed at developers who want to create or extend MCP servers for AI‑model tool integration.
How to use MCP Server TypeScript Template?
Clone the repository, install dependencies (npm install), run tests (npm run test), build (npm run build), and start the server (npm run start). To use the server with Claude Desktop, add an entry in claude_desktop_config.json pointing to the built dist/index.js file with the command node.
Key features of MCP Server TypeScript Template
- Provides example operation and addition tools.
- Written in TypeScript with full type definitions.
- Integrates with the Model Context Protocol SDK.
- Includes test, build, and start scripts.
- Demonstrates a customizable project structure.
- Supports Node.js v16 or higher.
Use cases of MCP Server TypeScript Template
- Learning how to build an MCP server from scratch.
- Prototyping custom tools for AI model interaction.
- Creating a foundation for production MCP servers.
- Extending with new operations for specific workflows.
FAQ from MCP Server TypeScript Template
What are the prerequisites for using this template?
Node.js v16 or higher and npm or yarn are required.
How do I install and run the server?
Clone the repository, run npm install, then npm run build, and finally npm run start to start the server for testing.
How can I configure it with Claude Desktop?
Edit your claude_desktop_config.json to add an entry under mcpServers that uses "command": "node" with "args": ["/path/to/dist/index.js"].
What tools are included by default?
The template includes an example operation and an addition tool that adds two numbers.
Can I add my own tools?
Yes, the template is designed to demonstrate how to implement custom tools. You can add new files under the operations/ folder and register them in the server.
More Developer Tools MCP servers
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
Smithery CLI
smithery-aiInstall, manage and develop MCP servers and skills for agents
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Comments