🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

create-mcp-server-template

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-mcp-server-template

A CLI to generate a Model Context Protocol server template

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
0
Created
Source

create-mcp-server-template

A CLI tool to generate a Model Context Protocol (MCP) server template.

Overview

This package provides a command-line interface to quickly scaffold a new MCP server project. The generated template includes:

  • TypeScript configuration
  • MCP SDK integration
  • Example tools, resources, and prompts
  • Basic project structure
  • Development tools and scripts

Usage

# Using npx (recommended)
npx create-mcp-server-template my-mcp-server

# Or install globally
npm install -g create-mcp-server-template
create-mcp-server-template my-mcp-server

Generated Project Structure

my-mcp-server/
├── src/
│   ├── index.ts           # Main entry point
│   ├── base/              # Base classes
│   │   └── base-tool.ts   # Base tool implementation
│   └── tools/             # Tool implementations
│       └── demo-tool.ts   # Example tool
├── tsconfig.json          # TypeScript configuration
├── package.json           # Project dependencies
└── README.md             # Project documentation

Features of Generated Template

  • TypeScript Support: Full TypeScript configuration
  • MCP SDK Integration: Ready to use MCP server implementation
  • Modular Architecture: Easy to add new tools and capabilities
  • Example Implementations: Demo tools, resources, and prompts
  • Development Tools: Watch mode, build scripts, and more

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts