Back to Home
Samuel88 icon

mcp-server-test

Verified Safe

by Samuel88

Overview

This server provides a Model Context Protocol (MCP) endpoint to expose an addition tool and a greeting resource via HTTP.

Installation

Run Command
npm run mcp-server

Security 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

Stats

Interest Score0
Security Score8
Cost ClassLow
Avg Tokens5
Stars0
Forks0
Last Update2025-11-25

Tags

MCPAPIServerNode.jsExpress.jsToolsResources