# mus.io > mus.io plays music with real recorded instruments (Musio) for the person you work for. You write the parts as notes (JSON); mus.io plays them in the cloud and returns the audio (MP3 and WAV) and, on request, the score (PDF, PNG, MusicXML). Every sound in the audio comes from recorded instruments; none of it is made by AI. To make a piece for the person: connect once, find instruments, read each one's card, send a job, wait for it, then download the mix. The full guide, with copy-paste HTTP examples, is https://mus.io/agents.md. Quick path with only a shell or an HTTP client (no MCP needed): 1. Sign in: `POST https://mus.io/oauth/device` with form field `client_id=musio-device`. Show the person the `verification_uri_complete` link and ask them to open it and approve. Poll `POST https://mus.io/oauth/token` with `grant_type=urn:ietf:params:oauth:grant-type:device_code`, `device_code` and `client_id=musio-device` every `interval` seconds until you get an `access_token`. (If the person pasted an agent key, `mk_...`, use it instead and skip this step.) 2. Send `Authorization: Bearer ` on every call below. Never show the token in the chat. 3. `GET https://mus.io/v1/instruments?search=cello` to find instruments, then `GET https://mus.io/v1/instruments/` for each card (range, articulations, dynamics). Read `GET https://mus.io/v1/guide` once. 4. `POST https://mus.io/v1/jobs` with your job and `"dry_run": true` first (free, lists every error at once), then the same body without it. The smallest valid job is in https://mus.io/agents.md section 5, and `GET https://mus.io/v1/guide` has the full format. If unsure, read agents.md first. 5. `GET https://mus.io/v1/jobs/?wait_seconds=60` until `state` is `succeeded`, then `GET https://mus.io/v1/jobs//outputs` and download the `mix_mp3` link (it lasts one hour). If you can't make POST requests (only read pages), ask the person to add https://mus.io/mcp in their agent app's settings (one line per app in https://mus.io/agents.md section 2), then start a new chat. With MCP, the same steps are tools: connect to https://mus.io/mcp (OAuth sign-in starts by itself). The tools: `search_instruments`, `get_instrument_card`, `get_playing_guide`, `submit_job`, `get_job`, `get_outputs`, `cancel_job`. ## Guides - [Agent guide](https://mus.io/agents.md): connecting (one setup line per agent app: Claude, ChatGPT, Codex, Cursor, Gemini, Grok, VS Code and more; device code; agent key), the render loop step by step with curl, the smallest valid job, limits and errors - [Playing guide](https://mus.io/v1/guide): how to get the best sound: the job format, ranges, articulations, dynamics, mixing (needs the token; the MCP tool is get_playing_guide) - [OpenAPI description](https://mus.io/openapi.json): the /v1 HTTP API and its sign-in, as OpenAPI 3.1 ## Connect - [MCP server](https://mus.io/mcp): Streamable HTTP. A client without a token gets 401 with the OAuth metadata (POST; a plain GET answers 405), signs the person in and asks their OK - [Device code sign-in](https://mus.io/oauth/device): for agents without MCP or a browser; `client_id=musio-device`, no registration needed - [OAuth metadata](https://mus.io/.well-known/oauth-authorization-server): authorization code with PKCE, device code, refresh, dynamic client registration - [Enter a code](https://mus.io/connect): where the person approves a device code ## API - [GET /v1/instruments](https://mus.io/v1/instruments): Find instruments mus.io can play: each with its id, library, developer, range, sweet spot, articulations and mics. (MCP tool `search_instruments`) - [GET /v1/instruments/{instrument_id}](https://mus.io/agents.md#5-make-a-piece-search-card-job-wait-download): One instrument's full card: playable range, sweet spot, articulations (and what each is for, with how to ask for it), mics and tips. (MCP tool `get_instrument_card`) - [GET /v1/guide](https://mus.io/v1/guide): How to get the best sound from mus.io. (MCP tool `get_playing_guide`) - [POST /v1/jobs](https://mus.io/v1/jobs): Queue a cloud render. (MCP tool `submit_job`) - [GET /v1/jobs/{job_id}](https://mus.io/agents.md#5-make-a-piece-search-card-job-wait-download): A job's state and phase. (MCP tool `get_job`) - [GET /v1/jobs/{job_id}/outputs](https://mus.io/agents.md#5-make-a-piece-search-card-job-wait-download): Signed download links. (MCP tool `get_outputs`) - [POST /v1/jobs/{job_id}/cancel](https://mus.io/agents.md#5-make-a-piece-search-card-job-wait-download): Cancel one of your jobs. (MCP tool `cancel_job`) - [GET /v1/status](https://mus.io/v1/status): your account's limits for today, its minutes (trial and this month) and the queue - [GET /v1/usage](https://mus.io/v1/usage): your rendered minutes and jobs by day ## Optional - [Connected agents](https://mus.io/tokens): the person sees and revokes connected agents here - [Protected resource metadata](https://mus.io/.well-known/oauth-protected-resource/mcp): RFC 9728