mcp-typescript-starter
Verified Safeby SamMorrowDrums
Overview
A versatile Model Context Protocol (MCP) server template in TypeScript, designed to demonstrate comprehensive MCP features for AI assistant integration and development.
Installation
npm run start:httpEnvironment Variables
- PORT
Security Notes
The server uses standard Node.js and Express practices for an HTTP server, including JSON body parsing and session management. There are no direct usages of `eval` or obfuscation. Configuration for the HTTP port is externalized via the `PORT` environment variable. The `ask_llm` tool delegates LLM sampling to the connected client, thus the server itself does not handle LLM API keys directly. Overall, the code follows good security hygiene for a starter template.
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.
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.
mcp-agent-kit
Simplifies the creation and management of AI agents, chatbots, and Model Context Protocol (MCP) servers with various LLM providers.