mcp-typescript-template
Verified Safeby nickytonline
Overview
This server acts as a template for building remote Model Context Protocol (MCP) servers using TypeScript, handling MCP tool registration and session management over HTTP.
Installation
npm startEnvironment Variables
- PORT
- NODE_ENV
- SERVER_NAME
- SERVER_VERSION
- LOG_LEVEL
Security Notes
The server uses Express for its HTTP transport with proper JSON body parsing. Session IDs are randomly generated UUIDs, and generic error messages are returned on internal server errors, preventing information leakage. Configuration is externalized via environment variables. Input validation for tools is handled by Zod schemas. No 'eval' or other obviously malicious patterns were identified in the provided code.
Similar Servers
frontmcp
Develop and integrate third-party API services using the Model Context Protocol (MCP) framework, enabling AI models to interact with external systems through defined tools, resources, and prompts.
template-mcp-server
Provides a CLI tool and template to quickly get started building a Model Context Protocol (MCP) server using FastMCP, supporting both stdio and HTTP transports.
mcp
A TypeScript SDK for building and interacting with Model Context Protocol (MCP) servers, facilitating AI agent interaction through exposed tools, prompts, and resources via JSON-RPC over HTTP/SSE.
mcp-server-playground
A Model Context Protocol (MCP) server that acts as an OAuth proxy for 3rd party authorization servers like Auth0, provides stateful session management, and exposes various tools for system time, streaming, project keyword searching, and AWS services (S3, ECS, CloudWatch Logs, Bedrock).