🚀 Get up and running with MCP servers in 5 minutes!
# One-line installer
curl -fsSL https://raw.githubusercontent.com/ModelContextKit/modelctx/main/INSTALL.sh | bash
# Or manual clone and install
git clone https://github.com/ModelContextKit/modelctx.git
cd mcp-setup-tools
./INSTALL.sh# Download and run
irm https://raw.githubusercontent.com/ModelContextKit/modelctx/main/install.ps1 | iex
# Or from cloned repository
git clone https://github.com/ModelContextKit/modelctx.git
cd mcp-setup-tools
.\install.ps1git clone https://github.com/ModelContextKit/modelctx.git
cd mcp-setup-tools
install.bat# Linux/macOS
source ~/mcp-setup-tool/activate_mcp.sh
# Windows PowerShell
. $env:USERPROFILE\mcp-setup-tool\activate_mcp.ps1# Interactive wizard (recommended for beginners)
mcp-setup wizard
# Or create directly
mcp-setup create my-first-server --backend database# Navigate to your project
cd my-first-server
# Configure environment (edit with your database details)
cp .env.template .env
# Edit .env file with your settings
# Test the server
python server.pymcp-setup create sales-db --backend database
# Configure with PostgreSQL, MySQL, or SQLite
# Provides tools: execute_query, get_table_schema, list_tablesmcp-setup create api-client --backend api
# Connect to any REST API with authentication
# Provides tools: api_request, get_api_statusmcp-setup create file-manager --backend filesystem
# Safe file operations with access controls
# Provides tools: read_file, write_file, list_directorymcp-setup create web-scraper --backend webscraper
# Scrape websites with rate limiting and respect for robots.txt
# Provides tools: scrape_url, extract_links, take_screenshotAfter creating your MCP server:
# Linux
~/.config/Claude/claude_desktop_config.json
# macOS
~/Library/Application Support/Claude/claude_desktop_config.json
# Windows
%APPDATA%\Claude\claude_desktop_config.jsonCopy the configuration from your project's config/claude_desktop_config.json:
{
"mcpServers": {
"my-first-server": {
"command": "python",
"args": ["/path/to/my-first-server/server.py"],
"env": {
"DATABASE_URL": "postgresql://user:pass@localhost/db"
}
}
}
}Your MCP server will now be available in Claude Desktop!
# Install Node.js if not already installed
# Then test your server:
npx @modelcontextprotocol/inspector python server.py# Run the generated test suite
cd my-first-server
python -m pytest tests/# Start server and test manually
python server.py
# Server runs on stdio - send MCP protocol messages- Edit
config/config.yamlfor server settings - Modify
server.pyto add custom logic - Add new tools by extending the backend class
- Read the full Setup Guide for detailed instructions
- Check out API Documentation for advanced usage
- Explore Example Projects for inspiration
# Local deployment
python server.py
# Docker deployment (if Dockerfile generated)
docker build -t my-mcp-server .
docker run my-mcp-server
# Cloud deployment
mcp-setup deploy my-server --target cloud# Check Python version
python --version
# Must be 3.8 or higher
# Linux: sudo apt install python3.9
# macOS: brew install python@3.11
# Windows: Download from python.org# Don't use sudo with pip in virtual environments
# Recreate virtual environment if needed:
rm -rf mcp-env
python -m venv mcp-env
source mcp-env/bin/activate # Linux/macOS# Ensure virtual environment is activated
# Check if packages are installed:
pip list | grep mcp# Check database URL format:
# PostgreSQL: postgresql://user:password@host:port/database
# MySQL: mysql://user:password@host:port/database
# SQLite: sqlite:///path/to/database.db
# Test connection:
python -c "import psycopg2; print('PostgreSQL OK')"- 📖 Detailed Setup Guide
- 🐛 Report Issues
- 💬 Community Discussions
- 📧 Support: Create an issue for help
# List all available backend types
mcp-setup list
# Create new project
mcp-setup create <name> --backend <type>
# Interactive project creation
mcp-setup wizard
# Manage templates
mcp-setup templates --list
# Generate documentation
mcp-setup docs <project-path>
# Deploy project (if configured)
mcp-setup deploy <project-name>
# Show help
mcp-setup --helpmcp-setup create inventory-db --backend database
# Use case: Inventory management system
# Tools: Query products, update stock, generate reportsmcp-setup create weather-api --backend api
# Use case: Weather data integration
# Tools: Get current weather, forecasts, alertsmcp-setup create document-manager --backend filesystem
# Use case: Document management system
# Tools: Search documents, read content, organize filesmcp-setup create news-scraper --backend webscraper
# Use case: News aggregation
# Tools: Scrape articles, extract headlines, get summariesReady to build amazing AI integrations? Start with mcp-setup wizard! 🚀