e-language-codex-mcp
Enables Codex to read, write, and design windows for E-language (易语言) programs using official IDE APIs, allowing natural language control of development workflows.
README
易语言 Codex MCP
项目交流 QQ 群:
262430517· 企业级云服务器:迅度云
让 Codex 直接在易语言 5.95 里读代码、写代码、设计窗口并运行程序。
它不是鼠标脚本,也不会修改 .e 二进制格式。所有 IDE 操作都走易语言官方支持库 API,界面数据保存为可审查的 UTF-8 .eui.json。

能做什么
- 读取和批量修改当前易语言工程代码。
- 新建可直接运行的
windows-ui工程。 - 在易语言内使用 Codex UI 设计窗口,支持拖拽、属性编辑和撤销重做。
- 保存、默认运行、停止程序;只有明确要求时才编译成品。
- 读取编译输出和事件追踪,定位语法错误与无响应按钮。
- 在同一个支持库中提供 222 条 Rust 实现的中文扩展命令。

三步安装
前提:Windows 10/11 x64、易语言 5.95、Node.js 20+、Codex CLI。
- 从 Releases 下载 ZIP,完整解压后双击
安装.bat。 - 打开易语言,在“工具 → 支持库配置”中勾选“Codex MCP IDE桥接支持库”。
- 重启易语言一次,再重启 Codex或新建任务。
安装支持库时需要关闭易语言一次。安装完成后的日常写代码、运行和调试不需要反复关闭 IDE。
完整步骤和非默认安装目录说明见 安装文档。
怎么用
在 Codex 中直接描述需求,例如:
用易语言新建一个 windows-ui 程序,做一个文件哈希工具。先设计界面并写事件代码,完成后默认运行,不要编译成品。
常用 MCP 工具:
| 目标 | 工具 |
|---|---|
| 查看连接和活动工程 | ide_status、project_get_active |
| 新建 UI 工程 | project_new,选择 windows-ui |
| 读取和修改代码 | code_read_current、code_apply_current、code_batch |
| 修改可视界面 | ui_get_document、ui_apply_batch、ui_sync_code |
| 保存和运行 | project_save、build_run、build_stop |
| 按需编译和读错误 | build_compile、build_get_diagnostics |

Rust 扩展能力
支持库共 223 条命令,其中 222 条为通用扩展能力,按中文前缀分成 21 类:文本、JSON、文件、目录、路径、系统、网络、密码与密钥、压缩、媒体、图片等。
代表能力包括 SHA-256/BLAKE3、Argon2id、AES-GCM、Ed25519、X25519、JWT、MessagePack、CBOR、Zstandard、二维码、图片感知哈希、SimHash 和雪花 ID。完整列表见 扩展命令说明。
示例
示例的 .eui.json 与 .e 文件放在同一目录。运行时 MCP 会自动部署 eui_runtime.dll。
安全边界
- 不使用
SendInput、坐标点击或键鼠模拟。 - 不逆向调用 IDE 内部函数。
- 不解析或直接改写
.e二进制工程。 - 工程切换前先调用官方保存接口,避免“是否保存关闭”弹窗。
- 所有写工具带修订号,过期内容会拒绝覆盖。
- 普通旧工程不会被强行注入 UI 脚手架;UI 项目请使用
windows-ui模板。
已知限制
- 当前针对易语言 5.95、单个已保存活动工程和单个启动窗口。
code_compact_current只提供只读预览,不执行不可靠的批量删除。- IDE 输出控件无法识别时,只返回编译成败,不进行界面自动化兜底。
从源码构建
需要 Visual Studio x86 C++ Build Tools、Windows SDK、Rust 和 i686-pc-windows-msvc 目标。
rustup target add i686-pc-windows-msvc
npm.cmd install
npm.cmd run build:all
npm.cmd run test:all
npm.cmd run check
贡献前请阅读 CONTRIBUTING.md。
交流与服务
- 易语言 Codex MCP 项目交流 QQ 群:
262430517 - 企业级云服务器:迅度云
许可证
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.