npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@map-audio/pam-mcp-server

v1.21.0

Published

MCP server for controlling the PAM audio plugin from AI agents (Claude Desktop, Claude Code, Cursor, etc.)

Readme

@map-audio/pam-mcp-server

MCP server for the PAM audio plugin. Lets AI agents (Claude Desktop, Claude Code, Cursor, etc.) control a running PAM instance — load samples, set parameters, trigger MIDI, edit patterns, manage presets, run the randomizer, and more.

Requirements

  • macOS or Windows with Node.js 21+ (node --version)
  • PAM installed and running (standalone or in a DAW)
  • MCP Bridge enabled inside PAM: Settings → Experimental Mode → MCP Bridge (default port 9847)

When PAM starts with the bridge enabled it writes ~/.pam-mcp-bridge.json — the server discovers PAM through that file, so nothing else needs configuring.

Install

Install the bridge globally once, then register the bin name pam-mcp with your MCP client. This is more reliable than npx -y for stdio MCP launchers (Claude Code in particular).

npm install -g @map-audio/pam-mcp-server

This installs a pam-mcp executable on your PATH. Verify with:

which pam-mcp
pam-mcp --version

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "pam": {
      "command": "pam-mcp"
    }
  }
}

Fully quit Claude Desktop (Cmd+Q / right-click tray icon → Quit) and reopen. PAM's tools will appear in the MCP menu.

Claude Code

claude mcp add pam pam-mcp

or add the same mcpServers block to .mcp.json at your project root.

Cursor / other MCP clients

Use the same mcpServers block in the client's MCP config. Any stdio-compatible MCP client works.

npx-based install (alternative)

npx -y @map-audio/pam-mcp-server also works in Claude Desktop and some clients, but Claude Code's stdio launcher does not resolve the npm bin shim reliably and reports "Failed to connect" even when the package is published. Prefer the global-install + bare-bin form above for Claude Code:

{
  "mcpServers": {
    "pam": {
      "command": "npx",
      "args": ["-y", "@map-audio/pam-mcp-server"]
    }
  }
}

Troubleshooting

  • "Not connected to PAM plugin" — PAM isn't running, or MCP Bridge is off. Open PAM → Settings → Experimental Mode → enable MCP Bridge, then restart PAM.
  • "Failed to connect" / pam-mcp: command not found — the MCP client's shell PATH doesn't include the npm global bin. Run which pam-mcp in a terminal and use the absolute path it prints (e.g. /Users/you/.nvm/versions/node/v22/bin/pam-mcp) as the command value in your config. macOS GUI apps don't inherit shell PATH from ~/.zshrc/~/.bashrc, so absolute paths are the safest fallback.
  • npx: command not found (if you're using the npx form) — same root cause: install Node from nodejs.org (not via nvm/asdf), or give the absolute path: "command": "/usr/local/bin/npx" / "/opt/homebrew/bin/npx".
  • Offline tools fail (list_presets, get_parameter_info) — the manifest bundled with the package is used automatically. To target a different PAM install, set PAM_MANIFEST_PATH in the server's env block.

What's in the box

~145 tools. The high-value entry points:

  • Read first: design_context (curated parameter cheat sheet, works offline) and get_design_overview (compact live snapshot). Prefer these over full get_state dumps or broad get_parameter_info sweeps.

  • Sound design: set_parameters, update_pattern, add_modulation / add_param_seq, update_effect_config, set_master_effects, set_drum_synth, randomize / randomize_samples / randomize_patterns.

  • Samples: get_default_locationslist_samplesload_sample, plus trim/reverse/gain/normalize_sample, analyze_sample_tempo, resample_sample_to_bpm, build_sample_chain.

  • Transport, MIDI & devices: start_transport / stop_transport / full_stop_transport, set_bpm, trigger_midi (+ CC / program change), midi_recording; get_audio_device_setup / set_audio_device / set_midi_io (standalone).

  • Presets, variations & songs: load_preset / save_preset / new_preset, save_variation / load_variation / queue_variation, song_mode, export_song (full-track bounce), export_audio (incl. per-cell stems).

  • Looper: full 8-track control — arm/record/capture, load_audio_to_looper_track, warp, looper variations, live_resample.

  • Plugin host (PAM builds with hosting): scan_pluginsget_plugin_scan_statuslist_pluginsload_pluginlist_loaded_pluginsset_plugin_param / set_plugin_bypass.

  • AI models & generation (experimental flags required): download_model / load_model / get_model_status / list_models (engines: aigen, magenta, notochord), generate_sample, generate_kit.

  • Video (VX) & UI — require PAM's window to be open: get_video_state, add_video_layer, bind_video_param, video_command, …, and capture_ui (deterministic UI screenshot).

  • Offline (manifest-only): get_parameter_info, design_context, list_presets, read_preset, get_manifest_summary.

  • MFX: set_mfx_routing reads and replaces the cable patch (input / sidechaincellNoutput). MFX-only; it errors on PAM and CELL1.

All three product manifests (PAM / CELL1 / MFX) are bundled; the server auto-selects by the connected instance's product, so one config entry drives all three products. Preset listing follows that product too — each has its own tree under MAP Audio.

Agent ergonomics

  • Tool annotations. Every tool carries MCP annotations. Tools with readOnlyHint: true never change plugin state, so clients can approve them freely. destructiveHint: true marks tools that discard user state (delete_preset, reset_cell, load_preset over unsaved edits). openWorldHint is false on every tool; the server only talks to the local plugin.
  • Structured output. The status tools (connection_status, select_instance, get_transport, get_manifest_summary, get_model_status, get_plugin_scan_status, workbench_sidecar_status) return structuredContent with a declared output schema, alongside the same JSON as text.
  • Prompts. Five guided workflows ship as MCP prompts: build-a-beat, make-a-song, design-a-preset, mix-and-master, troubleshoot-bridge. In Claude Code they appear as slash commands (e.g. /pam:build-a-beat).
  • Multiple instances. When several products run at once (say PAM and MFX), select_instance picks which one the live tools drive, matched by product name, instanceId, or port. Setting PAM_BRIDGE_PRODUCT=MFX in the server's env block pins the choice at launch. Offline parameter validation follows the selected product's manifest.

License

MIT