🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

create-mcp-server-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-mcp-server-cli

Scaffold a new MCP server in 10 seconds. The create-react-app of Model Context Protocol.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

create-mcp-server

Scaffold a new MCP (Model Context Protocol) server in 10 seconds.

npx create-mcp-server

What it does

Generates a complete, ready-to-build MCP server project with:

  • package.json with @modelcontextprotocol/sdk and zod dependencies
  • tsconfig.json configured for ES2022 + NodeNext
  • src/index.ts with a working MCP server and example tools
  • README.md with build and configuration instructions
  • .gitignore

Usage

npx create-mcp-server

You will be prompted for:

PromptDefaultDescription
Project namemy-mcp-serverDirectory name and package name
DescriptionA custom MCP serverPackage description
Number of example tools2How many starter tools to include (1-5)

Example tools included

Depending on how many you choose, the generated server includes:

  • echo -- echoes back your input
  • add -- adds two numbers together
  • greet -- generates a greeting message
  • timestamp -- returns the current ISO timestamp
  • random_number -- generates a random number in a range

After scaffolding

cd my-mcp-server
npm install
npm run build

Then add to your .mcp.json:

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "node",
      "args": ["path/to/my-mcp-server/dist/index.js"]
    }
  }
}

On-chain tools

Want to add on-chain tools to your MCP server? Check out obsd-launchpad-mcp -- deploy tokens, trade on bonding curves, and claim fees, all from your MCP server.

npx -y obsd-launchpad-mcp

Built by THRYXAGI

Keywords

mcp

FAQs

Package last updated on 07 Mar 2026

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