DevFlow

maxxentropy/DevFlow

3.2

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

DevFlow MCP Server is a professional Model Context Protocol server designed for automating development workflows with a focus on language-agnostic tool execution.

Tools
  1. execute_plugin_helloworldplugin

    Sample Hello World

  2. execute_plugin_apiintegrationplugin

    External API integration

  3. execute_plugin_dataprocessingplugin

    Batch data processing

  4. execute_plugin_filemanipulationplugin

    File search / transform

DevFlow MCP Server

A professional Model Context Protocol (MCP) server for development-workflow automation.

DevFlow lets you create and run language-agnostic tools through a clean, extensible plugin system supporting C#, TypeScript, and Python.
Its layered architecture (Clean Architecture) keeps business logic, infrastructure, and presentation concerns neatly separated.


Table of Contents

  1. Features
  2. Quick Start
  3. Available Tools
  4. Testing the Setup
  5. Architecture Overview
  6. Plugin System
  7. Troubleshooting
  8. Manual API Testing
  9. License

Features

  • MCP 1.0 compliant REST/JSON-RPC faΓ§ade
  • Hot-loadable plugins in C#, TypeScript, and Python
  • Workflow engine (create, run, query, list)
  • Built-in health check endpoint
  • PowerShell test scripts for CI/CD smoke tests
  • Clean Architecture with CQRS & Mediator pattern

Quick Start

Prerequisites

SoftwareVersion
.NET SDK8.0
PowerShell7.x

1 β€” Build the solution

cd src
dotnet build

2 β€” Run the server

cd DevFlow.Host
dotnet run          # β†’ http://localhost:5000

3 β€” Smoke‑test the install

# From repository root
.\Test-Simple.ps1

You should see:

  • βœ… /health check succeeded
  • βœ… List of registered plugins
  • βœ… HelloWorldPlugin executed successfully

Available Tools

Plugin‑Execution Tools (generated)

ToolLanguagePurpose
execute_plugin_helloworldpluginC#Sample Hello World
execute_plugin_apiintegrationpluginPythonExternal API integration
execute_plugin_dataprocessingpluginPythonBatch data processing
execute_plugin_filemanipulationpluginTypeScriptFile search / transform

Plugin‑Management Tools

  • list_plugins β€” list all plugins
  • get_plugin_capabilities β€” detailed capabilities for a plugin
  • validate_plugin β€” ensure plugin & deps resolve
  • discover_plugins β€” force a plugin rescan

Workflow‑Management Tools

  • create_workflow, add_workflow_step, start_workflow
  • get_workflow, list_workflows

Testing the Setup

Quick Test

.\Test-Simple.ps1

Performs health check, lists plugins, and runs HelloWorldPlugin.

Comprehensive Test

# default
.\Test-PluginExecution.ps1

# custom
.\Test-PluginExecution.ps1 -PluginName "HelloWorldPlugin" -InputData "Custom User"
Expected JSON result
{
  "success": true,
  "message": "Greetings, Test User! Welcome to DevFlow Plugin System. [2025-06-04 15:00:00 UTC]",
  "outputFile": "/tmp/devflow-plugin-helloworldplugin-abc12345/hello-output.txt",
  "fileSize": 542,
  "executionTimeMs": 45.23,
  "timestamp": "2025-06-04 15:00:00 UTC",
  "logs": [
    "HelloWorld plugin execution started",
    "Configuration loaded - Greeting: Greetings, OutputPath: ./hello-output.txt",
    "Working directory: /tmp/devflow-plugin-helloworldplugin-abc12345",
    "Output written to file: /tmp/devflow-plugin-helloworldplugin-abc12345/hello-output.txt",
    "Execution completed in 45.23ms"
  ]
}

Architecture Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  DevFlow.Domain   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β–²
          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ DevFlow.Applicationβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β–²
          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ DevFlow.Infrastructure β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β–²
          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ DevFlow.Presentation.MCP β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
          β–²
          β”‚
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚    DevFlow.Host   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Shared utilities live in DevFlow.SharedKernel (e.g., Result<T>).


Plugin System

Directory Layout

plugins/
β”œβ”€ csharp/HelloWorldPlugin/
β”‚  β”œβ”€ HelloWorldPlugin.cs
β”‚  └─ plugin.json
β”œβ”€ python/ApiIntegrationPlugin/
β”œβ”€ python/DataProcessingPlugin/
└─ typescript/FileManipulationPlugin/

plugin.json Manifest

{
  "name": "HelloWorldPlugin",
  "version": "1.0.0",
  "description": "A simple Hello World plugin",
  "language": "CSharp",
  "entryPoint": "HelloWorldPlugin.cs",
  "capabilities": ["file_read", "file_write", "configuration_access"],
  "dependencies": ["nuget:Newtonsoft.Json@^13.0.1"],
  "configuration": {
    "greeting": "Hello",
    "outputPath": "./hello-output.txt"
  }
}
FieldDescription
languageCSharp, TypeScript, or Python
entryPointMain source file
capabilitiesPermissions requested by the plugin
dependenciesnuget:, npm:, or pip: package refs
configurationDefault values (overridable at call)

Troubleshooting

Server will not start

  • Port 5000 in use

    netstat -an | findstr :5000
    
  • Database error
    Delete src/DevFlow.Host/devflow.db and restart; EF Core will recreate it.

Plugin issues

  1. Not discovered β€” run .\Test-Simple.ps1 and inspect logs.
  2. Bad structure β€” confirm folder under plugins/{language} and valid plugin.json.
  3. Execution error β€” check server console for stack traces.

Manual API Testing

# Health
curl http://localhost:5000/health

# List tools
curl -X POST http://localhost:5000/mcp       -H "Content-Type: application/json"       -d '{"jsonrpc":"2.0","id":"1","method":"tools/list","params":{}}'

# Execute plugin
curl -X POST http://localhost:5000/mcp       -H "Content-Type: application/json"       -d '{"jsonrpc":"2.0","id":"2","method":"tools/call","params":{"name":"execute_plugin_helloworldplugin","arguments":{"inputData":"Test User"}}}'

License

DevFlow MCP Server is released under the MIT License.
See for details.