Logo AegisX MCP

AegisX MCP

Tổ chức
aegisx-platform

MCP (Model Context Protocol) server for the AegisX platform. Provides AI assistants with access to AegisX UI components, CRUD generator commands, development patterns, and API contract discovery.

Nhà phát hànhaegisx-platform
Kho mãaegisx-mcp
Ngôn ngữTypeScript
Bản fork
1
Sao
0
Công cụ có sẵn
12
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    AegisX MCP 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.

  • 12 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ở

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

@aegisx/mcp

npm version Downloads License

MCP (Model Context Protocol) server for the AegisX platform. Provides AI assistants with access to AegisX UI components, CRUD generator commands, development patterns, and API contract discovery.

Features

  • UI Components Reference - Browse and search 78+ AegisX UI components with full API documentation
  • CRUD Generator Commands - Build and execute CRUD generation commands with 23 supported options (100% CLI alignment)
  • Development Patterns - Access best practices, code templates, and architecture patterns
  • API Contract Discovery - List, search, and validate API contracts across your codebase
  • API Testing & Authentication - Login, test protected endpoints, decode JWT tokens, and track request history
  • Design Tokens - Reference design tokens for colors, spacing, typography
  • Development Standards - Access coding standards and guidelines

Data Synchronization

The component, command, and pattern data files are auto-generated from source libraries:

  • src/data/components.ts - Generated from aegisx-ui components
  • src/data/crud-commands.ts - Generated from aegisx-cli commands
  • src/data/patterns.ts - Validated from existing patterns

⚠️ DO NOT EDIT MANUALLY - Changes will be overwritten on next sync.

Installation

NPM (Global)

bash
npm install -g @aegisx/mcp

Claude Desktop Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "aegisx": {
      "command": "npx",
      "args": ["-y", "@aegisx/mcp"]
    }
  }
}

Or if installed globally:

json
{
  "mcpServers": {
    "aegisx": {
      "command": "aegisx-mcp"
    }
  }
}

Available Tools

UI Components

ToolDescription
aegisx_components_listList all UI components, optionally filtered by category
aegisx_components_getGet detailed info about a specific component
aegisx_components_searchSearch components by name or description

Example:

Use aegisx_components_get with name="Card" to see the Card component API.

CRUD Generator

ToolDescription
aegisx_crud_build_commandBuild a CRUD generation command with options
aegisx_crud_packagesView available packages (standard, enterprise, full)
aegisx_crud_filesSee what files will be generated
aegisx_crud_troubleshootGet help with common issues
aegisx_crud_workflowGet complete workflow for a feature

Example:

Use aegisx_crud_build_command with tableName="products" and withImport=true to get the command.

Development Patterns

ToolDescription
aegisx_patterns_listList all patterns by category
aegisx_patterns_getGet a specific pattern with code
aegisx_patterns_searchSearch patterns
aegisx_patterns_suggestGet pattern suggestions for a task

Example:

Use aegisx_patterns_suggest with task="create API endpoint" to get relevant patterns.

API Contract Tools

ToolDescription
aegisx_api_listList all API endpoints, optionally filtered by feature
aegisx_api_searchSearch endpoints by keyword across paths and methods
aegisx_api_getGet detailed contract for a specific endpoint
aegisx_api_validateValidate implementation matches documented contracts

Examples:

# List all endpoints
Use aegisx_api_list to see all documented APIs.

# Search for budget-related APIs
Use aegisx_api_search with query="budget" to find budget endpoints.

# Get contract details
Use aegisx_api_get with path="/api/profile" to see the full contract.

# Validate a feature
Use aegisx_api_validate with feature="user-profile" to check for mismatches.

API Testing & Authentication Tools

ToolDescription
aegisx_auth_loginLogin to API and store access token (default: localhost:3000)
aegisx_auth_statusCheck authentication status and token info
aegisx_auth_decode_jwtDecode JWT token to view header, payload, and expiry details
aegisx_auth_logoutLogout and clear authentication session
aegisx_api_requestMake authenticated HTTP requests (GET/POST/PUT/PATCH/DELETE)
aegisx_api_historyView request/response history with filtering
aegisx_api_clear_historyClear request history

Examples:

# Login to API
Use aegisx_auth_login with email and password to authenticate and store token.

# Check authentication status
Use aegisx_auth_status to see current user info and token expiry.

# Decode JWT token
Use aegisx_auth_decode_jwt to inspect token claims and expiration.

# Test protected endpoint
Use aegisx_api_request with method="GET" and path="/api/profile" to call authenticated endpoints.

# View request history
Use aegisx_api_history to see recent API calls with status codes and response times.

Features:

  • ✅ Automatic token management and storage
  • ✅ Request/response history (last 50 requests)
  • ✅ JWT token decoding and validation
  • ✅ Support for custom headers and query parameters
  • ✅ Configurable base URL (default: http://localhost:3000)
  • ✅ Environment variable support (AEGISX_API_URL)

Available Resources

ResourceDescription
aegisx://design-tokensDesign tokens (colors, spacing, typography)
aegisx://development-standardsCoding standards and guidelines
aegisx://api-referenceBackend API conventions
aegisx://project-structureMonorepo structure guide
aegisx://quick-startGetting started guide

Component Categories

  • data-display - Badge, Card, Avatar, KPI Card, Stats Card, List, Timeline, Progress
  • forms - Date Picker, Input OTP, Knob, Popup Edit, Scheduler, Time Slots
  • feedback - Alert, Loading Bar, Inner Loading, Splash Screen, Skeleton
  • navigation - Breadcrumb, Command Palette, Navbar, Launcher
  • layout - Classic Layout, Compact Layout, Enterprise Layout, Empty Layout
  • auth - Login Form, Register Form, Reset Password Form, Social Login
  • advanced - Calendar, Gridster, File Upload, Theme Builder, Theme Switcher
  • overlays - Drawer

CRUD Packages

PackageFeatures
standardBasic CRUD, pagination, search, soft delete
enterpriseStandard + Excel/CSV import
fullEnterprise + WebSocket events

Development

Sync Data from Source

The sync tool automatically updates data files from source libraries. This runs before each build via the prebuild hook.

bash
cd libs/aegisx-mcp
pnpm run sync           # Update data files
pnpm run sync:dry-run   # Preview changes without writing
pnpm run sync:verbose   # See detailed progress

Note: The sync process extracts component metadata from libs/aegisx-ui, command definitions from libs/aegisx-cli, and validates existing patterns. Manual edits to generated data files will be overwritten on next sync.

Build

bash
cd libs/aegisx-mcp
pnpm install
pnpm run build

The build process automatically runs pnpm run sync before compilation to ensure data files are up to date.

Test Locally

bash
node dist/index.js

Debug

Set DEBUG=mcp:* environment variable for verbose logging.

License

MIT

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "aegisx": {
      "command": "npx",
      "args": [
        "-y",
        "@aegisx/mcp"
      ]
    }
  }
}

Công cụ có sẵn

  • aegisx_components_list

    List all AegisX UI components or filter by category. Returns component names, selectors, and brief descriptions.

  • aegisx_components_get

    Get detailed information about a specific AegisX UI component including all inputs, outputs, usage examples, and best practices.

  • aegisx_components_search

    Search AegisX UI components by name, description, or functionality.

  • aegisx_crud_build_command

    Build a CRUD generator command with the specified options. Returns the exact command to run.

  • aegisx_crud_packages

    Get information about available CRUD generator packages and their features.

  • aegisx_crud_files

    Show what files will be generated for a CRUD module.

  • aegisx_crud_troubleshoot

    Get troubleshooting help for common CRUD generator issues.

  • aegisx_crud_workflow

    Get the recommended workflow for generating a complete CRUD feature (backend + frontend).

  • aegisx_patterns_list

    List available development patterns and code templates. Filter by category: backend, frontend, database, testing.

  • aegisx_patterns_get

    Get a specific development pattern with complete code example and best practices.

  • aegisx_patterns_search

    Search development patterns by keyword (e.g., "auth", "validation", "signal").

  • aegisx_patterns_suggest

    Get pattern suggestions for a specific use case or task.

Dùng MCP AegisX MCP 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 AegisX MCP, 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 AegisX MCP 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 AegisX MCP.
  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": {
    "aegisx-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@aegisx/mcp"
      ]
    }
  }
}
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 AegisX MCP, 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 AegisX MCP.
  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 AegisX MCP giúp tôi làm việc này không?
AegisX MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng AegisX MCP.

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

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

AegisX MCP 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 AegisX MCP 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 AegisX MCP 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 AegisX MCP 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 AegisX MCP, 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 AegisX MCP với TypingMind?

AegisX MCP 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 AegisX MCP cung cấp những công cụ nào trong TypingMind?

AegisX MCP cung cấp 12 công cụ 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 AegisX MCP 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 AegisX MCP 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.

aegisx://design-tokens
aegisx://development-standards
aegisx://api-reference
aegisx://project-structure
aegisx://quick-start

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 👇