Skip to main content

WireViz MCP Server

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

Typical workflow:

  1. Create a "harness concept" to specify rough connectivity between components
  2. Create a "harness" to specify detailed connectivity between components
  3. Generate output files (WireViz YAML, BOM, PNG)

Examples

Refer to the examples/ directory.

Tools

  • concept_to_mermaid: Translates a rough design (HarnessConcept) into a Mermaid diagram to help plan the detailed 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

Metadata

Release files for wireviz-mcp 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wireviz-mcp 1.0.2
File Size Uploaded
wireviz_mcp-1.0.2.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wireviz-mcp 1.0.2
File Interpreter ABI Platform
wireviz_mcp-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 38.7 kB

Release files / wireviz_mcp-1.0.2.tar.gz

Download URL wireviz_mcp-1.0.2.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a35e3bc85573ced5e5a82fab7762cf0d31c7f3f28441c21015d19771db9a3b5a
BLAKE2b-256 checksum
How to use checksums
25f7a2e440f468149ed0b31336127df6fc9af732421ac8cde8227bd5810fc640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / wireviz_mcp-1.0.2-py3-none-any.whl

Download URL wireviz_mcp-1.0.2-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb17670b08643c3fbc149ec82b750fae794c0fe2d964061b87bc8d0f263ee4d1
BLAKE2b-256 checksum
How to use checksums
9c97560e4503e5b2cf459a2a44f87d18c7933cb062ba8806080a80b23e609f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release 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