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
54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[project]
|
|
name = "cp210x-mcp"
|
|
version = "0.1.0"
|
|
description = "MCP server for CP210x USB-UART bridge customization"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = "MIT"
|
|
authors = [
|
|
{name = "Ryan Malloy", email = "ryan@supported.systems"}
|
|
]
|
|
keywords = ["mcp", "cp210x", "usb", "uart", "serial", "silicon-labs"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: System :: Hardware :: Hardware Drivers",
|
|
]
|
|
|
|
dependencies = [
|
|
"fastmcp>=2.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
"pytest",
|
|
]
|
|
|
|
[project.scripts]
|
|
cp210x-mcp = "cp210x_mcp:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/ryanmalloy/cp210x-mcp"
|
|
Repository = "https://github.com/ryanmalloy/cp210x-mcp"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/cp210x_mcp"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|
|
ignore = ["E501"]
|