MCP.so
Sign In
Servers

mcp-cli-server-tools

@chenjianfang

生成tools的cli

Overview

What is mcp-cli-server-tools?

mcp-cli-server-tools is a CLI tool that generates MCP server projects from templates. It scaffolds a basic server-tools project with TypeScript, ES Modules, and key dependencies like the Model Context Protocol SDK and Zod.

How to use mcp-cli-server-tools?

Run npx mcp-cli-server-tools create [directory] to generate a new server-tools project in the specified directory.

Key features of mcp-cli-server-tools

  • Generates a complete MCP server project scaffold
  • TypeScript support out of the box
  • Modern ES Modules setup with "type": "module"
  • Built-in development scripts (npm start, npm run build)
  • Includes peer dependencies @modelcontextprotocol/sdk and zod

Use cases of mcp-cli-server-tools

  • Quickly bootstrap a new MCP server project with common tooling
  • Start developing MCP tools without manual project setup
  • Create a consistent template for multiple MCP tool servers

FAQ from mcp-cli-server-tools

What runtime or environment does it require?

The generated project uses Node.js and TypeScript; it includes tsx as a dev dependency for running TypeScript directly.

What are the main dependencies in the generated project?

Peer dependencies are @modelcontextprotocol/sdk ^1.10.1 and zod ^3.24.3; dev dependencies include TypeScript, tsx, and @types/node.

How do I create a new MCP server tools project?

Run npx mcp-cli-server-tools create my-tools to generate a project in the my-tools directory.

Does the template include development scripts?

Yes, npm start starts development mode with watch, and npm run build builds the project.

How can I contribute to mcp-cli-server-tools itself?

Clone the repository, run npm install, make changes, test, and submit a pull request.

More from Developer Tools