
Compile software into AI-operable systems.
MCPify is the AI Enablement Compiler. Transform applications, APIs, frontends, workflows, and databases into AI-native systems for autonomous agents.
Overview · Features · Getting Started · CLI · Architecture

Modern software is built for humans, not agents. The useful actions are scattered across frontend interactions, backend services, APIs, databases, and workflows, which forces AI systems into brittle browser automation or hand-written MCP boilerplate.
MCPify acts as a compiler for your application. It scans the parts of the codebase that matter to agents and produces a runnable MCP server, semantic workflows, permission-aware tools, and the metadata an agent needs to use them safely.
Stop hand-writing MCP tools. Compile your stack once. Stay in sync forever.
Codex is a natural fit for MCPify in a few ways:
The easiest way to use MCPify is via npx. No installation required:
npx mcpify-cli analyze ./my-app
To run it against the flagship ecommerce example in this repo:
npx mcpify-cli analyze ./examples/ecommerce-saas \
--output ./examples/ecommerce-saas/.mcpify \
--prisma ./examples/ecommerce-saas/prisma/schema.prisma \
--swagger ./examples/ecommerce-saas/openapi.json
Alternatively, to build from source:
git clone https://github.com/amarnath3003/MCPify.git
cd MCPify
npm install
npm run build
npm run mcpify -- analyze ./examples/ecommerce-saas \
--output ./examples/ecommerce-saas/.mcpify \
--prisma ./examples/ecommerce-saas/prisma/schema.prisma \
--swagger ./examples/ecommerce-saas/openapi.json
After generation:
cd examples/ecommerce-saas/.mcpify
npm install
npm run build
The generated AGENTS.md explains how to connect the compiled server to an MCP client. The ecommerce walkthrough lives in examples/ecommerce-saas/DEMO.md.
analyze [path]Default command. Runs the full pipeline: - backend analysis - optional OpenAPI, Prisma, Drizzle, and Mongoose analysis - event and webhook discovery - optional frontend extraction - workflow detection - permission classification - MCP server generation
npx mcpify-cli analyze . \
--swagger ./tests/fixtures/swagger/petstore.yaml \
--prisma ./tests/fixtures/prisma/simple.prisma \
--watch
Useful flags:
- --output <dir> change output directory (default: ./.mcpify)
- --no-frontend skip UI action extraction
- --no-events skip webhook and listener analysis
- --no-workflows skip workflow detection
- --ai-enhance improve tool descriptions (requires ANTHROPIC_API_KEY)
- --swagger <file> analyze an OpenAPI/Swagger spec
- --prisma <file> analyze a Prisma schema file
- --drizzle <path> analyze Drizzle table definitions
- --mongoose <path> analyze Mongoose schema/model files
- --no-install skip auto-registration into AI clients
- --clients <list> clients to register: codex, claude-code, claude-desktop, vscode, or all (default: all)
interactivePrompts for which analyzers to run and which source files to include.
npx mcpify-cli interactive
frontend [path]Extracts UI actions only and can print raw JSON.
npx mcpify-cli frontend ./examples/internal-tool --json
swagger <file>Converts an OpenAPI or Swagger spec directly into MCP tools.
npx mcpify-cli swagger ./tests/fixtures/swagger/petstore.yaml
audit [path]Static safety audit over the discovered tools and workflows — no files written.
npx mcpify-cli audit ./examples/express-api
simulate [path]When ANTHROPIC_API_KEY is set, runs an AI simulation battery against the compiled tool surface.
npx mcpify-cli simulate ./examples/express-api
Built for the way agents actually operate. A layered system that keeps your application untouched while exposing exactly what agents need:
mcpify/
apps/
docs/
examples/
landingPage/
packages/
ai-enhancer/
backend-analyzer/
cli/
event-analyzer/
frontend-analyzer/
graph-engine/
mcp-generator/
monitoring/
permissions/
schema-engine/
security/
sync-engine/
workflow-engine/
tests/
See LICENSE.
$ claude mcp add MCPify \
-- python -m otcore.mcp_server <graph>