Skip to main content

WireViz MCP Server

A Model Context Protocol (MCP) server that integrates WireViz. This allows AI assistants to design and visualize physical wiring harnesses.

Features

The server exposes the following tools:

  • concept_to_mermaid: Translates a simplified design (ConceptGraph) into a Mermaid diagram to help plan the harness design.
  • mermaid_to_svg: Renders Mermaid diagram as SVG.
  • harness_to_wireviz: Translates a complete harness design (Harness) into WireViz YAML.
  • wireviz_to_bom: Generates a Bill of Materials (BOM) in TSV format from WireViz YAML.
  • wireviz_to_png: Renders WireViz YAML as PNG.

Installation

Option 1: pip

Create a virtual environment:

python -m venv .venv
.venv/bin/pip install git+https://github.com/chrisflesher/wireviz-mcp.git

Edit mcp_config.json to add the server:

{
  "mcpServers": {
    "wireviz-mcp": {
      "command": ".venv/bin/wireviz-mcp-server",
      "args": []
    }
  }
}

Option 2: uvx

Edit mcp_config.json to add the server:

{
  "mcpServers": {
    "wireviz-mcp": {
      "command": "uvx",
      "args": [
        "--from", "git+https://github.com/chrisflesher/wireviz-mcp.git",
        "wireviz-mcp-server"
      ]
    }
  }
}

Contributing

To run unit tests:

tox

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wireviz_mcp-1.0.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wireviz_mcp-1.0.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file wireviz_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: wireviz_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for wireviz_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9ff46b5dfe79d0dff0d3d9a862a2ad00d5b4c615b50f972255215a475b56eff2
MD5 5a333fb74b5007e032c42fb09fdb2158
BLAKE2b-256 2b9fac357ef12b40fbb9648207905722daaecafbe6278fe7920eaccc2b25b629

See more details on using hashes here.

File details

Details for the file wireviz_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: wireviz_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for wireviz_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f345711499408720c5bb7983e83068dfbcb9cf241b0ae48523236261c8bb7b8e
MD5 0b0396aa8f7b0189e6f4e3430d8c8609
BLAKE2b-256 2c428d6b1965d7b4bfe207e333d12d935881b1e289b79b0daa522891b0ad1e11

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.1

2 files

This release

1.0.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page