Skip to main content
Glama
alphaparkinc

genpark-dead-code-unreachable-ast-pruner-skill

genpark-dead-code-unreachable-ast-pruner-skill

Python 3.9+ License MIT MCP Compatible GenPark AI Zero Dependencies

🌐 GenPark MCP Hub Showcase📦 GenPark Official Website📖 Documentation


📌 Overview & Capability

genpark-dead-code-unreachable-ast-pruner-skill is a deterministic, zero-dependency Python skill engineered for autonomous AI code reviews, AST-level taint flow tracing, breaking API change audits, and test flakiness mitigation.

Executive Capability: Whole-program callgraph reachability pruner locating dead functions & stale flags (Knip / Tsukuyomi)

⚡ Key Highlights & Value

  • 🐍 Zero External pip Dependencies: Runs instantaneously on standard Python 3.9+ with zero environment bloat.

  • 🔌 Native Model Context Protocol (MCP): Seamlessly integrates into Claude Desktop, Cursor IDE, GitHub Actions PR bots, and autonomous developer workflows.

  • 🎯 Deterministic & Reliable: 100% predictable input/output contracts with full JSON Schema validation.

  • 🚀 Low Latency: Sub-millisecond execution overhead tailored for high-frequency CI/CD pipelines.


Related MCP server: CodeGraph

🏗️ Architecture & Workflow

graph LR
    User([💻 Pull Request / Developer]) -->|Diff & AST Source Code| MCP[⚡ MCP Server / Protocol]
    MCP --> Client[🛠️ Code Review Sentinel Kernel]
    Client --> Analyzer[🧠 AST & Taint Flow Analysis Pipeline]
    Analyzer --> Dossier[📊 Review Report & Breaking Change Alerts]
    Dossier --> User

🚀 Quickstart & Usage

1. Direct Python Client Execution

python example_usage.py

2. Programmatic Integration

from client import DeadCodeUnreachableAstPrunerClient

client = DeadCodeUnreachableAstPrunerClient()
result = client.identify_dead_code_branches()
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-dead-code-unreachable-ast-pruner-skill": {
      "command": "python",
      "args": ["/path/to/genpark-dead-code-unreachable-ast-pruner-skill/mcp_server.py"]
    }
  }
}

📊 Technical Specifications

Parameter

Type

Required

Description

query_payload

string / dict

Yes

Primary input parameter parsed and executed deterministically

output_format

json / dict

Yes

Standardized response schema containing execution 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 1,200+ open-source, production-ready AI Agent skills at the GenPark AI MCP Hub and learn more about developer productivity tools at GenPark AI.

Q3: How do I test this MCP server locally?

Run python mcp_server.py --test to verify MCP protocol discovery and tool schema negotiation.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    MCP server for persistent code exploration and diff-aware review, exposing explore and review tools to map call paths, blast radius, and generate explainable risk-scored reports.
    243
    2
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Whole-repo code graph for AI agents: impact analysis, dead code, cycles, semantic code search — 14 tools via hosted MCP endpoint.
    15
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alphaparkinc/genpark-dead-code-unreachable-ast-pruner-skill'

If you have feedback or need assistance with the MCP directory API, please join our Discord server