MCPWizard is a Command Line Interface (CLI) tool designed to simplify the creation and deployment of Model Context Protocol (MCP) servers. It provides a streamlined workflow for initializing projects, managing tools, and generating configuration files for Claude Desktop.
To install MCPWizard globally, run the following command:
npm install -g mcpwizard
Note: Currently, MCPWizard only supports tool type in the MCP protocol.
mcpwizard init [name] [options]
Options:
- -t, --template <template>
: Specify a template (typescript, python). Default is "typescript".
mcpwizard tool add <tool-name> [options]
Options:
- -d, --description <description>
: Tool description.
mcpwizard generate-claude-config [options]
Options:
- -o, --output <path>
: Output file path.
- -s, --servers <servers...>
: Server names to include.
mcpwizard build
mcpwizard deploy
mcpwizard inspect
When running mcpwizard init my-mcp-server
, the user gets a new project with the selected template structure:
my-mcp-server/
├── src/
│ ├── prompts/ # MCP prompts definitions
│ ├── resources/ # MCP resources definitions
│ └── tools/ # MCP tools implementations
├── .env.template # Environment variables template
├── package.json # Dependencies and scripts
└── tsconfig.json # TypeScript configuration
my-mcp-server/
├── prompts/ # MCP prompts definitions
├── resources/ # MCP resources definitions
├── tools/ # MCP tools implementations
├── .env.template # Environment variables template
├── requirements.txt # Python dependencies
└── server.py # Main server file
MIT
Contributions are welcome! Here's the structure of the mcpwizard package:
mcpwizard/
├── bin/ # CLI entry point
│ └── mcpwizard.js # Main CLI file
├── src/
│ ├── commands/ # CLI command implementations
│ ├── templates/ # Project templates (typescript, python)
│ ├── utils/ # Utility functions
│ └── validators/ # Input validation logic
├── package.json # Package configuration
└── README.md # This file
MCPWizard is a package designed to help you create and deploy MCP servers efficiently. For more information, visit mcpwizard.vercel.app.