DevFlowPro-MCP-Server

aayuvraj/DevFlowPro-MCP-Server

3.2

If you are the rightful owner of DevFlowPro-MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

DevFlow Pro MCP Server is a comprehensive Model Context Protocol server designed to enhance software developer productivity through intelligent automation and seamless tool integration.

Tools
5
Resources
0
Prompts
0

DevFlow Pro MCP Server

A comprehensive Model Context Protocol (MCP) server that significantly enhances software developer productivity through intelligent automation and seamless tool integration. DevFlow Pro provides an integrated suite of tools for code analysis, project management, automation, and intelligent development assistance.

🚀 Features

Code Intelligence Tools

  • Codebase Analysis: Comprehensive analysis including complexity metrics, dependencies, and technical debt detection
  • Architecture Diagram Generation: Generate architectural diagrams in multiple formats (Mermaid, PlantUML, DOT)
  • Technical Debt Detection: Identify and categorize technical debt with actionable recommendations

Project Automation Tools

  • Smart Scaffolding: Intelligently scaffold new projects based on best practices and detected patterns
  • Configuration Generation: Generate configuration files for various tools and frameworks
  • CI/CD Setup: Automated setup of CI/CD pipelines with best practices

Workflow Automation Tools

  • Git Workflow Helpers: Automate Git workflows including branch naming, commit messages, and PR management
  • PR Automation: Automate pull request creation, analysis, and management
  • Release Management: Automate release processes including versioning and changelog generation

Quality Assurance Tools

  • Performance Analysis: Analyze application performance including bundle size, memory usage, and load times
  • Security Scanning: Comprehensive security scanning of dependencies and code
  • Test Coverage Analysis: Analyze test coverage and suggest improvements

Documentation Tools

  • Auto Documentation: Generate comprehensive documentation from code and comments
  • API Documentation: Generate API documentation from OpenAPI specs or code annotations
  • Changelog Generation: Generate changelog from git history and commit messages

Environment Management Tools

  • Dependency Management: Manage project dependencies including updates and security checks
  • Docker Optimization: Optimize Docker containers for size, security, and performance
  • Environment Validation: Validate and manage environment variables and configuration

📦 Installation

Prerequisites

  • Node.js 18 or higher
  • npm, yarn, or pnpm

Install Dependencies

npm install

Build the Server

npm run build

🛠️ Usage

Running the Server

npm start

Development Mode

npm run dev

Configuration

The server can be configured through environment variables or a configuration file. See the for details.

🔧 Available Tools

Code Intelligence

analyze_codebase

Perform comprehensive analysis of a codebase including complexity metrics, dependencies, and technical debt detection.

Parameters:

  • path (required): Path to the codebase to analyze
  • includeTests (optional): Whether to include test files in analysis
  • languages (optional): Specific languages to analyze
  • excludePatterns (optional): File patterns to exclude from analysis

Example:

{
  "path": "./my-project",
  "includeTests": false,
  "languages": ["typescript", "javascript"],
  "excludePatterns": ["node_modules/**", "dist/**"]
}
generate_architecture_diagram

Generate architectural diagrams from codebase structure using various formats.

Parameters:

  • path (required): Path to the codebase
  • diagramType (required): Type of diagram (component, dependency, flow, class)
  • format (optional): Output format (mermaid, plantuml, dot)
  • depth (optional): Maximum depth of analysis

Example:

{
  "path": "./my-project",
  "diagramType": "component",
  "format": "mermaid",
  "depth": 3
}
detect_technical_debt

Identify and categorize technical debt in the codebase with actionable recommendations.

Parameters:

  • path (required): Path to the codebase
  • severity (optional): Minimum severity level (all, high, critical)
  • categories (optional): Categories to analyze (code_smell, duplication, complexity, security, performance)

Project Automation

smart_scaffold

Intelligently scaffold new projects based on best practices and detected patterns.

Parameters:

  • projectName (required): Name of the new project
  • projectType (required): Type of project (web, api, library, cli, mobile, desktop)
  • language (required): Primary programming language
  • framework (optional): Framework to use
  • features (optional): Additional features to include
  • packageManager (optional): Package manager to use

Example:

{
  "projectName": "my-awesome-app",
  "projectType": "web",
  "language": "typescript",
  "framework": "react",
  "features": ["testing", "linting", "ci-cd"],
  "packageManager": "npm"
}
generate_configs

Generate configuration files for various tools and frameworks based on project analysis.

Parameters:

  • path (required): Path to the project
  • configTypes (required): Types of configuration files to generate
  • overwrite (optional): Whether to overwrite existing files
setup_cicd

Set up CI/CD pipelines with best practices for the detected project type.

Parameters:

  • path (required): Path to the project
  • platform (required): CI/CD platform (github-actions, gitlab-ci, jenkins, azure-devops)
  • stages (optional): Pipeline stages to include
  • deploymentTarget (optional): Deployment target platform

Workflow Automation

git_workflow_helper

Automate Git workflows including branch naming, commit messages, and PR management.

Parameters:

  • action (required): Git workflow action to perform
  • path (required): Path to the Git repository
  • ticketNumber (optional): Ticket or issue number
  • branchType (optional): Type of branch to create
  • description (optional): Description for branch or commit
pr_automation

Automate pull request creation, analysis, and management.

Parameters:

  • action (required): PR automation action to perform
  • path (required): Path to the repository
  • baseBranch (optional): Base branch for the PR
  • headBranch (optional): Head branch for the PR
release_management

Automate release processes including versioning, changelog generation, and tagging.

Parameters:

  • action (required): Release management action to perform
  • path (required): Path to the repository
  • versionType (optional): Type of version bump
  • fromTag (optional): Starting tag for changelog generation
  • toTag (optional): Ending tag for changelog generation

Quality Assurance

performance_analysis

Analyze application performance including bundle size, memory usage, and load times.

Parameters:

  • path (required): Path to the project
  • analysisType (required): Type of performance analysis
  • buildCommand (optional): Command to build the project
  • entryPoint (optional): Entry point file for analysis
security_scan

Perform comprehensive security scanning of dependencies and code.

Parameters:

  • path (required): Path to the project
  • scanType (optional): Type of security scan
  • severity (optional): Minimum severity level to report
test_coverage_analysis

Analyze test coverage and suggest improvements.

Parameters:

  • path (required): Path to the project
  • testCommand (optional): Command to run tests with coverage
  • threshold (optional): Minimum coverage threshold percentage
  • includeUncovered (optional): Include detailed uncovered line information

Documentation

auto_generate_docs

Automatically generate comprehensive documentation from code and comments.

Parameters:

  • path (required): Path to the project
  • outputPath (optional): Path where documentation should be generated
  • format (optional): Output format (markdown, html, json)
  • includePrivate (optional): Include private/internal APIs
  • includeExamples (optional): Generate usage examples
generate_api_docs

Generate API documentation from OpenAPI specs, code annotations, or route definitions.

Parameters:

  • path (required): Path to the project
  • source (required): Source for API documentation generation
  • outputFormat (optional): Output format for API documentation
  • includeExamples (optional): Include request/response examples
generate_changelog

Generate changelog from git history, commit messages, and PR information.

Parameters:

  • path (required): Path to the repository
  • format (optional): Changelog format to use
  • fromVersion (optional): Starting version/tag
  • toVersion (optional): Ending version/tag
  • includeAuthors (optional): Include commit authors

Environment Management

dependency_manager

Manage project dependencies including updates, security checks, and optimization.

Parameters:

  • path (required): Path to the project
  • action (required): Dependency management action
  • updateType (optional): Type of updates to apply
  • dryRun (optional): Perform a dry run without making changes
docker_optimizer

Optimize Docker containers for size, security, and performance.

Parameters:

  • dockerfilePath (required): Path to the Dockerfile
  • optimizationType (optional): Type of optimization to perform
  • baseImage (optional): Preferred base image
  • multiStage (optional): Use multi-stage builds
env_validator

Validate and manage environment variables and configuration.

Parameters:

  • path (required): Path to the project
  • action (required): Environment validation action
  • envFile (optional): Path to environment file
  • strict (optional): Use strict validation

🏗️ Architecture

DevFlow Pro is built with a modular architecture:

DevFlowPro-MCP-Server/
├── src/
│   ├── index.ts                 # Main server entry point
│   ├── types/                   # TypeScript type definitions
│   ├── utils/                   # Utility modules
│   │   ├── file-analyzer.ts     # File system analysis
│   │   ├── ast-parser.ts        # Abstract syntax tree parsing
│   │   └── template-engine.ts   # Template processing
│   └── tools/                   # Tool implementations
│       ├── code-intelligence/   # Code analysis tools
│       ├── project-automation/  # Project scaffolding tools
│       ├── workflow-automation/ # Git and workflow tools
│       ├── quality-assurance/   # Testing and quality tools
│       ├── documentation/       # Documentation generation
│       └── environment/         # Environment management
├── package.json
├── tsconfig.json
└── README.md

🧪 Testing

Run the test suite:

npm test

Run tests in watch mode:

npm run test:watch

🔍 Linting and Formatting

Lint the codebase:

npm run lint

Format the codebase:

npm run format

📚 Documentation

  • - Detailed documentation for all available tools
  • - Server configuration options
  • - Guide for contributing to DevFlow Pro
  • - Usage examples for each tool category

🤝 Contributing

We welcome contributions! Please see our for details.

Development Setup

  1. Clone the repository
  2. Install dependencies: npm install
  3. Start development server: npm run dev
  4. Run tests: npm test

Code Style

  • Use TypeScript for all new code
  • Follow the existing code style
  • Add tests for new features
  • Update documentation as needed

📄 License

This project is licensed under the MIT License - see the file for details.

🙏 Acknowledgments

  • Built on the Model Context Protocol (MCP)
  • Inspired by modern developer productivity tools
  • Thanks to all contributors and the open-source community

📞 Support


DevFlow Pro MCP Server - Supercharge your development workflow with intelligent automation! 🚀