Skip to main content

MCP server for controlling the Philips PM5190 LF synthesizer via AR488 serial-to-GPIB

Project description

pm5190-mcp

MCP server for controlling the Philips PM5190 LF synthesizer over GPIB.

Demo

Connects via any Prologix-compatible USB-to-GPIB adapter (e.g. AR488, Prologix GPIB-USB).

Requirements

  • Prologix-compatible USB-to-GPIB adapter
  • PM5190 GPIB address configured via DIP switches on the bottom of the unit

Usage

From PyPI (recommended)

uvx pm5190-mcp
PM5190_PORT=/dev/ttyUSB0 PM5190_ADDR=4 uvx pm5190-mcp

From source

PM5190_PORT=/dev/ttyUSB0 PM5190_ADDR=4 uv run pm5190-mcp

Claude Code configuration

Add to .mcp.json:

{
  "mcpServers": {
    "pm5190": {
      "type": "stdio",
      "command": "uvx",
      "args": ["pm5190-mcp"],
      "env": {
        "PM5190_PORT": "/dev/ttyUSB0",
        "PM5190_ADDR": "4"
      }
    }
  }
}

The GPIB address is set via DIP switches on the bottom of the unit:

Setting the GPIB address Image from the Philips PM5190 user manual.

Available tools

Tool Description
pm5190_connect Connect to the USB-to-GPIB adapter
pm5190_disconnect Disconnect
pm5190_status Connection status and firmware version
pm5190_configure Set frequency, amplitude, DC offset and waveform in one command
pm5190_set_frequency Set frequency only
pm5190_set_amplitude Set amplitude and DC offset
pm5190_set_waveform Set waveform type

Environment variables

Variable Default Description
PM5190_PORT Serial port (auto-connects on startup if set)
PM5190_BAUD 115200 Baud rate
PM5190_ADDR 4 GPIB address

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

pm5190_mcp-0.1.5.tar.gz (9.9 MB view details)

Uploaded Source

Built Distribution

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

pm5190_mcp-0.1.5-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pm5190_mcp-0.1.5.tar.gz.

File metadata

  • Download URL: pm5190_mcp-0.1.5.tar.gz
  • Upload date:
  • Size: 9.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pm5190_mcp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d261f9006c4fdac7ce76d750e5483da3e21b3f76cd8c33c724fb1a85e8c7d150
MD5 fcc09a2079a35f231cc1172a74a28674
BLAKE2b-256 b56e3657d23e1c4e775f937e1528db816c89cee746cc2d3363583c32d3f2abf5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pm5190_mcp-0.1.5.tar.gz:

Publisher: release.yml on lucasgerads/pm5190-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pm5190_mcp-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: pm5190_mcp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pm5190_mcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 28ddb3efddfeacd07c88bfa1b9543ad53af19449c5c9a23e7e8511f249c3b8ff
MD5 5e153ffd2df36e7d8b79adc8fd2f77c8
BLAKE2b-256 6333af355759c5886cda5d9c35d190638eceef41922c739888eb90b73f6045b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pm5190_mcp-0.1.5-py3-none-any.whl:

Publisher: release.yml on lucasgerads/pm5190-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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