Tools Overview
MCP DevTools Server provides 52 development tools across 9 categories, released in version 0.0.1.
Summary
- Total Tools: 52 comprehensive development tools
- Categories: 9 specialized categories
- Version: 0.0.1 (MVP Release)
- Key Features:
- Security-first command execution
- Intelligent caching system
- Multi-language support (Go, Node.js, Python planned)
- AI-powered suggestions
- Zero-configuration onboarding
Tool Categories
Go Tools (13 tools)
Comprehensive Go development toolchain with intelligent caching and security validation.
go_project_info- Comprehensive Go project analysisgo_build- Build Go projects with custom flagsgo_test- Run tests with coverage and race detectiongo_fmt- Format Go source codego_vet- Run Go static analysisgo_lint- Run golangci-lint with customizationgo_mod_init- Initialize Go modulego_mod_tidy- Clean up go.mod dependenciesgo_mod_download- Download module dependenciesgo_generate- Run go generate for code generationgo_work- Manage Go workspacesgo_vulncheck- Check for known vulnerabilitiesgo_benchmark- Run performance benchmarksstaticcheck- Advanced Go static analysis
Documentation: Go Tools
Key Features:
- Smart caching (5min-2hr TTL based on operation)
- Race condition detection
- Code coverage analysis
- Vulnerability scanning
- Build tag support
- Workspace management
Node.js Tools (14 tools)
Modern Node.js/TypeScript development tools with auto-detection of package managers and frameworks.
nodejs_project_info- Comprehensive project analysisnodejs_test- Run tests (Jest, Vitest, Mocha)nodejs_lint- ESLint integrationnodejs_format- Prettier formattingnodejs_check_types- TypeScript type checkingnodejs_install_deps- Install dependencies (npm/yarn/pnpm/bun)nodejs_version- Version management and compatibilitynodejs_security- Security audits and vulnerability scanningnodejs_build- Build projects (Webpack, Vite, Rollup, etc.)nodejs_scripts- Execute package.json scriptsnodejs_benchmark- Performance benchmarkingnodejs_update_deps- Update dependencies intelligentlynodejs_compatibility- Check Node.js version compatibilitynodejs_profile- Profile application performance
Key Features:
- Auto-detects package manager (bun → pnpm → yarn → npm)
- Framework detection (React, Vue, Angular, Next.js, etc.)
- Test framework auto-detection
- Intelligent caching with invalidation
- Security vulnerability scanning
Make Tools (5 tools)
Execute Makefile targets with comprehensive validation and error handling.
make_lint- Run make lint commandmake_test- Run make test commandmake_build- Run make build commandmake_clean- Run make clean commandmake_depend- Run make depend command
Documentation: Make Tools
Key Features:
- Makefile presence validation
- Target existence checking
- Structured error handling
- Cross-platform support
Lint Tools (5 tools)
Multi-linter support with aggregated reporting and validation.
eslint- JavaScript/TypeScript lintingmarkdownlint- Markdown style checkingyamllint- YAML validationcommitlint- Commit message validationlint_all- Run all applicable linters
Documentation: Lint Tools
Key Features:
- Auto-detection of available linters
- Configuration file support
- Aggregated error reporting
- Fix mode for auto-correction
Test Tools (2 tools)
Multi-framework testing support with coverage reporting.
run_tests- Execute tests with framework auto-detectiontest_status- Get comprehensive test status
Documentation: Test Tools
Key Features:
- Framework auto-detection (Jest, Go test, pytest, etc.)
- Code coverage extraction
- Parallel test execution
- Watch mode support
Git Tools (2 tools)
Advanced Git operations and code review automation.
code_review- Automated code review with security analysisgenerate_pr_message- Generate PR descriptions with conventional commits
Documentation: Git Tools
Key Features:
- Security vulnerability detection
- Performance issue identification
- Maintainability scoring
- GitHub template integration
- Breaking change detection
Smart Suggestions (5 tools)
AI-powered command analysis and failure pattern recognition.
analyze_command- Execute and analyze commandsanalyze_result- Analyze pre-executed resultsget_knowledge_base_stats- View failure patternsrecommend_mcp_servers- Get MCP server recommendationsget_performance_metrics- Cache and performance metrics
Documentation: Smart Suggestions
Key Features:
- 15+ built-in failure patterns
- Context-aware suggestions
- Confidence scoring (0.0-1.0)
- MCP server recommendations
- Intelligent caching (5min TTL)
- Trend analysis
Onboarding Tools (4 tools)
Zero-configuration project setup with intelligent detection.
onboarding_wizard- Interactive setup wizardgenerate_config- Generate .mcp-devtools.jsonvalidate_setup- Validate configurationrollback_setup- Revert configuration changes
Documentation: Onboarding Tools
Key Features:
- Zero-configuration defaults
- Auto-detection of project type
- Configuration validation
- Rollback support
File Validation Tools (1 tool)
POSIX newline compliance checking and fixing.
ensure_newline- Check/fix file endings
Documentation: File Validation
Key Features:
- Pure Node.js implementation (no external commands)
- Cross-platform support
- Smart line ending detection (LF/CRLF)
- Binary file detection
- Safe bulk operations
Actionlint Tools (1 tool)
GitHub Actions workflow validation with comprehensive checks.
actionlint- Validate GitHub Actions workflows
Documentation: Actionlint Tools
Key Features:
- Syntax error detection
- Action parameter validation
- shellcheck integration
- pyflakes support
- Multiple output formats (default, JSON, SARIF)
Getting Started
Installation
npm install -g mcp-devtools-serverConfiguration
Create a .mcp-devtools.json file in your project root:
{
"projectType": "go",
"allowedCommands": ["go", "make", "git"],
"cache": {
"enabled": true,
"ttl": 300000
}
}Or use the onboarding wizard for automatic setup:
onboarding_wizard({})Basic Usage
// Analyze a Go project
const projectInfo = await go_project_info({});
// Run tests with coverage
const testResult = await go_test({ coverage: true });
// Get AI-powered suggestions
const analysis = await analyze_command({
command: "go test",
args: ["./..."]
});MCP Integration
Add to your .mcp.json (for Claude Desktop):
{
"mcpServers": {
"devtools": {
"command": "npx",
"args": ["-y", "mcp-devtools-server"]
}
}
}Tool Selection Guide
For Go Development
Essential:
go_project_info- Project overviewgo_test- Testing with race detectiongo_build- Build with custom flagsgo_lint- golangci-lint integration
Recommended:
go_vulncheck- Security scanninggo_benchmark- Performance testingstaticcheck- Advanced analysis
For Node.js Development
Essential:
nodejs_project_info- Project analysisnodejs_test- Testing (Jest/Vitest/Mocha)nodejs_lint- ESLint integrationnodejs_build- Build automation
Recommended:
nodejs_security- Vulnerability scanningnodejs_check_types- TypeScript checkingnodejs_benchmark- Performance testing
For Cross-Language Projects
Essential:
detect_project- Auto-detect project typemake_test- Universal test runnerlint_all- All-in-one lintinganalyze_command- AI-powered analysis
Recommended:
code_review- Automated code reviewensure_newline- File validationactionlint- CI/CD validation
For CI/CD Pipelines
Essential:
lint_all- Comprehensive lintingrun_tests- Framework-agnostic testingvalidate_setup- Configuration validationactionlint- Workflow validation
Recommended:
analyze_result- Post-mortem analysistest_status- Test result aggregationensure_newline- File compliance
Advanced Features
Intelligent Caching
All tools support intelligent caching with file-based invalidation:
- L1 Cache: In-process LRU cache with TTL
- File Watching: Automatic invalidation on file changes
- Cache Namespaces: Separate caches per tool category
- Performance: 5-10x speedup on cache hits
Configuration:
{
"cache": {
"enabled": true,
"ttl": 300000,
"maxItems": 100
}
}Monitoring:
get_performance_metrics({})
# Returns: hit rates, memory usage, recommendationsSecurity Model
All command execution goes through ShellExecutor with:
- Command Allowlist: Only approved commands execute
- Argument Sanitization: Prevents injection attacks
- Directory Restrictions: Confines operations to project root
- Timeout Protection: Configurable execution timeouts
Configuration:
{
"allowedCommands": ["go", "npm", "git", "make"],
"commandTimeout": 120000,
"workingDirectory": "/project/root"
}Project Detection
Automatic detection of project type and available tools:
- Go: Detects go.mod, go.work, GOPATH projects
- Node.js: Detects package.json, framework, package manager
- Python: Detects pyproject.toml, requirements.txt (planned)
- Rust: Detects Cargo.toml (planned)
Usage:
const project = await detect_project({});
# Returns: type, language, framework, available toolsError Analysis
AI-powered failure analysis with:
- Pattern Matching: 15+ built-in failure patterns
- Error Classification: 9 error types (build, test, security, etc.)
- File Extraction: Automatically detects affected files
- Confidence Scoring: 0.0-1.0 confidence for each suggestion
- Context-Aware: Language and project-specific suggestions
Built-in Patterns:
- Go test failures (race detection, timeouts)
- Dependency issues (missing modules, version conflicts)
- Security issues (vulnerabilities, data races)
- Configuration errors (missing env vars, invalid config)
- Performance issues (slowness, memory problems)
Performance Metrics
Typical execution times (on modern hardware):
| Operation | Without Cache | With Cache | Speedup |
|---|---|---|---|
go_project_info | 50-200ms | <1ms | 50-200x |
nodejs_project_info | 80-150ms | <1ms | 80-150x |
detect_project | 100-300ms | <1ms | 100-300x |
go_test (small) | 1-3s | N/A | - |
nodejs_test (small) | 2-5s | N/A | - |
analyze_command | Cmd time + 50-100ms | Cmd time + <5ms | - |
Memory Usage:
- Base server: ~50MB
- Cache overhead: <2MB (typical)
- Per-operation: <10MB
Cache Hit Rates (after warmup):
- Project detection: 90%+
- Smart suggestions: 30-50% (normal for varied outputs)
- Tool availability: 95%+
Integration Examples
GitHub Actions
- name: Run Tests with Analysis
run: |
npx mcp-devtools-server --tool analyze_command \
--command "npm test" \
--context '{"language":"javascript"}'Pre-commit Hooks
#!/bin/sh
# Run linting before commit
npx mcp-devtools-server --tool lint_allCI/CD Pipeline
steps:
- name: Validate Setup
run: npx mcp-devtools-server --tool validate_setup
- name: Run All Linters
run: npx mcp-devtools-server --tool lint_all
- name: Run Tests
run: npx mcp-devtools-server --tool run_tests
- name: Validate GitHub Actions
run: npx mcp-devtools-server --tool actionlintClaude Desktop
Add to ~/.config/Claude/claude_desktop_config.json:
{
"mcpServers": {
"devtools": {
"command": "npx",
"args": ["-y", "mcp-devtools-server"]
}
}
}Roadmap
See Roadmap for detailed quarterly milestones.
Upcoming Features:
- Python Support (Q1 2025): 13 tools with pyright, ruff, uv, pytest
- Plugin System (Q1 2025): Extensible architecture for custom tools
- Rust Support (Q2 2025): Comprehensive Rust toolchain integration
- Enhanced Caching (Q2 2025): Git-aware invalidation, smart TTL
- Historical Analysis (Q2 2025): Long-term trend analysis
Common Issues
Tool Not Found
Problem: Command not in PATH or not installed
Solution:
# Check tool availability
const project = await detect_project({});
console.log(project.availableTools);
# Install missing tools
# For Go: go install golang.org/x/tools/cmd/goimports@latest
# For Node.js: npm install -g eslintCache Stale Data
Problem: Cached results are outdated
Solution:
# Disable cache temporarily
{
"cache": {
"enabled": false
}
}
# Or clear specific namespace via performance metricsPermission Denied
Problem: Command not in allowlist
Solution:
{
"allowedCommands": ["go", "npm", "git", "make", "eslint", "jest"]
}Timeout Errors
Problem: Command takes too long
Solution:
{
"commandTimeout": 300000 // 5 minutes
}Version History
v0.0.1 (2025-01-XX) - MVP Release
Initial release with 52 tools:
- Go language support (13 tools)
- Node.js language support (14 tools)
- Make integration (5 tools)
- Linting tools (5 tools)
- Testing tools (2 tools)
- Git tools (2 tools)
- Smart suggestions (5 tools)
- Onboarding tools (4 tools)
- File validation (1 tool)
- Actionlint (1 tool)
Key Features:
- Security-first architecture
- Intelligent caching system
- AI-powered failure analysis
- Zero-configuration onboarding
- Comprehensive documentation
Contributing
See Contributing Guide for:
- Development setup
- Code style guidelines
- Testing requirements
- PR process
- Commit conventions
Support
- Documentation: https://rshade.github.io/mcp-devtools-server/
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Security: Security Policy