5 Commits

Author SHA1 Message Date
ff12b9450f Fix MCP server startup: remove pre-run library init
Native library calls during startup interfered with FastMCP's
stdio transport initialization. Library is now loaded lazily on
first tool call instead.
2026-01-30 11:05:15 -07:00
a20689c463 Fix MCP server: print to stderr, not stdout
Startup banner was printing to stdout which corrupts the
JSON-RPC stdio transport used by MCP clients.
2026-01-30 11:03:48 -07:00
fc12d6a2d7 Add cp210x-mcp FastMCP server for device customization
MCP Tools:
- list_devices: List connected CP210x devices
- get_device_info: Full device details (part number, VID/PID, strings)
- set_product_string: Change USB device name (max 126 chars)
- set_manufacturer_string: Change manufacturer (max 45 chars)
- set_serial_number: Change serial number (max 63 chars)
- set_max_power: Set USB power draw (0-500mA)
- set_self_powered: Toggle self/bus powered
- reset_device: USB re-enumeration
- lock_device: PERMANENTLY lock configuration

Requires libcp210xmanufacturing.so (see aur/cp210xmanufacturing)

Usage:
  claude mcp add cp210x -- uvx cp210x-mcp
2026-01-30 10:37:08 -07:00
7c04e0cb6a Add AUR package for cp210xmanufacturing library
PKGBUILD:
- Builds 64-bit shared/static libraries from Silicon Labs source
- Installs headers to /usr/include/cp210x/
- Includes udev rules for non-root device access

To build: cd aur/cp210xmanufacturing && makepkg -si
2026-01-30 10:33:28 -07:00
a7f62e5d7e Add Silicon Labs CP210x manufacturing library source
- Library source from AN721SW (cp210xmanufacturing_1.0.tar.gz)
- Manufacturing tool source (cp210xsmt)
- Builds 64-bit shared library with: make LIB_ARCH=64
- Datasheets and app notes in docs/
2026-01-30 10:31:39 -07:00