minimal-mcp-server-template
Verified Safeby gilamran
Overview
A minimal MCP server template demonstrating both STDIO and HTTP transports with an example tool for filtering an in-memory TV catalog.
Installation
node dist/main.jsEnvironment Variables
- MCP_SERVER_TRANSPORT_TYPE
- PORT
Security Notes
No 'eval' or code obfuscation found. No hardcoded secrets; configuration for transport type and port relies on environment variables. The HTTP server setup uses standard practices with Express. A full security audit of the underlying `@modelcontextprotocol/sdk` and `express` dependencies is beyond the scope of this source code analysis.
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-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.
mcp_server
This server implements the Model Context Protocol (MCP) to expose developer-defined tools as a HTTP API, specifically demonstrating a task creation tool.
viaplay-mcp-test
This MCP server enables AI assistants to search the Viaplay catalog for movies and series and retrieve device key information.