Logo MCPify

MCPify

Cộng đồng
amarnath3003

MCPify is an AI enablement compiler that transforms existing applications into AI-native, agent-operable systems.

Nhà phát hànhamarnath3003
Kho mãMCPify
Ngôn ngữTypeScript
Bản fork
10
Sao
98
Công cụ có sẵn
0
Phương thức truyền tảistdio
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCPify cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    98 sao và 10 bản fork từ kho mã được liên kết.



Overview

Problem Statement

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.

  • manual MCP tool authoring for capabilities that already exist
  • brittle browser automation for UI interactions
  • raw endpoints instead of meaningful workflows
  • permission and safety gaps at the tool boundary
  • schema and tool drift as the application changes

Solution

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 Usage

Codex is a natural fit for MCPify in a few ways:

  1. Ideate - use Codex to explore agent workflows, sketch MCP surfaces, and refine how a product should be exposed to AI.
  2. Build - use Codex to implement or extend the compiler, generators, analyzers, and demo apps in this repo.
  3. Run as MCP inside Codex - connect the generated MCP server so Codex can call real tools, inspect app surfaces, and operate against the compiled environment.

Features

  • Backend Analyzer: Deep AST analysis of routes, controllers, and services to surface every callable action. Framework-aware for Express, Fastify, NestJS, and Next.js — including inline, non-exported handlers.
  • Frontend Action Extraction: React, Vue, Svelte components mapped to agent-controllable actions.
  • OpenAPI → MCP: Drop in a spec, ship a typed MCP server in seconds.
  • Workflow Engine: Multi-step processes detected and exposed as atomic agent capabilities.
  • Permission Layer: Scopes, roles, and audit trails enforced at the tool boundary.
  • AI Metadata Enhancement: Auto-generated descriptions, hints, and examples agents actually understand.
  • Database Intelligence: Schemas, relations, and constraints become safe, queryable surfaces.
  • Event System Integration: Webhooks, queues, and pub/sub plugged into agent loops.
  • Knowledge Graph Engine: Entities, intents, and relations modeled across your stack.
  • Self-Updating Sync: MCP definitions regenerate on every commit. No drift.
  • AI Simulations: Run agents against your app in a sandbox before shipping.

Getting Started

The easiest way to use MCPify is via npx. No installation required:

bash
npx mcpify-cli analyze ./my-app

To run it against the flagship ecommerce example in this repo:

bash
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:

bash
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:

bash
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.

CLI

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
bash
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
  • --reachable-only emit only externally-reachable backend actions (skip internal helpers)
  • --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)

interactive

Prompts for which analyzers to run and which source files to include.

bash
npx mcpify-cli interactive

frontend [path]

Extracts UI actions only and can print raw JSON.

bash
npx mcpify-cli frontend ./examples/internal-tool --json

swagger <file>

Converts an OpenAPI or Swagger spec directly into MCP tools.

bash
npx mcpify-cli swagger ./tests/fixtures/swagger/petstore.yaml

audit [path]

Static safety audit over the discovered tools and workflows — no files written.

bash
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.

bash
npx mcpify-cli simulate ./examples/express-api

Architecture

Built for the way agents actually operate. A layered system that keeps your application untouched while exposing exactly what agents need:

  1. AI Agents: Any agent runtime (Claude, GPT, Custom) connects over MCP to start operating your software like a power user.
  2. MCP Layer: Generated tools, resources, and prompts that map 1:1 to real surface in your app. The contract agents speak.
  3. Permissions: Every call passes through scopes, audit logs, and rate limits before it touches your system.
  4. Workflows: Discovered user journeys exposed as composable, stateful operations agents can chain.
  5. Your App: Your existing stack (Frontend, Backend, Database, APIs) — untouched. MCPify reads it; it never rewrites it.

Repository Structure

txt
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/

License

See LICENSE.

Dùng MCP MCPify với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCPify, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCPify làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCPify.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "mcpify": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCPify, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCPify.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCPify giúp tôi làm việc này không?
MCPify
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCPify.

Câu hỏi thường gặp

Máy chủ MCP MCPify dùng để làm gì?

MCPify là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCPify với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCPify với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCPify với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCPify, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCPify với TypingMind?

MCPify hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP MCPify cung cấp những công cụ nào trong TypingMind?

MCPify cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCPify không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCPify yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇