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:
- Create a "harness concept" to specify rough connectivity between components
- Create a "harness" to specify detailed connectivity between components
- 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
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.1.tar.gz
(19.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wireviz_mcp-1.0.1.tar.gz.
File metadata
- Download URL: wireviz_mcp-1.0.1.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbaed44fe5824a1b12747a34b2478fdfc9745efbf10b36a29a2d7c526e5f3bee
|
|
| MD5 |
de28da60d19326d7dcb37191323a8a60
|
|
| BLAKE2b-256 |
d13bdfd0009575f963d44de6aa8707618b8b82db86a96cefbd522ac4ef07208c
|
File details
Details for the file wireviz_mcp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: wireviz_mcp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a06d990673d91a08107550458b78dee067bfbd84bc6a37b23261f68b538a2c1
|
|
| MD5 |
12180ab1e07b7849acc81bb078821bae
|
|
| BLAKE2b-256 |
806f8af75d48375d4c7940ac55128480257524041ed0c77054ae09f3bfeea6bc
|