Back to catalog

Template MCP Server

CLI tool for quickly creating and configuring new MCP (Model Context Protocol) server projects using the FastMCP framework, with TypeScript support and two transport options.

Get this MCP server

CLI tool for quickly creating and configuring new MCP (Model Context Protocol) server projects using the FastMCP framework, with TypeScript support and two transport options.

Installation

NPX

npx @mcpdotdirect/create-mcp-server

NPM Init

npm init @mcpdotdirect/mcp-server

Configuration

Cursor MCP Configuration

{
  "mcpServers": {
    "my-mcp-stdio": {
      "command": "npm",
      "args": [
        "start"
      ],
      "env": {
        "NODE_ENV": "development"
      }
    },
    "my-mcp-sse": {
      "url": "http://localhost:3001/sse"
    }
  }
}

Features

  • Built with the FastMCP framework for simplified implementation
  • Support for two transports: run MCP server via stdio or HTTP
  • Full TypeScript support for type safety
  • Easy addition of custom tools, resources, and prompts
  • Basic server configuration with stdio and HTTP transport options
  • Development scripts and configuration included
  • Development mode with hot reload

Environment Variables

Optional

  • PORT - HTTP server port (default 3001)
  • HOST - host binding address (default 0.0.0.0)
  • NODE_ENV - Node.js environment setting

Notes

This is a template/tool for creating MCP servers, not a functional MCP server in itself. After creation, use 'npm start' for stdio mode or 'npm run start:http' for HTTP mode. Scripts use Bun as the runtime by default, but can be modified to use Node.js. FastMCP provides built-in testing tools with 'npx fastmcp dev' and 'npx fastmcp inspect' commands.

Comments (0)

Sign In Sign in to leave a comment.

Spark Drops

Weekly picks: best new AI tools, agents & prompts

Venture Crew
Terms of Service

© 2026, Venture Crew