mcp-server-test
Verified Safeby Samuel88
Overview
This server provides a Model Context Protocol (MCP) endpoint to expose an addition tool and a greeting resource via HTTP.
Installation
npm run mcp-serverSecurity Notes
The server uses Zod for schema validation which improves input safety. However, the CORS configuration (`origin: '*'`) allows requests from any domain, which might be overly permissive for production environments. The 'greeting' resource directly interpolates user-provided 'name' into its output, which, if rendered directly by a client-side application without sanitization, could lead to Cross-Site Scripting (XSS) vulnerabilities. No hardcoded secrets or 'eval' usage found.
Similar Servers
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.
mcp-servers
Provides current weather conditions and forecasts from the Open-Meteo API for a given geographical location.
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.