MCP Server TypeScript Template
Plantilla TypeScript de servidor MCP
Una plantilla para crear servidores MCP (Protocolo de Contexto de Modelo) con TypeScript. Este proyecto demuestra cómo implementar un servidor MCP sencillo con herramientas personalizadas.
Descripción general
Esta plantilla implementa un servidor MCP básico que proporciona herramientas para:
Operación de ejemplo: Una operación de demostración simple
Suma: Una herramienta que suma dos números.
El servidor utiliza el SDK de protocolo de contexto de modelo para gestionar la comunicación entre los modelos de IA y las herramientas externas.
Related MCP server: MCP Server Starter
Prerrequisitos
Node.js (v16 o superior)
npm o hilo
Estructura del proyecto
El proyecto se estructura de la siguiente manera:
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.jsonInstalación
Clonar el repositorio e instalar las dependencias:
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 testingConfiguración del cliente MCP (Claude Desktop)
Edite su archivo claude_desktop_config.json para agregar lo siguiente:
{
"mcpServers": {
"example": {
"command": "node",
"args": [
"/path/to/mcp-server-typescript-template/dist/index.js"
]
}
}
}
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA TypeScript template for building MCP servers with HTTP transport that provides a foundation for creating integrations between AI assistants and custom tools. Includes example implementations and development tooling to help developers create their own MCP servers.16ISC
- AlicenseNot gradedqualityDmaintenanceA TypeScript template for building Model Context Protocol (MCP) servers that enables developers to quickly create custom tools and integrate them with AI platforms like Claude, Cursor, Windsurf, and Cline.834MIT
- AlicenseNot gradedqualityDmaintenanceA boilerplate project for quickly developing Model Context Protocol (MCP) servers using TypeScript SDK, with example implementations of tools (calculator, greeting) and resources (server info).15MIT
- FlicenseNot gradedqualityDmaintenanceA boilerplate project for quickly developing Model Context Protocol servers using TypeScript SDK, with example implementations of tools (calculator, greeting) and resources (server info).
Related MCP Connectors
Kickstart development with a customizable TypeScript template featuring sample tools for greeting,…
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/minimind-org/mcp-server-typescript-template'
If you have feedback or need assistance with the MCP directory API, please join our Discord server