mcp-visual-programming-pc-client
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-visual-programming-pc-clientCreate a visual flow where a lidar detects distance and triggers braking."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PC 客户端 (Qt 框架) 图形化编程 MCP 服务端方案与集成资源
本项目是一个专为基于 Qt 框架 (Qt C++ / PyQt6 / PySide6) 开发的 PC 桌面图形化编程客户端,设计的内嵌 MCP Server (Model Context Protocol) 完整工业级落地方案。 使得用户可以在 AI Agent (如 Cursor、Claude Desktop、Antigravity IDE、Trae 等) 中通过自然语言描述图形化编程需求,由 Agent 自动在 Qt 客户端的
QGraphicsScene画布侧实时完成组件拖拽、接口引脚连线与拓扑渲染!
📁 目录结构与资源导航
mcp-visual-programming-pc-client/
├── README.md # 本文档(极简快速开始)
├── docs/ # 细化的具体方案与技术规范文档
│ ├── 01_Architecture_Design.md # 架构设计方案与 Qt 线程安全通信机制 (QThread + Signals)
│ ├── 02_MCP_Tools_Specification.md # 7 大 MCP 工具接口定义与参数规范
│ ├── 03_CModel_Parsing_Guide.md # cmodel 模型文件解析与画布拓扑映射指南
│ └── 04_Deployment_and_Integration.md # 部署方式、PyInstaller 打包与 IDE 接入指南
├── src/ # 模块化核心源代码
│ ├── model_parser/ # cmodel 模型文件解析模块 (CModelReader)
│ │ └── cmodel_reader.py
│ └── qt_client/ # Qt 界面与内嵌 MCP 引擎通信模块
│ ├── main_window.py # Qt 主窗口与 QGraphicsScene 画布
│ └── mcp_thread.py # FastMCP 线程与 pyqtSignal 跨线程桥梁
├── resources/ # 示例资源文件
│ ├── sample_model.cmodel.json # 示例机器人 cmodel 模型文件
│ └── mcp_config_example.json # IDE (Cursor/Claude/Trae) 接入配置文件
├── run_qt_client.py # 客户端程序一键启动入口
└── requirements.txt # 依赖清单 (PyQt6, FastMCP, uvicorn)Related MCP server: Pane
🌟 三大业务需求设计摘要
根据已有模型文件 (cmodel) 编程:由
src/model_parser/cmodel_reader.py动态解析.cmodel模型描述包,自动提取设备器件(如主控G_MainController、激光雷达LS-MR-LS、舵轮Steerwheel_FL、电池组等)及其 API 端口。依据接口节点编程:提供引脚端口级连线 Tool
connect_interface_ports,支持在设备器件节点的引脚端口(如getMinDistance.distanceMeters)与控制器引脚端口间自动建立贝塞尔连线。器件对象节点 + 通用节点库:划分为模型器件节点(
DEVICE_OBJECT_NODE)与通用逻辑节点(COMMON_FLOW_NODE:Flow_IfElse,Flow_Loop,Func_PIDController,Var_GlobalDouble)。
🚀 极简快速开始
git clone https://github.com/doghelWang/mcp-visual-programming-pc-client.git
cd mcp-visual-programming-pc-client
# 1. 安装依赖
pip install -r requirements.txt
# 2. 运行 Qt 图形化客户端
python3 run_qt_client.py配置 IDE (mcp.json)
在 Cursor / Antigravity IDE / Claude Desktop / Trae 的 mcp.json 中添加配置:
{
"mcpServers": {
"qt-visual-programming-client": {
"command": "python3",
"args": [
"/Users/wangfeifei/code/mcp-visual-programming-pc-client/run_qt_client.py"
],
"env": {
"AMR_MODEL_FILE": "/Users/wangfeifei/code/mcp-visual-programming-pc-client/resources/sample_model.cmodel.json"
}
}
}
}在 AI 聊天框直接输入:
“请帮我在 Qt 客户端画布上自动创建一个激光雷达实时获取距离并进行避障制动的图形化编程流程。”
即可看到 Qt 窗口画布自动绘制节点与拓扑连线!
📖 详细方案文档链接
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to manage ComfyUI workflows using a human-readable Domain Specific Language (DSL), with automatic conversion to/from JSON format. Supports workflow creation, validation, execution, and monitoring through natural language interactions.Last updated162MIT
- FlicenseBqualityCmaintenanceConnects AI coding agents to Circuitry's visual workflow platform, enabling them to create and sync code nodes from project files, understand user-drawn flowcharts and diagrams, generate visual flowcharts, and create data visualizations like spreadsheets and charts.Last updated100
- Flicense-qualityDmaintenanceEnables AI assistants to programmatically control Autodesk Maya via natural language using over 30 tools for 3D modeling, lighting, and animation. It connects through Maya's command port to facilitate procedural scene generation and complex production-ready workflows.Last updated1
Related MCP Connectors
Build and run visual creative-production workflows from your AI agent.
Create and manage AI agents that collaborate and solve problems through natural language interacti…
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/doghelWang/mcp-visual-programming-pc-client'
If you have feedback or need assistance with the MCP directory API, please join our Discord server