Back to Home
mcpdotdirect icon

template-mcp-server

Verified Safe

by mcpdotdirect

Overview

Provides a CLI tool and template to quickly get started building a Model Context Protocol (MCP) server using FastMCP, supporting both stdio and HTTP transports.

Installation

Run Command
npm start

Environment Variables

  • PORT

Security Notes

The server implementation relies on the FastMCP framework for protocol handling and uses Zod for robust input parameter validation in tools, which is a good practice for preventing injection attacks. The `create-mcp-server` CLI script performs file system operations typical of a project generator but includes checks (e.g., verifying directory emptiness) to prevent unintended overwrites. No hardcoded secrets, 'eval', or direct command injection vulnerabilities were found in the provided source code. Potential risks are primarily dependent on how FastMCP internally handles argument validation for prompts/resources and any custom logic introduced by the user beyond the template.

Similar Servers

Stats

Interest Score47
Security Score9
Cost ClassLow
Avg Tokens5
Stars63
Forks36
Last Update2025-11-26

Tags

MCPServerTemplateFastMCPTypeScript