accform-layout-mcp
Click on "Deploy 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., "@accform-layout-mcp render the form F_Contract.bas"
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.
accform-layout-mcp
Local MCP server and CLI for Access layout files (*.bas, SaveAsText), rendered
to SVG without Microsoft Access. This lets you visually verify form/report
layout changes directly.
Features
MCP tools:
render_form,render_form_svg,list_formsCLI:
accform-clifor single-file and batch renderingDefault output under
rendered/YYYY-MM-DD/Optional PNG export via
cairosvg
Related MCP server: Generative-UI-MCP
Installation
Install from repository
python -m venv .venv
.venv\Scripts\activate
pip install .Optional PNG support:
pip install ".[png]"Start the MCP server
After installation:
accform-layout-mcpAlternative (directly from repository):
python server.pyUse the CLI
Render a single file:
accform-cli path/to/F_Contract.basRender multiple files in one run:
accform-cli forms/F_Contract.bas forms/F_Customer.basUse a custom output directory:
accform-cli forms/F_Contract.bas -o out/svgGenerate optional PNG output:
accform-cli forms/F_Contract.bas --pngShow all options:
accform-cli --helpMCP in VS Code Copilot (Agent Mode)
Example for .vscode/mcp.json:
{
"servers": {
"accform-layout": {
"type": "stdio",
"command": "python",
"args": ["${workspaceFolder}/server.py"],
"env": {
"ACCFORM_SRC_ROOT": "${workspaceFolder}"
}
}
}
}ACCFORM_SRC_ROOT limits file discovery to your project folder.
Tool behavior
render_form(form, scale_mode="Universal")renders SVG to
rendered/YYYY-MM-DD/...returns the path to the generated file
render_form_svg(form, scale_mode="Universal")returns SVG markup as text
also writes the same SVG file to disk
list_forms()lists all detected layout
*.basfiles underACCFORM_SRC_ROOT
What rendering includes
Static rendering includes declarative designer state:
positions, sizes, captions
absolute colors
visible/hidden controls (hidden controls are dimmed)
It does not include runtime VBA behavior, for example:
Form_Loadlogicdynamic
RecordSourceconditional formatting
data-driven subforms
Fidelity
Faithfully ported: parse tree, twips-to-pixel conversion, section stacking, painter order, and renderers for Label/TextBox/ComboBox/ListBox/CommandButton/Rectangle/Line, including OLE color conversion.
Reconstructed: CheckBox/OptionButton, Image, Tab, Subform, OptionGroup, placeholder rendering, and theme color references.
Development
Install dependencies from requirements.txt:
pip install -r requirements.txtLicense
MIT. See LICENSE.
Available Tools
3 toolslist_formsA
List the Access form/report layout files (*.bas designer files) available under the configured source root, as paths relative to it.
Inputs: no named parameters. Returns: result
render_formA
Render an Access form/report layout to SVG and store it under a dated artifact folder so the result is inspectable without a native Cairo stack.
Pass the form name (e.g. 'A_Lot_Liste') or the path to its *.bas layout file. The render reflects only the declarative designer layout on disk: positions, sizes, captions, absolute colours, hidden controls (dimmed). It does NOT reflect runtime VBA behaviour (Form_Load hiding controls, dynamic RecordSource, conditional formatting).
Inputs: form (required), scale_mode. Returns: result
render_form_svgA
Render an Access form/report layout to SVG markup (text). Useful when you want to inspect exact control coordinates, sizes and captions rather than just look at a picture. Same layout caveats as render_form.
Inputs: form (required), scale_mode. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: listing available forms, rendering to a stored SVG file, and rendering to SVG text output. There is no overlap or ambiguity.
All tools follow an underscore_separated verb_noun pattern. 'render_form_svg' is a slight deviation as it adds a suffix, but it is still clear and consistent with the base verb.
With only 3 tools, the server is well-scoped for its purpose of inspecting Access form layouts. Each tool is justified and there is no bloat.
The server covers the core workflow: list forms and render them in two formats. It lacks tools for modifying or uploading forms, but for an inspection-focused server, this is a minor gap.
Maintenance
Related MCP Connectors
Headless CAD engine & MCP server for 2D/3D drafting, solids, DXF/SVG export, and automation.
A remote MCP server to convert HTML documents (URL or raw source) to PDF or screenshots
Thermal label MCP server: render, validate, debug and convert ZPL, EPL, TSPL and CPCL labels.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that turns AI into an SVG artist. One rendering engine with a rich JSON schema, AI controls all design parameters. Renders animated SVGs with CSS @keyframes and SMIL animations. Supports 16+ element types, parametric curves, pattern groups, gradient/filter/clip/mask definitions, and PNG preview. No external dependencies, runs locally via npx.3127 npm31MIT
- AlicenseAqualityCmaintenanceEnables AI models to generate interactive visuals including charts, diagrams, UI mockups, and SVG graphics from plain text prompts. This Windows-based MCP server serves as an intermediary to bridge AI tools with visual output capabilities.178 npmMIT
- AlicenseCqualityCmaintenanceLocal-first MCP server for Power BI Desktop automation. Automate semantic model changes, DAX, Power Query, Excel, and report layout from MCP-capable AI clients.1002MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for rendering Mermaid diagrams to SVG and converting Markdown with callout blocks into styled PDF reports.MIT