dev_onboarding_check
Verify developer environment setup by running comprehensive checks to ensure all required tools and configurations are properly installed for DevOps workflows.
Instructions
Run full developer environment check
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.js:542-573 (handler)The main handler function for the 'dev_onboarding_check' tool. It checks if Git, GitHub CLI, and Docker are installed and configured properly in the developer's environment, returning a status report.export async function devOnboardingCheck() { const checks = []; const gitVersion = await commandRunner("git --version"); checks.push(gitVersion.success ? `[OK] ${gitVersion.stdout}` : "[FAIL] Git not installed"); const gitConfig = await commandRunner("git config user.name && git config user.email"); checks.push(gitConfig.success ? `[OK] Git configured: ${gitConfig.stdout.replace("\n", " / ")}` : "[WARN] Git user not configured"); const ghVersion = await commandRunner("gh --version"); checks.push(ghVersion.success ? `[OK] GitHub CLI: ${ghVersion.stdout.split("\n")[0]}` : "[WARN] GitHub CLI not installed"); const dockerVersion = await commandRunner("docker --version"); checks.push(dockerVersion.success ? `[OK] ${dockerVersion.stdout}` : "[FAIL] Docker not installed"); const failCount = checks.filter(c => c.startsWith("[FAIL]")).length; const warnCount = checks.filter(c => c.startsWith("[WARN]")).length; let summary = "\n\n"; if (failCount === 0 && warnCount === 0) { summary += "All checks passed! Developer environment is ready."; } else { summary += `Found ${failCount} critical issues and ${warnCount} warnings.`; } return { content: [{ type: "text", text: `DEVELOPER ENVIRONMENT CHECK\n============================\n\n${checks.join("\n\n")}${summary}` }] }; }
- src/tools.js:576-597 (registration)The tool 'devOnboardingCheck' (mapped to 'dev_onboarding_check') is registered in the exported 'tools' object, which is likely used by the MCP server to expose all tools.export const tools = { // Git gitStatusExplained, gitBranchExplained, gitCommitGuided, // Docker dockerCheckSetup, dockerAnalyzeProject, dockerBuild, // GitHub githubSecretsList, githubSecretsSet, // Azure azureCheckCli, azureAcrSetup, azureContainerAppsDeploy, // SonarCloud sonarcloudSetupGuide, sonarcloudCreateConfig, // Onboarding devOnboardingCheck, };