mcp-template-new
Verified Safeby lbovboe
Overview
A foundational Model Context Protocol (MCP) server template demonstrating tool and resource capabilities with dual transport (Stdio and Streamable HTTP), designed for integration with LLM clients.
Installation
npx tsx src/index.ts --httpSecurity Notes
No 'eval' or malicious patterns detected. Potential for information disclosure if raw error messages from tool calls are not sanitized in production. The template does not explicitly implement rate-limiting for its HTTP '/mcp' endpoint, which could leave it vulnerable to basic brute-force or denial-of-service attacks without external protection or added middleware. Session IDs are handled via standard HTTP headers.
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.
node-mcp-server
A template for building Model Context Protocol (MCP) compatible servers with support for multiple transport protocols like HTTP, SSE, and standard I/O.