Skip to main content
Glama
Lway-ai

visio-mcp

by Lway-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VISIO_MCP_MOCKNoforce the headless mock engine0
VISIO_MCP_ATTACHNoattach to a running Visio instance; 0 = always launch a dedicated instance (more deterministic)1
VISIO_MCP_VISIBLENoshow the Visio window0
VISIO_MCP_DOT_MASTERNojunction-dot master namePoint
VISIO_MCP_KEEP_ALIVENokeep the launched Visio instance after exit0
VISIO_MCP_LABEL_FONTNodefault label fontArial
VISIO_MCP_LABEL_SIZENodefault label size10pt
VISIO_MCP_DOT_STENCILNojunction-dot stencil (e.g. RFIC_lib.vss)
VISIO_MCP_WIRE_WEIGHTNodefault wire weight1.5 pt
VISIO_MCP_STENCIL_DIRSNo;-separated stencil search dirs for list_stencils

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
health_checkA

Check server and Visio connection health.

new_documentA

Create a new blank Visio document; page is scaled 1:1 so coordinates are inches. Returns the document name.

open_documentA

Open an existing Visio document (.vsdx).

save_documentA

Save the current document (optionally to a new path).

close_documentC

Close the current document.

list_pagesA

List pages in the current document.

add_pageC

Add a new page and select it.

select_pageC

Select a page by name.

list_stencilsA

List Visio stencil files (.vss/.vssx/.vssm) found in the configured stencil directories (VISIO_MCP_STENCIL_DIRS) or in directory.

load_stencilA

Open a stencil file. If the file is locked by another Visio session, a temporary copy is opened instead. Returns a stencil key for drop_master.

list_mastersB

List all masters (symbols) in a stencil file, with shape counts.

drop_masterB

Drop a stencil master at (x, y) in inches. Returns shape_id.

draw_wireA

Draw an orthogonal polyline through a list of [x, y] points (inches). Each consecutive pair becomes a straight segment. Returns shape ids.

add_labelB

Add a centered text label (borderless, transparent) at (x, y).

add_junctionA

Place a solid junction dot at (x, y) for >=3-wire nodes.

set_line_weightA

Set LineWeight (e.g. '1.5 pt') on a shape and its sub-shapes.

delete_shapeB

Delete a shape by id.

find_shapeB

Find the first shape whose text contains text.

list_shapesA

List all shapes on the current page: id, master, text, position.

export_pageA

Export the current page to a file. fmt: png, jpg, gif, bmp, tif, svg, emf, pdf, vsdx. Returns the written path.

measured_pinsA

List stencil masters with measured pin geometry available.

pin_pointA

Absolute page coordinate (inches) of a symbol pin, based on measured geometry. Example: pin_point('NMOS1', 4.3, 6.0, 'gate') -> [4.049, 6.0]. Use the result as the endpoint of draw_wire so wires land on pins.

symbol_boundsA

Absolute ink bounding box of a symbol body (inches) for clearance checks — keep wires out of it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lway-ai/visio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server