dev-env-setup
Installs Android Studio and associated Android development tools.
Installs Docker container platform.
Installs Flutter SDK for mobile app development.
Installs Git version control system.
Installs Node.js runtime with optional version specification.
Installs OpenJDK 17 for Java development.
Installs Python 3 and pip using the system package manager.
Installs Rust programming language with cargo.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dev-env-setup check what tools are installed"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Dev Environment Setup Tool
A production-ready dual-mode tool that automates the setup of local development environments for Python, Node.js, Flutter, Android, and more across macOS and Linux systems.
๐ฏ Two Modes:
CLI Mode: Standalone command-line tool (
devenvcommand)MCP Mode: Model Context Protocol server for AI assistant integration
โจ Features
Dual Mode Operation: Use as standalone CLI or MCP server
Cross-Platform Support: Works on both macOS and Linux distributions
Intelligent Package Manager Detection: Automatically detects and uses the appropriate package manager (Homebrew, apt, dnf, yum, pacman, zypper)
Modular Architecture: Clean, testable, and extensible codebase
Comprehensive Tool Support: Python, Node.js, Git, Docker, Java, Go, Rust, Flutter, and more
Automated Installation: One-command setup for entire development stacks
Environment Validation: Check what's installed and get recommendations
Shell Configuration: Automatically configures environment variables and PATH
CI/CD Ready: GitHub Actions workflows included
Unit Tested: Comprehensive test coverage for reliability
Related MCP server: hands
๐ Quick Start
Installation
npm install -g @cmwen/mcp-dev-env-setupCLI Mode
Use the devenv command for standalone operation:
# Check installed tools
devenv check
# Get system information
devenv info
# List available tools
devenv list
# Install a tool
devenv install python
devenv install nodejs
# Install multiple tools
devenv install-all
# Get help
devenv --helpSee CLI.md for complete CLI documentation.
MCP Mode
Configure in your MCP client (e.g., Claude Desktop):
{
"mcpServers": {
"dev-env-setup": {
"command": "npx",
"args": ["-y", "mcp-dev-env-setup"]
}
}
}Or run directly in MCP STDIO mode:
devenv --mcp
# or
devenv --stdio๐ Supported Tools
Languages
Python - Python 3 with pip
Java - OpenJDK 17
Go - Go programming language
Rust - Rust with cargo
Runtimes & Tools
Node.js - JavaScript runtime (via nvm or package manager)
Git - Version control
Docker - Container platform
SDKs & Frameworks
Flutter - Mobile app development SDK
Android Studio - Android development tools
๐ฅ๏ธ Supported Systems
Operating Systems
macOS (Intel and Apple Silicon)
Linux distributions:
Debian/Ubuntu (apt)
Fedora (dnf)
RHEL/CentOS (yum)
Arch Linux (pacman)
openSUSE (zypper)
Package Managers
Homebrew (macOS)
apt (Debian/Ubuntu)
dnf (Fedora)
yum (RHEL/CentOS)
pacman (Arch)
zypper (openSUSE)
๐ง Available MCP Tools
1. check_environment
Check which development tools are currently installed on your system.
// Returns status of all tools with versions2. install_python
Install Python 3 and pip using the system package manager.
3. install_nodejs
Install Node.js with optional version specification.
{
"version": "lts" // or "18", "20", etc.
}4. install_flutter
Install Flutter SDK for mobile app development.
5. install_android
Install Android Studio and development tools (including Java).
6. setup_all
Install all development environments at once with optional skip list.
{
"skip": ["python", "flutter"] // Optional: tools to skip
}๐ Documentation
CLI Usage Guide - Complete CLI command reference and examples
API Documentation - Complete API reference for all modules
AI Agents Guide - Guide for AI agents to use and extend this project
Development Guide - Setup, development workflow, and contribution guidelines
Quick Start Guide - Get started in minutes
Usage Examples - Common usage patterns
Changelog - Version history and migration guides
๐๏ธ Architecture
The project follows a modular architecture:
src/
โโโ core/ # Core business logic
โ โโโ package-manager.ts # OS and package manager detection
โ โโโ tool-config.ts # Tool definitions and configurations
โโโ installers/ # Installation modules
โ โโโ unified-installer.ts # Unified installation logic
โโโ validators/ # Validation modules
โ โโโ environment-validator.ts # Environment checking
โโโ utils/ # Utility functions
โ โโโ shell.ts # Shell command execution
โ โโโ check.ts # Environment checking utilities
โโโ __tests__/ # Unit testsKey Modules
Package Manager Detection: Automatically detects your OS and package manager
Tool Configuration: Defines installation methods for each tool across all platforms
Unified Installer: Provides a single interface for installing any tool
Environment Validator: Checks system status and provides recommendations
๐งช Testing
# Run all tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm run test:coverage
# Type checking
npm run lint๐ ๏ธ Development
Prerequisites
Node.js >= 18.0.0
npm or yarn
Setup
# Clone the repository
git clone https://github.com/cmwen/mcp-dev-env-setup.git
cd mcp-dev-env-setup
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run devAdding New Tools
Add tool configuration to
src/core/tool-config.ts:
export const TOOL_CONFIGS: Record<string, ToolConfig> = {
mytool: {
name: 'mytool',
displayName: 'My Tool',
category: ToolCategory.LANGUAGE,
description: 'Description of my tool',
commandToCheck: 'mytool',
versionFlag: '--version',
installMethods: {
homebrew: {
packageManager: PackageManager.HOMEBREW,
packageName: 'mytool',
},
apt: {
packageManager: PackageManager.APT,
packageName: 'mytool',
},
// Add more package managers...
},
},
};Add tests in
src/__tests__/Update documentation
๐ค Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Development Guidelines
Follow TypeScript best practices
Write tests for new features
Update documentation
Keep functions focused and single-purpose
Use meaningful variable names
๐ License
MIT License - see LICENSE file for details.
๐ Links
๐ก Examples
Check System Status
import { getSystemStatus } from './validators/environment-validator';
const status = await getSystemStatus();
console.log(`OS: ${status.os}`);
console.log(`Package Manager: ${status.packageManager?.name}`);
console.log(`Installed tools: ${status.tools.filter(t => t.installed).length}`);Install Multiple Tools
import { installMultipleTools } from './installers/unified-installer';
const results = await installMultipleTools(['python', 'nodejs', 'git']);
for (const [tool, result] of Object.entries(results)) {
console.log(`${tool}: ${result.success ? 'โ' : 'โ'}`);
}Validate Environment
import { isSystemReady } from './validators/environment-validator';
const { ready, missing } = await isSystemReady(['python', 'nodejs']);
if (!ready) {
console.log('Please install:', missing.join(', '));
}๐ Acknowledgments
Built with the Model Context Protocol SDK
TypeScript and Node.js ecosystem
๐ Support
Open an issue for bugs or feature requests
Check documentation for API reference
See AGENTS.md for AI agent integration guide
Available Tools
10 toolscheck_environmentA
Check which development tools are currently installed on the system (Python, Node.js, Flutter, Android, Git, Docker, etc.)
Inputs: no named parameters.
get_system_infoA
Get detailed system information including OS, architecture, and package manager
Inputs: no named parameters.
install_androidB
Install Android Studio and development tools
Inputs: no named parameters.
install_flutterB
Install Flutter SDK for mobile app development
Inputs: no named parameters.
install_multipleA
Install multiple development tools at once
Inputs: tools (required).
install_nodejsB
Install Node.js via nvm or package manager
Inputs: version.
install_package_managerB
Install package manager if needed (e.g., Homebrew on macOS)
Inputs: no named parameters.
install_pythonA
Install Python 3 and pip via package manager
Inputs: no named parameters.
install_toolC
Install a specific development tool (python, nodejs, git, docker, java, go, rust, flutter)
Inputs: tool (required), version.
setup_allB
Install all development environments (Package Manager, Python, Node.js, Flutter, Android)
Inputs: skip.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 10 tools
There is significant overlap between install_tool, install_python, install_nodejs, install_flutter, install_android, install_multiple, and setup_all. Agents may struggle to choose the right tool when specific installers duplicate the generic one and aggregate tools overlap with each other.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., check_environment, install_tool, setup_all). The naming is predictable and easy to navigate.
10 tools is within a reasonable range for a dev environment setup server, but the presence of both generic and specific install tools creates redundancy. The count is slightly padded but not excessive.
The tool surface covers the core setup workflow: checking environment, system info, installing package manager, individual tools, multiple tools, and full setup. Minor gaps like update/uninstall tools are missing but not critical for the stated purpose.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yoโฆ
A full backend your AI coding agent can set up over MCP
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Devopness MCP server for DevOps happiness! Empower AI Agents to deploy apps and infra, to any cloud.
Related MCP Servers
- AlicenseAqualityDmaintenanceA lightweight MCP server that enables AI assistants to execute local development tools and retrieve system status with low latency over stdio or HTTP.153 npm3MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-capable chat clients like ChatGPT, Claude, and Cursor to read, search, edit, and run commands on a local machine, including git operations and browser automation. Runs as a local daemon with workspace path jails, safety modes, checkpoints, and human-in-the-loop approval for edits and shell commands.MIT
- AlicenseNot gradedqualityAmaintenanceEquips MCP-compatible AI assistants with software development tools for deep research, codebase mapping across 35+ languages, context curation, and generating PRDs, user stories, task lists, and fullstack starter kits. Supports natural-language CLI and interactive REPL usage alongside multi-step workflow execution.69 npmMIT
- AlicenseNot gradedqualityAmaintenanceEquips MCP-compatible AI assistants with tools for deep research, requirements and PRD generation, codebase mapping, context curation, task management, and fullstack starter-project scaffolding. It supports CLI, REPL, and server modes so developers can drive software development workflows through natural-language commands.69 npmMIT