制造云AI代码MCP
mmdev 是一个用于支持制造云开发的工具集,提供了元数据服务、异常编码生成、代码生成规则等功能,旨在提升开发效率和代码质量。
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"mmdev": {
"args": [
"yonyou-mm-dev-mcp@latest"
],
"command": "uvx"
}
}
}
该服务需要配置环境变量:server
服务介绍
mmdev
Manufacturing Cloud Developer Platform
Project Overview
mmdev is a toolkit designed to support the development of Manufacturing Cloud, providing functionalities such as metadata services, exception code generation, and code generation rules, aimed at enhancing development efficiency and code quality.
Features
- Metadata Service: Provides query interfaces for code metadata and exception metadata.
- Exception Code Generation: Generates unique exception codes based on business modules and objects.
- Code Generation Rules: Offers rule suggestions for code generation and optimization.
- FastMCP Integration: Builds developer tools using the FastMCP framework.
Project Structure
main.py: The entry point file of the project.mcp/: Contains the implementation of metadata services and toolkits.dev_mcp.py: Definition of FastMCP tools and services.dev_server_mock.py: Implementation of the metadata service using FastAPI.
Quick Start
Environment Requirements
- Python Version:
>=3.13 - Dependencies:
fastmcp,httpx,mcp[cli]
Install Dependencies
bash
pip install -r requirements.txt