M8 Codex MCP

Provides MCP-based AI assistance for M8 development, including page generation, IOC components, and code standard validation.
  • typescript

0

GitHub Stars

typescript

Language

5 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "lipeng9401222-m8-codex-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "m8-codex-mcp@latest"
      ]
    }
  }
}

You can use this MCP server to enable AI-assisted generation, validation, and IOC component creation for M8 development workflows. It exposes a ready-to-use stdio MCP endpoint that you can start from your local environment and then connect through your MCP client to rapidly generate pages, IOC components, and enforce coding standards.

How to use

Connect your MCP client to the local MCP server using the stdio option provided by the server configuration. Once connected, you can invoke tools like create_page, create_ioc_page, validate_code_standards, and get_prompt to accelerate your M8 development work. You will receive structured outputs that include generated Vue/SCSS/JS code, IOC structures, and real-time code standard validations.

How to install

Prerequisites: you need Node.js and npm installed on your machine.

  1. Create an MCP client configuration that points to the local stdio MCP endpoint.

  2. Start the MCP server client as described in the following configuration block.

Configuration and usage notes

The MCP server exposes a stdio configuration that uses npx to run the m8-codex-mcp package. Use the following configuration snippet in your MCP client setup to enable this server.

{
  "mcpServers": {
    "m8_codex_mcp": {
      "command": "npx",
      "args": ["-y", "m8-codex-mcp@latest"]
    }
  }
}

Tools and capabilities

  • create_page: generate a complete M8-compliant page including code, mocks, and a standards report.

  • create_ioc_page: generate IOC-compatible component structures for low-code platforms.

  • validate_code_standards: verify existing code against M8 development norms like file headers, global variable usage, and style scoping.

  • get_prompt: fetch an optimized System Prompt to tailor AI behavior for M8 development workflows.

Troubleshooting

If you encounter connection issues, verify that your MCP client can spawn the stdio process and that the npx command resolves correctly. Ensure network permissions and Node.js are properly installed.

Available tools

create_page

Generates a complete M8-compliant business page, including loading standards, code (Vue/SCSS/JS), mock data, and a code standards report.

create_ioc_page

Generates an IOC-compliant component structure for low-code platforms (Config/Mock/Vue/Plugin) ensuring reuse of M8 components.

validate_code_standards

Performs automated checks to ensure code adheres to M8 development standards such as header comments, global variable usage, and styling rules.

get_prompt

Retrieves an optimized System Prompt for configuring your AI assistant to behave as an M8 expert.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational