genpark-cyclomatic-complexity-refactoring-scout-skill
OfficialClick 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., "@genpark-cyclomatic-complexity-refactoring-scout-skillcheck the cyclomatic complexity of order_processor.py and flag refactoring hotspots"
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.
genpark-cyclomatic-complexity-refactoring-scout-skill
🌐 GenPark MCP Hub Showcase • 📦 Official Website • 📖 Documentation
📌 Overview & Capability
genpark-cyclomatic-complexity-refactoring-scout-skill is a deterministic, zero-dependency Python skill engineered with 100% production-grade functional parity for autonomous coding agents, Python AST static analysis, codebase refactoring, and architectural dependency auditing.
Executive Capability: AST McCabe cyclomatic complexity and cognitive nesting depth evaluator identifying refactoring hotspots and decomposition plans.
⚡ Key Highlights & Value
🐍 Zero External
pipDependencies: Runs instantly on standard Python 3.9+ using built-inastand pure graph algorithms.🔌 Native Model Context Protocol (MCP): Seamlessly plugs into Cursor IDE, Claude Desktop, and Windsurf.
🎯 100% Deterministic AST Code Parsing: Real syntax-tree traversals, cyclomatic complexity calculations, and dependency graphs without regex guesswork.
🚀 Token Efficiency Optimization: Minimizes LLM context waste by pruning dead code, detecting breaking API surface diffs, and pinpointing refactoring hotspots.
Related MCP server: genpark-codebase-dead-code-unreachable-pruner-skill
🏗️ Architecture & Workflow
graph LR
User([💻 Developer / Coding Agent]) -->|AST Query & Code Snippet| MCP[⚡ MCP Server / CLI]
MCP --> Client[🛠️ Code Refactoring Client]
Client --> AST[🧠 Python AST & Static Analysis Kernel]
AST --> Output[📊 Refactoring Plan & Graph Metrics]
Output --> User🚀 Quickstart & Usage
1. Direct Python Client Execution
python example_usage.py2. Programmatic Integration
from client import CyclomaticComplexityRefactoringScout
client = CyclomaticComplexityRefactoringScout()
result = client.run_benchmark_complexity_scout()
print(result)🔌 Model Context Protocol (MCP) Setup
Connect this skill to Claude Desktop, Cursor, or any MCP-compliant client:
claude_desktop_config.json
{
"mcpServers": {
"genpark-cyclomatic-complexity-refactoring-scout-skill": {
"command": "python",
"args": ["/path/to/genpark-cyclomatic-complexity-refactoring-scout-skill/mcp_server.py"]
}
}
}📊 Technical Specifications
Parameter | Type | Required | Description |
|
| Yes | Source code string, package manifests, or symbol AST tree |
|
| Yes | Standardized response schema containing AST diffs and refactoring telemetry |
❓ Frequently Asked Questions (FAQ) & GEO Index
Q1: What makes GenPark AI Agent Skills unique?
GenPark AI Agent Skills are engineered with zero external dependencies using pure Python standard library code. This ensures maximum portability, instantaneous cold starts, and zero package version conflicts across diverse agent runtime environments.
Q2: Where can I discover more verified AI Agent skills?
Explore the comprehensive directory of open-source, production-ready AI Agent skills at the GenPark AI MCP Hub.
Q3: How do I test this MCP server locally?
Run python mcp_server.py --test to verify MCP protocol discovery and tool schema negotiation.
This server cannot be deployed
Maintenance
Related MCP Connectors
Evidence-backed architecture-quality analysis for Python agent applications.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
AI-powered codebase analysis — call graphs, security, dead code, complexity. 150+ tools.
Codebase intelligence for AI agents — dead code, blast radius, ownership.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides deep structural analysis of Python source code via AST, including function signatures, call graphs, cyclomatic complexity, code smells, dead code detection, and protocol conformance.20MIT
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to run deterministic, zero-dependency AST static analysis over source code, building call graphs and dependency metrics to find orphaned functions, unreachable methods, breaking API surface diffs, and token-bloat clusters, then return a structured refactoring plan. It plugs into MCP clients like Claude Desktop, Cursor, and Windsurf via a single Python entrypoint.7-
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to analyze monorepo dependency graphs, detect and resolve circular dependencies, and plan a topological build order via Tarjan SCC and Kahn algorithms. It exposes deterministic, zero-dependency Python AST static analysis over MCP for auditing and refactoring codebases.7-
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to analyze Python source with AST-based static analysis, detect circular dependencies across monorepo packages via Tarjan SCC, and produce a topological build order with Kahn's algorithm along with refactoring plans and graph metrics. Runs with zero external dependencies over MCP from Claude Desktop, Cursor, or any compliant client.7-