Back to Home
alexanderop icon

mcp-server-starter-ts

Verified Safe

by alexanderop

Overview

A minimal TypeScript starter template for building Model Context Protocol (MCP) servers, enabling AI applications to connect with data sources and tools through a standardized interface.

Installation

Run Command
docker run -p 3000:3000 ghcr.io/alexanderopalic/mcp-server-starter-ts:latest

Environment Variables

  • STARTER_TRANSPORT
  • PORT
  • CORS_ORIGIN
  • NODE_ENV

Security Notes

The server defaults to allowing all CORS origins (`CORS_ORIGIN=*`) when run in HTTP mode. While configurable via environment variables, this default setting poses a significant security risk (e.g., CSRF vulnerabilities) for production deployments and should be restricted to known, trusted origins. No other direct 'eval', hardcoded secrets, or command injection vulnerabilities were found in the provided source code. Input validation for tools and prompts is handled using Zod schemas.

Similar Servers

Stats

Interest Score43
Security Score6
Cost ClassLow
Avg Tokens300
Stars22
Forks2
Last Update2025-12-10

Tags

MCPAITypeScriptServerAPI