Back to Home
Helmi97 icon

MCP-JS-Server

Verified Safe

by Helmi97

Overview

Provides a boilerplate for building Model Context Protocol (MCP) servers, enabling easy registration of tools via HTTP transport with Zod-based schema generation.

Installation

Run Command
npm start

Environment Variables

  • MCP_API_KEY
  • DEBUG
  • PORT

Security Notes

The server uses environment variables for API keys and debug mode, which is good practice. Input validation is handled using Zod schemas for tool arguments, mitigating common injection risks. Standard Express.js practices are followed for routing and middleware. No 'eval' or obvious obfuscation is present. The `@modelcontextprotocol/sdk` itself is assumed to be secure. Default error handling prevents detailed error leaks. Rate limiting is present in the SDK dependencies but not explicitly configured in this boilerplate.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-26

Tags

Node.jsMCPAPI ServerToolsZod