MCP server for the Wisent Wire hardware testing platform
Project description
wisent-wire-mcp
MCP (Model Context Protocol) server for the Wisent Wire hardware testing platform. Lets AI assistants interact with WisentWire devices — power control, firmware flashing, and UART communication.
Installation
Requires Python 3.10+. Install with pipx —
it puts the MCP server in an isolated environment and adds the
wisentwire-mcp binary to your PATH. No absolute paths in your
config, no per-machine venv bookkeeping.
1. Install pipx (one-time)
# macOS
brew install pipx
pipx ensurepath
# Linux / WSL
python3 -m pip install --user pipx
python3 -m pipx ensurepath
Open a new terminal so the updated PATH is picked up.
2. Install the MCP server
pipx install wisent-wire-mcp
Verify:
which wisentwire-mcp # ~/.local/bin/wisentwire-mcp (or similar)
3. Upgrade / uninstall
pipx upgrade wisent-wire-mcp
pipx uninstall wisent-wire-mcp
Configuration
.mcp.json location
Claude Code reads MCP servers from .mcp.json. Two scopes:
| Scope | Path | When to use |
|---|---|---|
| Project | <repo-root>/.mcp.json |
Shared with the project (checked into VCS or per-repo) |
| User | ~/.claude.json under the mcpServers key |
Available in every Claude Code session for this user |
Claude Desktop uses a separate file:
| Platform | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
Example .mcp.json
Because pipx put wisentwire-mcp on your PATH, the config is
portable across machines:
{
"mcpServers": {
"wisent-wire": {
"command": "wisentwire-mcp",
"env": {
"WISENT_WIRE_URL": "https://int.wisent-wire.com",
"WISENT_WIRE_EMAIL": "user@company.com",
"WISENT_WIRE_PASSWORD": "..."
}
}
}
}
After editing .mcp.json, restart Claude Code (or reload the window)
for the server to be picked up.
Environment variables
| Variable | Required | Description |
|---|---|---|
WISENT_WIRE_URL |
No | API base URL (default: https://int.wisent-wire.com) |
WISENT_WIRE_EMAIL |
Yes* | Account email |
WISENT_WIRE_PASSWORD |
Yes* | Account password |
WISENT_WIRE_TOKEN |
Yes* | API token (alternative to email/password) |
WISENT_WIRE_LOCAL |
No | Set to 1 for local development mode |
* Provide either TOKEN or EMAIL + PASSWORD.
Available tools
| Tool | Description |
|---|---|
list_wisentwires |
List all WisentWire devices in your organization |
get_ww_status |
Get detailed device status including power state and lab tools |
power_on |
Turn on power supply (configurable voltage and current limit) |
power_off |
Turn off power supply |
get_telemetry |
Get recent voltage and current readings |
flash_firmware |
Flash firmware to a device and wait for completion |
list_firmware |
List available firmware binaries |
send_uart_command |
Send a text command over UART and return the response |
send_uart_hex |
Send raw hex bytes over UART |
get_uart_log |
Get recent UART TX/RX message history |
Development
pip install -e ".[dev]"
pytest tests/ -v
ruff check src/ tests/
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 wisent_wire_mcp-0.3.0.tar.gz.
File metadata
- Download URL: wisent_wire_mcp-0.3.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
273aea3a7164d08c077fadeaf99c8905831bae6a8e3a7d566de230161b32b2e0
|
|
| MD5 |
317843f15b84507a8e1fa984000f4985
|
|
| BLAKE2b-256 |
b83831c2f5c95de480242472b32a55762cecc71f724b75827b3ceeff6087d6ed
|
File details
Details for the file wisent_wire_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: wisent_wire_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a74d6714505361bc3fe8f4216898bef52bf695c1b2feae3c7be4c52b39bb21e0
|
|
| MD5 |
084748c25a325eadcafee63bdc140406
|
|
| BLAKE2b-256 |
b47336fe024a084c7d21d0bba42eebda60984bee98910a8f4b98b90b85920ca6
|