# AI MCP server: score a picture's colours from Claude, ChatGPT or Cursor

> The Lyria-4.com MCP server lets your assistant turn a set of colours into a sound map, score it on your account and read back the links. It signs in with OAuth, so no key is pasted anywhere.

Server URL (Streamable HTTP): `https://lyria-4.com/mcp`

## Add the photo scorer to Claude, ChatGPT or Cursor

### Claude

Claude (web or desktop): go to Settings → Connectors → Add custom connector, call it Lyria-4.com, put the server URL in and press Connect, then allow access.

```
https://lyria-4.com/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 lyria-4-com https://lyria-4.com/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://lyria-4.com/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login lyria-4-com to sign in.

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

### Cursor

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

```
{
  "mcpServers": {
    "lyria-4-com": {
      "url": "https://lyria-4.com/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": {
    "lyria-4-com": {
      "type": "http",
      "url": "https://lyria-4.com/mcp"
    }
  }
}
```

### Windsurf

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

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

Your browser opens Lyria-4.com. Sign in, or create a free account, and press Allow access. Your password stays on Lyria-4.com, and nothing has to be copied into the assistant.

## How the one-time sign-in works

1. The assistant calls the server without a token and gets a 401 that points to the OAuth metadata.
2. It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in.
3. You sign in on Lyria-4.com and approve that single assistant.
4. Its token is valid for https://lyria-4.com/mcp only, refreshes by itself and can be revoked from your settings at any time.

## Calling the scorer from your own scripts

There are no API keys on this site at the moment. Every supported assistant (Claude, ChatGPT, Cursor, VS Code, Codex, Windsurf) signs in with OAuth instead.

## The five photo-music tools

- `list_prices`: Credit prices for each job and the length limits.
- `score_colours`: Score up to five hex colours (with optional style, tempo, key and a short sung line): a 60-second score is 33 credits; tracks, Studio renders and ambient beds at their listed prices.
- `get_job`: The state of one job, with its audio link once ready.
- `list_jobs`: Your latest scores, newest first.
- `get_credits`: Remaining balance and plan.

A tool charges credits when its job starts; if the job fails, they return to your balance without a ticket. Finished scores land in your library next to the ones you make in the studio.

## Troubleshooting

- "Needs authentication" keeps coming back: remove the server from the assistant, add it again and sign in fresh.
- "Not enough credits": call get_credits to see the balance, top up on the pricing page and run it again. Nothing was taken.
- A score still "running": scores take about a minute. Ask the assistant to call get_job again.
- A 401 while sending an sk_ key: this site has no API keys, so drop that header and let the assistant sign in with OAuth.

## Scoring colours from an assistant: questions

### Is connecting an assistant charged separately?

No. The connection is free; each score, track, ambient bed or Studio render costs the same credits as on the website.

### Which jobs can an assistant run here?

Turn colours into a sound map, score it as a short piece, a track, a Studio render or an ambient bed, check on jobs and read back the links. Photos are uploaded in the studio, not over MCP.

### What if a score fails or I run out of credits?

Credits leave your balance only when a job starts, and a failed job puts them back by itself. With too few credits the tool replies with the shortfall and starts nothing.

### Can I ask for a score that sounds like a named artist?

No. Over MCP and in the studio alike, names of artists, bands and songs are refused; describe a mood and a style instead.

### Why does my assistant ask me to sign in again and again?

Its saved login has gone stale. Delete the Lyria-4.com server in the assistant, add it again, and approve the new sign-in once.

### How long until the audio is ready, and where is it kept?

A score takes about a minute, so the assistant may check back once. Every job is saved in your library on Lyria-4.com.


---

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