clonevibe-mcp
Ingests GitHub repository URLs to hydrate a ReferenceSnapshot, enabling feature extraction, AST slicing, and code synthesis from remote GitHub codebases.
Ingests npm package registry specs (npm:) to hydrate a ReferenceSnapshot, allowing feature extraction and dependency-free code grafting from npm packages.
Ingests PyPI package registry specs (pypi:) to hydrate a ReferenceSnapshot, allowing feature extraction and dependency-free code grafting from Python packages.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@kr-pro-labs/clonevibe-mcp
Surgical AST Feature Slicer, Zero-Dependency Chameleon Code Grafter & 1:1 Golden Parity MCP Server for Vibe Coding.
During Vibe Coding, engineers frequently discover a specific algorithm, table parser, retry scheduler, physics routine, or state machine buried inside a massive external reference (a 50,000-line GitHub repository, an npm:/pypi:/cargo: package, or a minified JS bundle). Cloning the entire repository or installing bloated dependency trees pollutes your project.
clonevibe-mcp extracts only the minimal transitive AST closure of the target feature, replaces third-party dependencies with lightweight zero-dependency inline micro-shims, adapts the code to your host project's language and style conventions, and mechanically proves 1:1 behavioral equivalence via Golden I/O vectors.
Architecture Pipeline
flowchart LR
A["Reference Input\n(GitHub / Local / npm: / pypi: / cargo: / JS Bundle)"] --> B["1. ingest_reference\nMultiSourceIngestor"]
B --> C["2. locate_feature_entrypoints\nSymbol & Centrality Ranker"]
C --> D["3. slice_engine_graph\nTransitive AST Closure Slicer"]
E["4. profile_target_vibe\nChameleon Style Scanner"] --> F["5. synthesize_chameleon_graft\nZero-Dep Inliner & Code Synthesizer"]
D --> F
F --> G["6. verify_engine_parity\n1:1 Golden I/O Parity Verifier"]Related MCP server: vitest-migrator-mcp
Key Capabilities
All-in-One Multi-Source Ingestion: Ingests local codebases, GitHub URLs, package registry specs (
npm:,pypi:,cargo:), inline file maps, and single-line minified JS bundles (with automatic token-aware structural formatting).Polyglot Transitive AST Closure Slicing: Extracts top-level functions, classes, structs, interfaces, and call edges across TypeScript, JavaScript, Python, Rust, and Go, pruning 80%–98% of unrelated repository boilerplate.
Zero-Dependency Micro-Shim Catalog: Automatically replaces external imports (
lodash,uuid,axios,node-fetch,chalk, etc.) with self-contained standard-library inline primitives (externalDepCount === 0).Chameleon Style & Cross-Language Assimilation: Profiles your workspace (
camelCasevssnake_casevsPascalCase,esmvscommonjs, quotes, indentation, error handling) and synthesizes drop-in modules and Clean-Room Algorithmic Blueprints.1:1 Golden Parity Verification: Executes empty, numeric boundary, Unicode/CJK, malformed, and deterministic seed Golden Vectors and emits a ready-to-run host unit test file (
vitest,pytest,cargo test, orgo test).
Quick Start & MCP Client Configuration
Install & Build from Source
git clone https://github.com/KR-PRO-Labs/clonevibe-mcp.git
cd clonevibe-mcp
npm install
npm run build
npm testClaude Desktop / Cursor / Windsurf / Antigravity (mcp_config.json)
{
"mcpServers": {
"clonevibe-mcp": {
"command": "npx",
"args": ["-y", "@kr-pro-labs/clonevibe-mcp"]
}
}
}MCP Tools Reference
Tool Name | Description |
| Hydrates a GitHub URL, local directory, registry spec ( |
| Scores and ranks symbols in a snapshot against natural-language feature queries and call centrality. |
| Computes the minimal transitive AST call/type closure from entrypoint symbols and matches zero-dep shims. |
| Inspects a target workspace or code sample to detect language, module system, casing, quotes, indentation, and error-handling idiom. |
| Generates a zero-dependency adapted code module and Clean-Room Algorithmic Blueprint in the target language. |
| Verifies 1:1 Golden I/O parity, confirms zero external dependencies, and outputs a runnable test suite. |
MCP Resources
clonevibe://catalog/zero-dep-shims— JSON catalog of zero-dependency inline shims across TypeScript, JavaScript, Python, Rust, and Go.clonevibe://guide/chameleon-workflow— Markdown guide for executing the 6-stage surgical grafting pipeline.
License
MIT © KR-PRO-Labs & Julian Vane (@goooem)
This server cannot be deployed
Maintenance
Related MCP Connectors
Stateless TS/JS compiler facts for agents: references, imports, impact. No repo index or OAuth.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Monitor third-party API changes in GitHub repos, map breaks to files, open reviewable auto-fix PRs.
Audit GitHub repos for malicious and supply-chain code before you depend on them.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI agents to safely upgrade JavaScript and TypeScript projects through dependency analysis, upgrade path detection, breaking change identification, codemod application, and PR summary generation.149 npmMIT
- FlicenseAqualityBmaintenanceEnables automated migration of JavaScript/TypeScript packages from legacy test runners like Karma, Webpack, and Mocha to Vitest, including AST codemods, multi-project test scaffolding, and self-learning diagnostics for resolving runtime errors.7-
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to extract a source feature’s static dependency closure and adapt it into a target Git repository’s own data model and design, then carry later upstream fixes into the adapted copy with pinned provenance and frozen verification checks.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP hosts like Claude Code and Cursor to find a JS/TS feature in a source repository, plan a transfer into another app, and inspect the declared behavior contract and dependencies before executing code. It then runs regression and browser checks and exports a reviewable patch while leaving the original repositories unchanged.9 npm3MIT