Skip to content

Developers and agents

MAP Audio developer resources

Render audio from code with the Music API, read the catalog of preset packs through the website API, inspect recordings in the hosted audio workspace, or connect an agent to a local PAM or MFX instance.

MAP Audio Music API

The Music API runs PAM's sound engine on MAP Audio's servers. Send a JSON request and get back audio and MIDI files: loops, stems, variations and DJ mixes rendered from PAM's factory presets, plus drum hits and MIDI patterns. It has its own docs with recipes and a quickstart, an OpenAPI document, an MCP server and an agent skill. Access is invite-only while in preview.

Local audio tools

PAM for agents covers the mapcli command, its MCP server, persistent mapd jobs, setup and model requirements. These tools run on your Mac; the website API stays read-only.

Live coding with Strudel and TidalCycles

An open source package makes PAM an output for Strudel patterns and an OSC target for TidalCycles. Patterns play PAM's cells, turn its knobs and switch its variations over MIDI. PAM for Strudel has the setup and the code.

Hosted audio workspace

The MAP Audio workspace measures and plays recordings, masters them with Master Sculpt, runs them through MFX presets and opens PAM’s browser engine in the conversation. An MCP Apps client connects through Streamable HTTP at https://audio.map.audio/mcp. In ChatGPT it is MAP Audio Tools for ChatGPT.

open_audio_workspace opens the player, open_demo_audio plays MAP Audio’s example recording and display_audio_file opens an attachment or an existing audio ID. analyze_audio returns the measurements without opening the player, master_audio masters a recording, apply_mfx_preset runs one through an MFX preset and open_pam opens PAM. Supported playback formats depend on the browser. The workspace makes nothing from a text prompt and does not control PAM on your computer: the MCP servers below do that.

Imports are limited to 32 MiB and remain accessible for one hour. Anyone with the audio ID or download link can read the recording during that time. Download returns the original file.

Website API

The map.audio website API is public, read-only and does not require authentication. It exposes a service description at /api/public/status and the public catalog of preset packs at /api/packs.json: PAM’s packs by default, MFX’s with ?product=mfx, both with ?product=all. Customer accounts, purchases, license activation, downloads, and admin routes are outside this public contract.

curl -sS https://map.audio/api/public/status
curl -sS https://map.audio/api/packs.json

Read the machine-readable OpenAPI 3.1 specification for operation IDs, parameter types, response schemas, and error objects. Clients should honor each endpoint’s HTTP cache headers.

Errors and recovery

Website API errors use JSON with a stable code, a human-readable message, a resolution hint, and a link back to these docs. An unknown endpoint returns HTTP 404. A known endpoint called with the wrong method returns HTTP 405 and an Allow header.

{
  "error": {
    "code": "not_found",
    "message": "No public API endpoint matches this path.",
    "resolution": "Use an endpoint listed in the MAP Audio OpenAPI document.",
    "docs": "https://map.audio/developers"
  }
}

Versioning and deprecation

Every website API response carries an API-Version header, currently 1. Send the same header to pin a request; an unknown value returns HTTP 400 with the error object above. Additive changes such as new fields or endpoints keep the version number. A breaking change ships as a new version under a new URL path prefix while the previous version keeps answering.

A version or endpoint that is being retired sends Deprecation and Sunset response headers at least 90 days before removal, and the change is listed on this page. There are no deprecations in effect.

MCP servers for the plugins

The PAM and MFX MCP servers are one npm package, run as local stdio bridges. They are the right interface when an agent must load content, inspect plugin state, edit parameters, trigger notes, work with patterns, or manage presets in a plugin instance already running on the user’s computer. They are separate from the public website API and do not expose a remote control endpoint on map.audio.

  • @map-audio/mcp-server installs both as the map-mcp command.
  • map-mcp drives PAM. map-mcp --product=mfx drives MFX only.

Agent discovery files

Start with llms.txt for a short brief on MAP Audio and when to use it. llms-full.txt contains the longer product and support reference. agent-instructions.md explains which interface to use and the limits agents should respect. The API catalog links these resources in a machine-readable linkset. auth.md describes how an agent signs in to a customer account with the owner's emailed code, and what it may read there.