M8 Codex MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| validate_code_standardsB | 验证给定的代码片段是否符合 M8 开发规范,返回不符合规范的问题列表和修改建议。 |
| create_pageB | 【推荐使用】一站式 M8 页面生成工具。自动完成:1.加载完整规范 2.生成代码 3.验证规范。用户只需描述页面需求即可,无需手动调用其他工具。 |
| create_ioc_pageA | 【低码组件生成】生成符合 M8 低码平台规范的组件代码。 🔴 重要:此工具会自动在项目根目录执行 npm run ioc create 命令创建组件! ⚠️ 【最重要】优先使用 em-组件库!:
📋 使用前必读 - 开发流程:
📁 生成的目录结构(自动创建):
📌 支持的配置项类型:
💡 配置设计建议:
|
| get_promptA | 获取配置给 AI (Cursor/Windsurf) 的最佳 System Prompt,包含核心规范和工具调用指令。建议将其复制到 .cursorrules 或 .windsurfrules 文件中。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a distinct, non-overlapping purpose: create_ioc_page generates component code, create_page generates full pages, get_prompt provides system prompts, and validate_code_standards checks code compliance. The descriptions clearly differentiate their roles, with no ambiguity in selection.
All tool names follow a consistent snake_case pattern with clear verb_noun structures: create_ioc_page, create_page, get_prompt, validate_code_standards. This uniformity makes the set predictable and easy to understand.
With 4 tools, the count is reasonable for a code generation and validation server, covering key workflows. It might feel slightly thin for broader development tasks, but it's well-scoped for its M8 platform focus, with no redundant tools.
The tools cover core M8 development needs: component creation, page generation, prompt setup, and code validation. Minor gaps exist, such as lacking tools for updating or deleting components, but the set supports essential workflows without dead ends.