# Make workout music from Claude, ChatGPT or Cursor

> The AIMusicIt.com MCP server lets your assistant make instrumental workout blocks at the BPM, energy and style you ask for, and hand you the audio links. Same engines, prices and refunds as the site.

Server URL (Streamable HTTP): `https://aimusicit.com/mcp`

## Connect AIMusicIt.com to Claude, ChatGPT or Cursor

### Claude

In claude.ai or Claude Desktop, open Settings → Connectors and choose Add custom connector. Call it AIMusicIt.com, paste the address, then Connect and allow it.

```
https://aimusicit.com/mcp
```

### Claude Code

Paste this into a terminal. Back in Claude Code, type /mcp and choose AIMusicIt.com to finish signing in.

```
claude mcp add --transport http aimusicit-com https://aimusicit.com/mcp
```

### ChatGPT

ChatGPT: Settings → Apps & Connectors → Advanced, switch on developer mode, then add a connector with this address and OAuth sign-in.

```
https://aimusicit.com/mcp
```

### Codex

Put the block in ~/.codex/config.toml and sign in with codex mcp login aimusicit-com.

```
[mcp_servers.aimusicit-com]
url = "https://aimusicit.com/mcp"
```

### Cursor

Put the server in ~/.cursor/mcp.json, or use Settings → MCP → Add new server; Cursor then offers a Login button.

```
{
  "mcpServers": {
    "aimusicit-com": {
      "url": "https://aimusicit.com/mcp"
    }
  }
}
```

### VS Code

Keep it in .vscode/mcp.json inside your project, or use the MCP: Add Server command. The sign-in prompt comes with your first tool call.

```
{
  "servers": {
    "aimusicit-com": {
      "type": "http",
      "url": "https://aimusicit.com/mcp"
    }
  }
}
```

### Windsurf

Place it in ~/.codeium/windsurf/mcp_config.json, then reload the MCP list in Cascade.

```
{
  "mcpServers": {
    "aimusicit-com": {
      "serverUrl": "https://aimusicit.com/mcp"
    }
  }
}
```

A AIMusicIt.com tab opens: sign in, or make a free account, and choose Allow access. You never paste a key, and your password never leaves this site.

## Signing in once with your AIMusicIt.com account

1. Your assistant's first request is answered with a 401 that points to our OAuth details.
2. The client registers on its own (through the metadata document or dynamic registration), then opens a sign-in tab secured with PKCE.
3. You sign in on AIMusicIt.com and allow that one assistant.
4. Its token only works on https://aimusicit.com/mcp, renews by itself and can be revoked from Settings at any time.

## Making blocks from code without a browser

This site issues no API keys. Every supported client (Claude, ChatGPT, Cursor, VS Code, Codex, Windsurf) links up through the OAuth sign-in described above.

## Tools your assistant can call

- `list_prices`: What each engine costs in credits, and how long its blocks can be.
- `generate_music`: Make one Quick block (176 credits) or a Studio block (144 per 10 s) at a BPM, energy and style.
- `generate_batch`: Race Pace only: up to 40 blocks in one call, each charged when it starts and refunded on its own if it fails.
- `get_batch`: The state of a batch, item by item, with audio links as they finish.
- `get_track`: The state of one block, with its audio link once ready.
- `list_tracks`: Your latest blocks, newest first.
- `get_credits`: Your credit balance and current plan.

Credits are taken only when a block starts, and one that fails is refunded automatically. Every block is saved in your library. The timeline, stitching and export stay in the browser.

## Troubleshooting

- 'Needs authentication' in your client: remove the server and add it again to get a clean sign-in.
- “Not enough credits”: have the assistant call get_credits and top up on the pricing page. Nothing was spent.
- A Studio block still says "running": longer ones need a moment. Ask for get_track once more.
- A 401 mentioning an sk_ key: this site uses no keys, so drop that header and connect with OAuth.

## Questions from assistant users

### Does the MCP server cost extra?

No. Connecting is free; you only spend the credits each block costs, exactly as on the site.

### What can my assistant do here?

Make instrumental blocks at a BPM on either engine, run a batch on Race Pace, check on them and read back the audio links. The timeline, tempo lock, stitching and export stay in the browser.

### What if a block fails, or I run short of credits?

Credits are taken when a block starts and handed back by themselves if it fails. If the balance is short, the tool tells you and nothing is charged.

### Can my assistant ask for music like a named song or artist?

No. Notes naming an artist, band or song are refused on AIMusicIt.com, over MCP and on the site alike.

### My client asks me to sign in again and again. What now?

Delete AIMusicIt.com from your client and connect it again; the next call asks you to sign in afresh.

### How long does a block take, and where does it go?

Quick blocks usually arrive in the same call; a long Studio block may need another minute. Every finished block is saved to your library too.


---

Source: https://aimusicit.com/mcp-server · Site index for AI agents: https://aimusicit.com/llms.txt · Full content: https://aimusicit.com/llms-full.txt
