verify-mcp-setup
Skill1 starsChanged 26 days agoApache-2.0View on GitHub
Probe, diagnose, and fix the FrameworX MCP connection (Designer / Console / Runtime bridges) before a session depends on it. Fires on explicit user request ("verify the MCP setup", "is FrameworX connected", "the MCP tools aren't working", "check the bridges", "list solutions fails", "set up the FrameworX MCP", "can you see my Designer") AND as a pre-flight when the FIRST FrameworX tool call of a session fails with a server-not-available / connection error. Probes each bridge the session needs → identifies the failure mode from the inventory → surfaces the specific remediation → re-probes → confirms with a real bootstrap call (list_solutions / list_workspaces / runtime_connect).
- Reads credentials
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- commission-the-pointsSkill
- display-authoring-loopSkill
- first-device-channelSkill
- ground-firstSkill
- manage-context-on-large-solutionsSkill
- new-project-bootstrapSkill
- premise-checkSkill
- project-handover-docsSkill
- review-the-ai-buildSkill
- run-testsSkill
- svg-to-fx-displaySkill
- uns-from-io-registerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Every capability in this workspace rides on three MCP bridges into the installed FrameworX product.
- Very specific: line 22
When they aren't up, every tool call fails.
- Distinctive: line 36
Only probe the arms the session needs.
- Very specific: line 42
Call the cheapest bootstrap tool on each needed arm: list_solutions(detail='count') (Designer), list_workspaces (Console), runtime_connect …
- Distinctive: line 47
If a first call hangs or is denied, tell the user to check for a permission dialog before diagnosing.
- Very specific: line 76
DESIGNER_NOT_RESPONDING/ pipe error mid-session: Don't re-run setup diagnosis for this one: reconnect via open_solution with the current … - Distinctive: line 99
Telling the user to reinstall: Every mode above has a lighter fix.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify MCP Setup: the connection pre-flight
Why this exists
Every capability in this workspace rides on three MCP bridges into the installed FrameworX product.
When they aren't up, every tool call fails. And a brand-new user can't tell a missing bridge from a
firewall block from a wrong host in .mcp.json. This skill mechanizes probe → diagnose → fix → re-probe
so the session starts from a verified connection instead of a mystery failure. The full setup reference
(same-machine, remote, VM, and the security model) is KnowledgeBase/Method/mcp-setup.md: this skill
is the interactive front door to it.
The three bridges
| Bridge | Port | Needs | Bootstrap probe |
| FrameworX AI Designer | 10150 | the FrameworX install (Designer launches on demand) | list_solutions |
| FrameworX AI Console | 10151 | the FrameworX install (no Designer) | list_workspaces |
| FrameworX AI Runtime | 10120 | a RUNNING TServer for the target solution | runtime_connect |
Only probe the arms the session needs. A Console-only authoring session doesn't need the Runtime arm up.
Process
1. Probe
Call the cheapest bootstrap tool on each needed arm: list_solutions(detail='count') (Designer),
list_workspaces (Console), runtime_connect (Runtime). A success that returns the platform context
package (solutionContext / Context Package) is a PASS. The session is bootstrapped as a side effect.
Note: the very first tool call of a session may trigger a host consent prompt that is invisible to you. If a first call hangs or is denied, tell the user to check for a permission dialog before diagnosing.
2. Diagnose: failure-mode inventory
Match the error to the mode; apply the one remediation; re-probe.
- Connection refused / server not available (same machine). The bridge isn't running. Start it from
the FrameworX install:
Documents\FrameworX\Utilities\StartDesignerMCPHttp.bat(10150),StartConsoleMCPHttp.bat(10151),StartRuntimeMCPHttp.bat(10120). Each keeps a console window open: it must stay open. Start the bridge, then retry; if Claude Code was started first, the retry still works (the client reconnects per call). - Bridge window reports "address already in use" when starting. A host process from an earlier session
still holds the port → run the
kill-zombiesskill (companion repo), then start the bridge again. - Timeout to a remote host. Firewall or wrong IP. On the FrameworX machine open inbound
10150/10151/10120 (only the ones used); confirm the host IP in
.mcp.jsonmatches. For a same-host VM (Parallels/VMware), keep127.0.0.1and port-forward instead of using the LAN IP. On FrameworX 10.1.6 or later, also confirm each bridge has anX_API_KEYset and thatFX_MCP_API_KEYholds the same value on the Claude Code machine: a bridge with no key refuses every connection that is not from its own machine, VM port forwarding included (mcp-setup.md§ Separate machine). .mcp.jsonstill carries theYOUR-WINDOWS-IPplaceholder (or points at localhost when FrameworX is remote). Copy.mcp.remote.example.jsonover.mcp.json, set the real host and, on 10.1.6 or later, theFX_MCP_API_KEYenvironment variable, then restart Claude Code (MCP config loads at startup).- Designer/Console probes pass but the Runtime probe fails. The runtime isn't running, or the bridge's
RuntimeMCPHttp.json(next to its .bat) points at the wrong TServer host/port/credentials. Start the solution's runtime first (Development profile: TServer port auto-increments from 3201: never hardcode; use the connect response).runtime_connectwith explicit arguments rebinds without a bridge restart. - Everything fails and the install predates 10.1.5. Pre-10.1.5 installs do not ship the MCP servers: there is no degradation path. The fix is a product update, not configuration.
DESIGNER_NOT_RESPONDING/ pipe error mid-session. Don't re-run setup diagnosis for this one: reconnect viaopen_solutionwith the current solution name and retry. A Designer dialog waiting on input blocks the pipe the same way, so ask the user to check the Designer window.- Two clients wired to one backend (Claude Desktop
.mcpbextensions AND this workspace's.mcp.json). Each client starts its own host process against the same backend, so an unclean exit leaves duplicates behind. Pick one client per backend (mcp-setup.md§ One client per backend). - All three servers fail to even spawn,
npx/ Node not found. The shipped.mcp.jsonlaunches each server vianpx -y mcp-remote, so the machine running Claude Code needs Node.js (LTS) withnpxon PATH. The symptom is a spawn/ENOENT error on every FrameworX server at Claude Code startup, before any port is probed. Install Node.js, restart Claude Code.
3. Confirm: the smoke test IS the bootstrap
Re-run the step-1 probes until the needed arms PASS. State the result concretely: "Designer bridge up.
list_solutions returned N solutions and the platform context package." Do not declare setup verified
from a ping or a port check alone: only a successful tool round-trip counts. Never build a mock or
proceed "offline" as a workaround; connect for real first.
Anti-patterns
- Diagnosing before probing. One cheap call tells you which arm is broken; start there.
- Widening timeouts or retry loops on a refused connection. Refused = not running; fix the cause.
- Probing all three arms when the session needs one. Cost discipline: probe what the work requires.
- Telling the user to reinstall. Every mode above has a lighter fix; reinstall is never step one.
- Skipping the consent-prompt warning on the first call of a session.
Composition
- kill-zombies: mode 2 (held port) and any
.dbslnlock found on the way route there. Ships in the companion repo. - The browser side: Claude Code's built-in browser support handles the browser connection; the
web-client test recipe is
KnowledgeBase/Patterns/Test-Web-Displays-in-Chrome.md. - new-project-bootstrap / ground-first: both assume a bootstrapped session; this skill is what runs when that assumption fails.
KnowledgeBase/Method/mcp-setup.md, the full reference this skill fronts, including the auth model (plain HTTP, with an API key for network clients from 10.1.6; the security boundary is the network; localhost or trusted LAN/VPN only).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

