mcpify-any-repo
Provides tools for inspecting and compiling public GitHub repositories into runnable MCP server bundles, analyzing detected CLI commands, OpenAPI endpoints, and functions.
Click 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., "@mcpify-any-repo compile https://github.com/encode/httpx into an MCP server bundle"
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.
mcpify-any-repo
Turn any public GitHub repository or local codebase into a runnable, zero-dependency Python 3 stdlib MCP Server (server.py) + smithery.yaml + glama.json + bazaar_card.json in one command.
Zero runtime dependencies — pure Python 3 standard library only (
ast,json,urllib,http.server).Multi-source code analyzer — parses
README.md, Pythonargparse/ Click / Typer / typed functions,pyproject.toml,package.json,Makefile, and OpenAPI/Swagger specs (.json&.yaml).Safe by default — compiled servers emit dry-run execution plans unless
MCP_ALLOW_EXEC=1is explicitly enabled, and enforce strict SSRF blocks on loopback/RFC1918/metadata targets.Standalone local mode + live cloud acceleration — runs 100% offline on local directories or connects to clonesaas.fastmesh.dev for hosted cloud compilation.
Quickstart
git clone https://github.com/pjrpjr/mcpify-any-repo.git
cd mcpify-any-repo
# Verify installation offline
python3 mcpify_any_repo.py --self-check
# Compile any public GitHub repo into an MCP bundle
python3 mcpify_any_repo.py https://github.com/encode/httpx -o ./httpx-mcp
# Compile a local repository completely offline
python3 mcpify_any_repo.py ./my-local-repo -o ./my-local-mcp --offline
# Enable live FastMesh cloud acceleration
python3 mcpify_any_repo.py https://github.com/astral-sh/ruff -o ./ruff-mcp --cloud
# Run the generated MCP server immediately
python3 ./my-local-mcp/server.py --self-check
python3 ./my-local-mcp/server.py --stdioRelated MCP server: AI Knowledge Center MCP
Output Artifacts
Every run emits a self-contained bundle ready for Claude Desktop, Cursor, Windsurf, Smithery, Glama, and Causal Bazaar:
File | Purpose |
| Runnable zero-dep Python 3 stdlib MCP server ( |
| Smithery registry manifest with typed |
| Glama MCP directory schema ( |
| FastMesh Causal Bazaar listing card with SHA-256 artifact hashes |
| Compilation summary, tool inventory, and integrity digests |
MCP Client Configuration (Claude Desktop / Cursor / Windsurf)
Add mcpify-any-repo itself as an MCP server so your coding agent can compile repositories on demand:
{
"mcpServers": {
"mcpify-any-repo": {
"command": "python3",
"args": ["/path/to/mcpify-any-repo/mcpify_any_repo.py", "--stdio"],
"env": {
"FASTMESH_API_KEY": ""
}
}
}
}Exposed MCP Tools
inspect_repo— Inspect a local repo or GitHub URL and list detected CLI commands, OpenAPI endpoints, and functions.mcpify_repo— Compile target repository intoserver.py,smithery.yaml,glama.json, andbazaar_card.json.validate_mcp_bundle— Verify AST syntax and JSON/YAML validity of an emitted bundle.
Hosted Cloud Acceleration & FastMesh Prepaid Wallets
Want hosted Streamable HTTP MCP endpoints, 40+ verified-outcome developer APIs, and $0 charge on empty/miss results?
Live Super-Catalog & Gateway: https://super.fastmesh.dev
Live Repo-to-MCP Cloud Compiler: https://clonesaas.fastmesh.dev
Prepaid Creem Wallet Packs (one balance across every FastMesh endpoint, zero subscription lock-in):
Starter ($19): Buy Starter Pack
Pro ($79): Buy Pro Pack
Scale ($249): Buy Scale Pack
Development & Tests
python3 -m unittest discover -s tests -vLicense
MIT — see LICENSE.
Available Tools
3 toolsinspect_repoC
Inspect a local directory or public GitHub repository URL and return discovered CLI commands, OpenAPI endpoints, Python functions, and synthesized MCP tool specs.
Inputs: target (required), cloud, offline.
mcpify_repoB
Compile any public GitHub repo URL or local codebase into a runnable zero-dep Python MCP server (server.py) + smithery.yaml + glama.json + bazaar_card.json.
Inputs: target (required), out_dir (required), cloud, offline.
validate_mcp_bundleC
Validate a compiled MCP bundle directory (server.py AST, smithery.yaml, glama.json, bazaar_card.json).
Inputs: bundle_dir (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool occupies a distinct pipeline stage: inspect (analyze and report), mcpify (compile artifacts), validate (check output). The only mild ambiguity is the overlap between inspect_repo and mcpify_repo, since both consume a repo and inspect_repo already returns 'synthesized MCP tool specs' — an agent could wonder whether mcpify_repo is needed. Descriptions still give enough signal to sequence them correctly.
All three names follow a clean verb_noun pattern (inspect_repo, mcpify_repo, validate_mcp_bundle) in snake_case, with the noun matching the pipeline concepts (repo vs bundle). No stylistic deviations.
Three tools is a tight, purposeful surface for a build-pipeline server: analyze, generate, verify. Nothing feels padded and no obvious operation is crammed into a separate tool.
The inspect -> mcpify -> validate lifecycle is covered end to end for generating and checking an MCP bundle. Minor gaps remain around post-build operations (e.g. publishing/installing the generated server, listing or re-running validation on an existing bundle, or cleaning up outputs), but agents can work around these.
Maintenance
Related MCP Connectors
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Create guides as MCP servers to instruct coding agents to use your software (library, API, etc).
An MCP server that gives your AI access to the source code and docs of all public github repos
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that exposes a verified manifest of a repository's development commands, allowing AI coding agents to instantly learn the correct dev loop without trial-and-error.5 npmMIT
- AlicenseNot gradedqualityCmaintenanceLocal-first MCP server that provides project context, verification gates, and structured tools for coding agents to discover knowledge, run diagnostics, and execute allowlisted commands within a repository.MIT
- AlicenseAqualityCmaintenanceMCP server that inspects local codebases and generates source-grounded context packs for coding agents, with tools for repository search, symbols, dependencies, Git analysis, and context generation.6MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate complete, runnable MCP server projects from natural-language tool descriptions, including schema, implementation, tests, README, and license.MIT