MCP Foundry
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceOne command to turn any codebase into an MCP server. Not just REST APIs. Not just OpenAPI specs.41Apache 2.0
- Flicense-qualityFmaintenanceAn 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
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server for structured code review passes on human- and AI-written code. Free tier.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/snehaguptanurix/mcp-foundry'
If you have feedback or need assistance with the MCP directory API, please join our Discord server