File-based MCP surface for FrameworX. Author solutions as JSON workspace folders with no running Designer.
AI Integration → ConsoleMCP Reference
|
New in 10.1.5. Workspace architecture v2 renames the solution tools to |
ConsoleMCP is one of two MCP servers Tatsoft ships for Claude Code. It operates on JSON workspace folders under Public Documents\FrameworX\Exchange\<Name>-json\. Each folder holds the same tables that live inside a .dbsln, one table per file, in the ExportFormat 1.2 envelope. Use ConsoleMCP for batch-build, audit, migration, and specification-driven workflows where a live Designer is not required.
See Claude Code MCP Setup for install steps. Use MCP SDK Reference for the list of MCP server executables and their transports.
Both servers expose parallel operations with deliberately distinct tool names so the mode is always obvious in a transcript.
| DesignerMCP (live IDE) | ConsoleMCP (file-based) | Target |
|---|---|---|
list_solutions | list_workspaces | .dbsln vs. workspace folder |
open_solution | open_workspace | Activate the target for the session. |
create_solution | create_workspace | Create a new target from the default template. |
get_solution_info | get_workspace_info | Return environment context for the active target. |
Tools with no mode-specific vocabulary keep the same name in both servers: write_objects, get_objects, delete_objects, rename_objects, browse_object_model, get_table_schema, list_elements, list_dynamics, list_protocols, search_docs, get_solution_export_files, search_uns, import_graph_model, export_graph_model, generate_uns_visual.
A workspace folder holds one JSON file per table, using the ExportFormat 1.2 envelope. ConsoleMCP creates the folder under Public Documents\FrameworX\Exchange\<Name>-json\ and keeps a session log in mcp_session_log.json alongside the tables.
<Name>-json/
UnsUserTypes.json
UnsTags.json
UnsAssetTree.json
UnsEnumerations.json
DisplaysList.json
DisplaysSymbols.json
AlarmsItems.json
DevicesChannels.json
...
Exchange/
Graphs/
<Name>_UNS_Graph.rj
Visualizations/
<Name>_UNS_Visual.md
mcp_session_log.json
|
Overlay semantics apply on import. When you run import_graph_model, the overlay is written as UnsUserTypes-graph-<ts>.json next to the canonical file. Canonical files are never overwritten until you explicitly build the .dbsln.
| Category | Tools |
|---|---|
| Workspace management | list_workspaces, open_workspace, create_workspace, get_workspace_info |
| Build and deploy | create_solution_file, update_solution_file |
| Object operations | write_objects, get_objects, delete_objects, rename_objects, browse_object_model |
| Schema queries | get_table_schema, list_elements, list_dynamics, list_protocols |
| Semantic and ontology | search_uns, import_graph_model, export_graph_model, generate_uns_visual |
| Documentation | search_docs, get_solution_export_files |
Note. ConsoleMCP does NOT expose promote_retentive_attributes. That tool mutates runtime state via the live Designer pipe and is intentionally excluded from the file-based surface.
Turns a workspace into a new .dbsln. ConsoleMCP spawns SolutionCreator.exe headlessly and waits for completion.
create_solution_file(
solution_name="Foo",
workspace="C:\\Users\\Public\\Documents\\FrameworX\\Exchange\\Foo-json",
template="HeaderLayout",
platform="Windows",
output_folder=null
)
|
| Parameter | Required | Default | Notes |
|---|---|---|---|
| solution_name | Yes | – | Name of the .dbsln to produce. |
| workspace | No | Active workspace | Absolute path to the -json/ folder. Falls back to the workspace set by open_workspace or create_workspace. |
| template | No | HeaderLayout | Template used when materializing the new .dbsln. |
| platform | No | Windows | Platform flag passed to SolutionCreator. |
| output_folder | No | Standard Solutions folder | Absolute path. Use when the .dbsln must land outside the default Solutions folder. |
Response includes the produced .dbsln path, exit code, per-file import attribution (created, modified, skipped, errors), and the headless log.
Refreshes an existing .dbsln in place from a workspace. Auto-backs up the target .dbsln with keep-last-3 retention, then applies the workspace JSON files with always-upsert semantics (existing objects with the same name are overwritten by the workspace version).
update_solution_file(
solution="C:\\Solutions\\Foo.dbsln",
workspace="C:\\Users\\Public\\Documents\\FrameworX\\Exchange\\Foo-json"
)
|
The solution argument is an absolute path ending in .dbsln and must point to an existing file. Backup filename pattern: <Name>.dbsln__backup__<timestamp>.backup. Response mirrors create_solution_file and includes the backup path.
DesignerMCP's open_solution and create_solution accept an optional from_workspace parameter. When supplied, Designer opens or creates the target .dbsln, auto-backs up (3-file retention), and imports every *.json file from the workspace folder using the same upsert semantics as update_solution_file. Use this to apply a workspace authored in ConsoleMCP to an existing or fresh solution from inside a live Designer session.
open_solution(name, from_workspace="C:\\Path\\Foo-json")create_solution(name, template="HeaderLayout", from_workspace="C:\\Path\\Foo-json")A missing folder, an empty folder, or a pipe exception becomes a warning. The open or create still succeeds. The response carries a workspaceImport section with per-file results.
| Code | Where | Meaning |
|---|---|---|
NO_ACTIVE_WORKSPACE | Object and schema tools | Call open_workspace or create_workspace first. |
WORKSPACE_NOT_FOUND | open_workspace, update_solution_file | Folder does not exist at the given absolute path. |
SOLUTION_NOT_FOUND | update_solution_file | Target .dbsln does not exist at the given absolute path. |
SOLUTION_CREATOR_NOT_FOUND | create_solution_file, update_solution_file | SolutionCreator.exe is not in the expected location next to ConsoleMCP.dll. |
INVALID_SCOPE | search_uns | Scope folders is runtime-only and not supported on the file-based surface. |
CONTROL_SCHEMAS_NOT_FOUND | Schema tools | ControlSchemas.json missing from the MCP folder alongside ConsoleMCP.dll. |