# Score your edits from Claude, ChatGPT or Cursor

> The AIMusicGen.pro MCP server lets your assistant fit a tempo to your edit's cut times and write a score on your account, then hand you a link to the studio where the takes are aligned to your hits and exported. It uses the same engines, prices, credits and refunds as the studio.

Server URL (Streamable HTTP): `https://aimusicgen.pro/mcp`

## Connect AIMusicGen.pro to Claude, ChatGPT or Cursor

### Claude

From claude.ai or Claude Desktop, follow Settings → Connectors → Add custom connector. Call the connector AIMusicGen.pro, drop in the URL, then click Connect and grant access.

```
https://aimusicgen.pro/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http aimusicgen-pro https://aimusicgen.pro/mcp
```

### ChatGPT

In ChatGPT open Settings → Apps & Connectors → Advanced and turn on developer mode, then Create a connector with this URL and OAuth authentication.

```
https://aimusicgen.pro/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login aimusicgen-pro to sign in.

```
[mcp_servers.aimusicgen-pro]
url = "https://aimusicgen.pro/mcp"
```

### Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new server). Cursor shows a Login button for it.

```
{
  "mcpServers": {
    "aimusicgen-pro": {
      "url": "https://aimusicgen.pro/mcp"
    }
  }
}
```

### VS Code

Save as .vscode/mcp.json in your workspace (or run MCP: Add Server). VS Code asks you to sign in on the first tool call.

```
{
  "servers": {
    "aimusicgen-pro": {
      "type": "http",
      "url": "https://aimusicgen.pro/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.

```
{
  "mcpServers": {
    "aimusicgen-pro": {
      "serverUrl": "https://aimusicgen.pro/mcp"
    }
  }
}
```

AIMusicGen.pro loads in your browser. Log in, or open a free account, and click Allow access. The assistant gets neither your password nor any API key.

## Signing in once with your AIMusicGen.pro account

1. When your client first calls the server, it is turned away with a 401 that links to our OAuth metadata.
2. The client signs itself up, by Client ID Metadata Document or by dynamic registration, and brings up a PKCE sign-in page.
3. You log in to AIMusicGen.pro and give that one client your approval on the consent screen.
4. Your client ends up with a token for https://aimusicgen.pro/mcp only, which renews in the background and which you may revoke whenever you choose.

## Scoring from code without a browser

No API keys exist for now. Every client, including Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf, connects by logging in through OAuth.

## Tools your assistant can call

- `list_prices`: Credit prices for each engine, and the length limits.
- `fit_tempo`: Free: the best three tempos for your cut times, with the worst hit's distance from a bar line.
- `make_score`: Write a score at the fitted tempo: 216 credits for a Quick score (two takes), or 181 per started 10 s on Studio.
- `make_scores`: Final Dub plan only: start up to 8 scores in one call, each charged and refunded on its own.
- `get_score`: The state of one score, with its take links once ready.
- `list_scores`: Your latest scores, newest first.
- `get_credits`: Remaining balance and plan.

Credits are taken only when a score starts, and a score that fails is refunded automatically. Every score is saved in your library.

## Troubleshooting

- Client says 'needs authentication': delete the server and add it once more, which makes it sign in from scratch.
- “Not enough credits”: ask for get_credits, then buy credits on the pricing page. You weren't charged.
- A score still “running”: scores usually take one to three minutes. Ask the assistant to call get_score again.
- 401 with a key starting sk_: this site has no API keys. Remove the header and sign in with OAuth.

## Questions from assistant users

### Does the MCP server cost extra?

No. Connecting is free; you only spend the credits each score costs, exactly as in the studio.

### What can my assistant do?

Take your edit's length and cut times, fit a tempo, write a score, check on it and read back the take links. Aligning the takes to your hits, finishing and the video export happen in the studio, which the result links to.

### What happens if a score fails or my balance is too low?

Credits go only when a score starts, and a score that fails puts its credits straight back. When your balance is short, the tool says so and charges nothing.

### Can my assistant make a score in an artist's style?

No. Scores are instrumental, and briefs that name an artist, band or song are refused before any charge, over MCP and in the studio alike.

### My client keeps asking me to sign in. What do I do?

Take the server out of your client and put it back in; your next tool call then asks you to log in again.

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

Usually one to three minutes, so the assistant may check back once or twice. Every score is saved in your library, ready to open in the studio.


---

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