Command-line tools for Model Context Protocol SDK development
MCP CLI provides a comprehensive set of command-line tools for developing, testing, and deploying MCP-based applications. From project scaffolding to production deployment, these tools streamline the entire development lifecycle.
mcp new- Create new MCP projects from templatesmcp init- Initialize MCP in existing projectsmcp add- Add components (servers, clients, tools)
mcp generate server- Generate server boilerplatemcp generate client- Generate client codemcp generate tool- Create new tool implementationsmcp generate plugin- Scaffold plugin projects
mcp test- Run MCP test suitesmcp debug- Interactive debugging sessionmcp validate- Validate MCP configurationsmcp trace- Trace message flow
mcp serve- Local development servermcp watch- Auto-reload on changesmcp repl- Interactive MCP REPLmcp mock- Mock server for testing
mcp build- Build production artifactsmcp deploy- Deploy to various platformsmcp docker- Generate Docker configurationsmcp k8s- Generate Kubernetes manifests
cargo install mcp-cligit clone https://github.com/prismworks-ai/mcp-cli
cd mcp-cli
cargo install --path .# Create a new MCP project
mcp new my-mcp-app
cd my-mcp-app
# Add a server component
mcp add server --name api-server
# Add a tool
mcp generate tool --name data-processor
# Run development server
mcp serve
# Run tests
mcp test
# Build for production
mcp build --release
# Deploy to Docker
mcp docker build
mcp docker pushmcp new <name> # Create new project
mcp init # Initialize in current directory
mcp add <component> # Add component to project
mcp info # Show project informationmcp serve [options] # Start dev server
mcp watch # Watch for changes
mcp test [suite] # Run tests
mcp bench # Run benchmarks
mcp lint # Lint code
mcp fmt # Format codemcp generate <type> # Generate code
mcp scaffold <template> # Use custom templatesmcp debug [port] # Start debug session
mcp trace [filter] # Trace messages
mcp validate [config] # Validate configuration
mcp doctor # Diagnose issuesmcp build [target] # Build project
mcp deploy <platform> # Deploy to platform
mcp docker <command> # Docker operations
mcp k8s <command> # Kubernetes operationsCreate .mcp/config.toml in your project:
[project]
name = "my-mcp-app"
version = "0.1.0"
[build]
target = "release"
features = ["full"]
[deploy]
platform = "docker"
registry = "docker.io/myorg"We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Β© 2025 Prismworks AI, Inc.
| Repository | Description | License |
|---|---|---|
| MCP Protocol SDK | Free, open-source Rust SDK with plugin system | MIT |
| MCP Dev Tools | CLI, VS Code extension, and utilities | MIT |
| MCP Plugins | Community plugin implementations | Apache 2.0 |
| MCP Registry | Plugin discovery and distribution | MIT |
For advanced features including SSO, SAML, monitoring, compliance tools, and automated marketplace distribution:
MCP Platform - Enterprise-grade features for production deployments
- π Documentation - Comprehensive guides and API references
- π¬ Discord Community - Get help and share ideas
- π Issue Tracker - Report bugs and request features
- π Blog - Tutorials and announcements
- πΌ Professional Support - Enterprise support options
# Install the MCP CLI
cargo install mcp-cli
# Create a new plugin
mcp new my-plugin
# Browse available plugins
mcp searchWe welcome contributions! Please see our Contributing Guidelines and sign the CLA before submitting pull requests.
This project's license information is available in the LICENSE file.