create-mcp-express
Verified Safeby ahnafyy
Overview
Provides a Model Context Protocol (MCP) server template with Express.js for building AI-powered tools and resources.
Installation
npm run devEnvironment Variables
- SERVER_NAME
- SERVER_VERSION
- PORT
- NODE_ENV
- LOG_LEVEL
- LOG_COLORS
- MCP_JSON_RESPONSE
Security Notes
The core server template itself does not use 'eval' or direct 'exec' functions. Configuration is loaded from environment variables, which is a good practice. The `requestLogger` middleware logs `req.body` and `req.query` at debug level, which could potentially expose sensitive data if debug logging is enabled in a production environment without careful consideration. The MCP request handling includes a `try-catch` block that prevents server crashes for individual malformed requests, returning a 500 Internal Server Error. The scaffolding tool `create-mcp-express` uses `child_process.execSync` for package installation and fetching git user config, which is generally acceptable for a local CLI tool but not part of the runtime server.
Similar Servers
frontmcp
The CodeCall plugin provides AgentScript-based meta-tools for orchestrating MCP tools, enabling programmatic discovery, description, execution, and invocation of server capabilities within a sandboxed JavaScript environment.
mcp-kit
A CLI tool for scaffolding new Model Context Protocol (MCP) applications, including MCP Servers and Clients.
template-mcp-server
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.
mcp-typescript-template
This project provides a foundational TypeScript template for developing remote Model Context Protocol (MCP) servers with robust tooling and best practices.