GarageBand Practice MCP
Local TypeScript MCP server for creating authorized song-practice projects for GarageBand. It enables users to create practice workspaces from MIDI, generate bar practice assets, and open projects in GarageBand.
README
GarageBand Practice MCP
Local TypeScript MCP server for creating authorized song-practice projects for GarageBand.
Creates local GarageBand practice workspaces from authorised MIDI, including native-score handoff files and one-bar loop practice assets. No cloud service or paid tooling is required.
Daily Workflow
The intended Codex workflow is:
- Run
diagnose_setupto confirm GarageBand, MIDI keyboard hints, audio interface hints, Audio MIDI Setup, and optional MuseScore rendering support. - Run
create_practice_projectfor the song, or reuse an existing project slug. - Import authorized MIDI with
import_user_midi, or usesearch_public_domain_midiandimport_public_domain_midifor Mutopia Project material. - Run
generate_bar_practice_assetsto produce a named, one-bar MIDI file for each measure. - Run
open_in_garagebandto open the saved native GarageBand project, or import the active MIDI on the first session. - In GarageBand, use the native Score Editor for notation, Cycle for a selected bar, and the empty piano track for live keyboard input.
- Save the session as
garageband/<song-slug>.band.
Example Codex request:
Use garageband-practice to open bach-prelude-c-major-bwv-846 in GarageBand, then save a session snapshot and push it.
Expected device names can be configured before starting Codex:
export GARAGEBAND_EXPECTED_MIDI_DEVICES="KeyLab,Arturia"
export GARAGEBAND_EXPECTED_AUDIO_INTERFACES="Scarlett,Focusrite"
Content Policy
- Accept user-supplied MIDI/MusicXML files when the user is authorized to use them.
- Search public-domain/open-license catalogues only.
- Mutopia Project is the first supported catalogue because it publishes PDF, MIDI, and LilyPond downloads under public-domain or Creative Commons terms.
- Do not search for or download copyrighted MIDI from unauthorized sources.
- Later AI approximation work must start from user-provided chords/structure and be labeled as an arrangement, not a transcription.
Project Layout
songs/<slug>/
source/
midi/
charts/
garageband/README.md
project.json
Project metadata stores artifact paths relative to each song folder, for example midi/song.mid or charts/song.musicxml. Runtime tools resolve those paths locally when opening GarageBand or rendering practice files.
Tracked session artifacts:
songs/**/project.jsonsongs/**/source/*.midandsongs/**/source/*.midisongs/**/midi/*.midandsongs/**/midi/*.midisongs/**/charts/*.musicxml- selected
songs/**/charts/*.pdfscore files songs/**/practice/index.htmlsongs/**/garageband/README.md
Ignored session outputs:
- GarageBand
.bandproject packages - audio bounces such as
.wav,.aif,.m4a, and.mp3 - dependency, build, cache, and log files
Tools
create_practice_projectimport_user_midisearch_public_domain_midiimport_public_domain_midigenerate_piano_grand_staff_chartgenerate_bar_practice_assetsopen_in_garagebandsave_session_snapshotdiagnose_setup
Local Development
npm install
npm run check
npm test
npm run audit:prod
npm run mcp
GarageBand Flow
- Create a practice project.
- Import a user-supplied MIDI file, or search Mutopia and import a selected Mutopia MIDI result.
- Generate the piano grand-staff chart.
- Generate bar practice assets for targeted looping.
- Open the active MIDI in GarageBand on the first session, then use GarageBand's native Score Editor for notation.
- Save the
.bandproject in the song'sgarageband/folder. Future opens prefer this native session automatically. - Run
save_session_snapshotto summarize trackable song artifacts, then optionally commit and push them.
MusicXML is the durable notation interchange format. GarageBand project files are intentionally treated as a manual handoff target because .band automation is not stable enough for V1.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.