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.

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.4.tar.gz (187.0 kB 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.4-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pm5190_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 187.0 kB
  • 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.4.tar.gz
Algorithm Hash digest
SHA256 74480e0abdd194c26bd61dbeb6f710b4e972af4b798f4314d59bad5514db9d34
MD5 ed7ad1e9d72769c55ef06165c0028fef
BLAKE2b-256 753c321926e4ea96578b89e138a79ab000494a064557abd2c8ef01d0004ccae5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pm5190_mcp-0.1.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: pm5190_mcp-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d613b936980ddfb26d5ec32dda40f8cd04667124be383a1063facdb6b1b923
MD5 617182f0d998e394c1d2803c226b2c9b
BLAKE2b-256 ecb28c8e6a67ba4f01d95acaa791a4a1c3a1537048cadebdeda1c5aefd689228

See more details on using hashes here.

Provenance

The following attestation bundles were made for pm5190_mcp-0.1.4-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