ftx-mcp
Talk to your FactoryTalk Optix project. ftx-mcp connects AI tools to FactoryTalk Optix Studio on your Windows machine, so you can build and change HMI screens by describing what you want.
README
ftx-mcp
<!-- mcp-name: io.github.asqi-carter/ftx-mcp -->
Talk to your FactoryTalk Optix project. ftx-mcp connects AI tools (Desktop, Cowork, Code — or any MCP client) to FactoryTalk Optix Studio on your Windows machine, so you can build and change HMI screens by describing what you want:
"Add a header that says 'Hello Optix' to Screen 1 and show me."
"Bind that label's visibility to Model/PumpRunning."
"Looks right. Launch the emulator and validate it."
Your LLM authors the change directly into your open Studio project, runs the emulator, and looks at the rendered runtime to confirm it worked. It is a development and testing companion: shipping to hardware stays in Studio's own Deploy dialog, in your hands. Everything besides the LLM calls runs locally on your machine. No cloud service, no API key; your LLM of choice provides the intelligence.
Install (10 minutes)
Requirements: Windows 11, FactoryTalk Optix Studio 1.7.x, and an MCP client
like Claude Cowork. Also: Google Chrome (the CDP verify loop; skip with
setup.ps1 -NoCdp) and — for the Claude Desktop Microsoft Store build
connector path — Node.js (winget install OpenJS.NodeJS.LTS; the config
uses npx mcp-remote).
Run setup.ps1 from a regular PowerShell window — not a shell hosted
inside a packaged app like the Store build of Claude Desktop, whose
%LOCALAPPDATA% writes are virtualized (setup now detects this and refuses).
If you downloaded a ZIP instead of cloning, run
Get-ChildItem -Recurse | Unblock-File first.
git clone https://github.com/asqi-carter/ftx-mcp.git
cd ftx-mcp
.\bootstrap\setup.ps1 # install + start the service
.\bootstrap\services.ps1 start # start the mcp
.\bootstrap\services.ps1 status # verify health
http://127.0.0.1:8765/ui # health dashboard
Start the Studio Bridge (5 minutes)
- One-time bridge setup (per project): in the Studio project tree,
right-click NetLogic → add a new DesignTime NetLogic named
StudioMCPBridge, double-click it to open the C# editor, and paste instudio-bridge/StudioMCPBridge.cs(make sure to rebuild in your code editor or save in Studio to trigger a rebuild) - Setup the Project once per Studio session: right-click StudioMCPBridge → SetupProject → This just adds a webui for validation access at localhost:8081
- Start the bridge once per Studio session: right-click StudioMCPBridge → StartBridge → accept Studio's one-time security prompt.
- Verify bridge health: Studio Output will show
listening on http://127.0.0.1:8768(the bridge). The service dashboard at http://127.0.0.1:8765/ui shows bridge status too.
Cowork (5 minutes)
Requirements: MCP server and bridge running. Claude desktop app downloaded.
cd ftx-mcp # install + start the service
.\bootstrap\setup-mcp-client.ps1 -WriteConfig # adds as a connector to desktop app
Restart Claude Desktop (You might have to end task in task manager to fully restart), then ask Claude to "run optix_doctor" — it reports anything missing, with a plain-English fix for each item. In settings > connectors you can adjust the permissions for each of the tools
Claude Code (5 minutes)
Requirements: MCP server healthy and claude accessible in cli
claude mcp add --transport http ftx-mcp http://127.0.0.1:8766/mcp
Then in Claude Code, run /mcp and confirm ftx-mcp shows as connected.
Visual Studio Code (5 minutes)
Create or open .vscode/mcp.json and add:
{
"servers": {
"ftx-mcp": {
"type": "http",
"url": "http://127.0.0.1:8766/mcp"
}
}
}
Your first change
- Ask for a change, e.g. "Using the ftx mcp, Add a Start and stop button that toggles Model/MotorRun on MainWindow, and verify it works with a label with the text of 'MOTOR RUNNING' that has visibility tied to MotorRun."
- Watch it work: author → emulator preview → screenshot → and when it looks right, you deploy it to your hardware from Studio as usual.
What it's capable of
- Author widgets, properties, bindings, computed expressions, events, translations, and multi-screen navigation — live in the open Studio project.
- Run Studio's built-in emulator via F5 key and read the runtime log.
- Verify by looking at the webui: screenshot, click buttons and tabs, type into fields.
- Hand back to you to ship when the preview looks right, you deploy from Studio as usual. This distribution only runs the emulator.
The full tool list (48 tools, plus the same surface over plain HTTP for
scripts and CI) is in docs/tool-reference.md.
Bundled authoring playbooks (navigation, bound controls, styles,
expressions) ship with the server itself — Claude discovers them via
optix_list_skills / optix_get_skill, so every connected client gets
them with zero setup. (In Claude Code they also load natively as
skills.)
Security & safety posture
- Local only. The service binds
127.0.0.1and talks to nothing off the machine. Optional bearer-token auth, enforced before any LAN bind. - Read-only by default. Every tool carries MCP
readOnlyHint/destructiveHintannotations (contract-pinned by tests) so your MCP host can auto-approve reads and gate writes. - Write gates, not hope. Undeclared properties, array writes, duplicate names, and unsafe re-parents are refused with typed errors; composite operations roll back on failure. File-level edits are refused while Studio has the project open.
- Audited. Every model mutation appends a JSON line to a local audit
trail (
%LOCALAPPDATA%\ftx-mcp\logs\audit.jsonl) what, when, outcome. - Shipping stays in your hands. Previewing never touches your runtime; deploying to hardware happens from Studio, full stop. This distribution does design time edits and testing via the emulator.
The full posture including the prompt-injection surface analysis is in SECURITY.md.
Documentation
| Runbook | First session, step by step |
| Tool reference | Every MCP tool + the HTTP API |
| Architecture | How the pieces fit together |
| Troubleshooting | Symptom-indexed fixes |
| Security | Auth, ports, what talks to what |
Compatibility
Tested with FactoryTalk Optix Studio 1.7.x on Windows 11, Python 3.12. Optix CLI behavior is not contract-stable across major versions — pin your Studio version in production.
License
MIT · © 2026 ASQI · Not affiliated with or endorsed by Rockwell Automation. FactoryTalk Optix is a trademark of Rockwell Automation, Inc.; this project orchestrates locally installed Optix binaries without redistributing them. See NOTICE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。