Skip to main content

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 wisent-wire-mcp binary to your PATH.

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 wisent-wire-mcp         # ~/.local/bin/wisent-wire-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

{
  "mcpServers": {
    "wisent-wire": {
      "command": "wisent-wire-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


Download files

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

Source Distribution

wisent_wire_mcp-0.4.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

wisent_wire_mcp-0.4.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file wisent_wire_mcp-0.4.0.tar.gz.

File metadata

  • Download URL: wisent_wire_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for wisent_wire_mcp-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2e958e06e1a063a7ccb0ae562f5586a8feeabfd34a559455a620254777804d0d
MD5 d199807ba4ebdb0a8ea61f46cb6b98fd
BLAKE2b-256 ca49c73b095f9fe6c724033a01c0270098b15d94b5db901fe0b2cb9744e765ef

See more details on using hashes here.

File details

Details for the file wisent_wire_mcp-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wisent_wire_mcp-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55bad8275be413848f6551ebf5b6548b1bd850cb786d6103b86831cde1eac53b
MD5 05b51718dc17c1ca2901d86c38b717b5
BLAKE2b-256 a6f4975a220cc023722dd09ee8efb7dc7d2183b04b76655a8b6ec30267191bac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page