my-mcp-server
Verified Safeby ashotchumore
Overview
A boilerplate for developing Model Context Protocol (MCP) servers in TypeScript, demonstrating the creation of AI tools (calculator, greeter, code reviewer) and resources (server info) that can be integrated with AI clients like Cursor.
Installation
node build/index.jsSecurity Notes
The provided code is a boilerplate using the official MCP SDK and Zod for input validation, which is a good practice. There are no explicit uses of 'eval', obfuscation, hardcoded sensitive secrets, or direct execution of untrusted arbitrary code within the provided examples. The `dotenv` dependency implies that secrets should be managed via environment variables, but none are directly used in the truncated code. The security of a server built on this boilerplate would depend heavily on how developers extend it to interact with external APIs or local resources.
Similar Servers
boilerplate-mcp-server
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
mcp-typescript-template
This project provides a foundational TypeScript template for developing remote Model Context Protocol (MCP) servers with robust tooling and best practices.
mcp-typescript-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.
mcp-agent-kit
Simplifies the creation and management of AI agents, chatbots, and Model Context Protocol (MCP) servers with various LLM providers.