my-mcp-server-251127
Verified Safeby SunmaiLee
Overview
Boilerplate for creating Model Context Protocol (MCP) servers with integrated AI capabilities (e.g., image generation, code review prompts) using TypeScript and Hugging Face.
Installation
node build/index.jsEnvironment Variables
- hfToken
Security Notes
Hugging Face API token (hfToken) is explicitly required via configuration, preventing hardcoding. Input validation for tools is enforced using Zod schemas, which helps mitigate common input-related vulnerabilities. The server makes external API calls to Hugging Face for image generation, introducing a dependency on that service's security. The 'code_review' tool generates an LLM prompt but does not execute code itself; any execution risk lies with the client's LLM environment.
Similar Servers
mcp-typescript-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.
mcp-setting-all-server
This is a TypeScript Model Context Protocol (MCP) server boilerplate designed for rapid development of custom AI-powered services, including tools for basic utilities, image generation, and code analysis, which can be connected to clients like Cursor.
my-mcp-server
A boilerplate TypeScript Model Context Protocol (MCP) server providing various tools (calculator, greeting, real-time clock, image generation, code review prompt) and resources (server information) for integration with MCP-compatible clients.
my-mcp-server
This MCP server provides a boilerplate for developing AI agent capabilities (tools, resources, prompts) in TypeScript, including functions for basic utilities, image generation via Hugging Face, and a code review prompt.