MCP Foundry
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., "@MCP Foundryanalyze my Python repo and create an MCP server"
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.
MCP Foundry
Turn any codebase into a working MCP (Model Context Protocol) server. Paste a GitHub repo URL or upload code → Foundry discovers the capabilities → you curate which to expose (risk-flagged, destructive opt-in) → it generates a runnable FastMCP server + connect config.
This is the web platform built on top of the codebase-to-mcp skill's engine logic.
Deep-understanding report
Before (or instead of) generating a server, Foundry can read the repo in depth and explain it: after analyzing, click "Generate deep report" for a narrative breakdown — overview, architecture, how it works, key modules, and where to start building on top.
With
ANTHROPIC_API_KEYset, Claude writes the narrative, grounded only in the repo's files/README/capabilities (no fabrication).Without a key, it falls back to a structural report built straight from the discovery data.
Set the key (optional) via a local .env (see .env.example) — it's server-side, never shipped to the browser.
Related MCP server: Axon.MCP.Server
Run it
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python -m uvicorn app.main:app --reload --port 8099
# open http://127.0.0.1:8099Layout
mcp-foundry/
├── engine/
│ ├── discovery.py # scan a repo -> capabilities (FastAPI/Flask/Django/plain-python, AST-based)
│ ├── generator.py # capabilities -> FastMCP server bundle (http-proxy or in-process)
│ └── analyzer.py # repo + discovery -> deep-understanding report (Claude or structural)
├── app/
│ ├── main.py # FastAPI: /api/analyze, /api/report, /api/generate, /api/download
│ └── templates/index.html # single-page UI (input -> curate -> generate)
├── tests/
│ ├── test_discovery.py / test_generator.py # engine unit checks
│ └── e2e_test.py # end-to-end against the running server
├── CONTRACT.md # the shared spec (Capability shape + API)
└── ROADMAP.md # v1 scope + phases 2-4 (auth, hosting, more inputs)Status
v1: the core loop works end-to-end (verified — upload/clone → analyze → curate → generate →
download, with the emitted server.py compiling). Single-tenant, in-memory, generates code you run.
Auth, persistence, and managed hosting are Phase 2–3 — see ROADMAP.md.
Test
.venv/bin/python tests/test_discovery.py
.venv/bin/python tests/test_generator.py
.venv/bin/python tests/e2e_test.py # requires the server running on :8099This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Create, deploy, and operate MCP servers directly from your GitHub repositories.
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceOne command to turn any codebase into an MCP server. Not just REST APIs. Not just OpenAPI specs.43Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn MCP server that transforms codebases into intelligent, queryable knowledge bases, enabling AI assistants to perform semantic search, explore architecture, and analyze code relationships.166-
- AlicenseCqualityDmaintenanceAn MCP server that analyzes local or remote GitHub repositories, providing intelligent code context and structure to AI coding assistants.1013MIT
- AlicenseAqualityCmaintenanceAn MCP server that extracts complete knowledge from any codebase — architecture, patterns, dependencies, API surface. Combines static analysis with AI-powered deep interpretation.8MIT