cursorrules

cursorrules is a cursor rule for Cursor from sandraschi/ai-producer-hub. It costs 352 tokens per session, scanned A, original, MIT.

A configuration guide for an MCP server that combines tools for AI-assisted music production, DJ mixing, media libraries, music generation, audio editing, and live streaming.

In plain words
What is it for?
Build workflows such as generating a track and loading it onto a DJ deck, creating an AI DJ set, producing and streaming music, or making an album for a media library.
Why use it?
It documents how the separate tools are mounted, named, and implemented so workflows can coordinate them consistently.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/sandraschi/ai-producer-hub/cursorrules
Clone the repo
git clone --depth 1 https://github.com/sandraschi/ai-producer-hub

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/sandraschi/ai-producer-hub/cursorrules.svg)](https://agentmods.dev/rules/sandraschi/ai-producer-hub/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/sandraschi/ai-producer-hub/cursorrules"><img src="https://agentmods.dev/badge/rules/sandraschi/ai-producer-hub/cursorrules.svg" alt="Measured on agentmods" height="20"></a>
Per session 352 This file is loaded in full into every session.
When invoked 352 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00352 $0.00352
Opus 5 $0.00176 $0.00176
Sonnet 5 $0.00070 $0.00070
Haiku 4.5 $0.00035 $0.00035

Measured 6d ago against content hash 05d3cb9ddf23, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cursorrules scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursorrules · 41 lines

What it actually says

AI Producer Hub - Cursor Rules

Project Overview

Composite MCP server for AI-powered music production workflows. Mounts and orchestrates multiple MCP servers (VirtualDJ, Plex, Suno, Reaper, OBS).

Architecture

  • server.py: Main FastMCP server with workflow tools
  • tools/midi.py: MIDI input/output tools
  • Mounts other MCP servers at prefixed paths (/dj/, /plex/, etc.)

Tool Patterns

  • All tools use @mcp.tool() decorator
  • MIDI tools registered via setup_midi_tools(mcp) pattern
  • Workflow tools return framework_ready status when dependencies unavailable

Mounted Servers

  • /dj/* - VirtualDJ-MCP (mixing, stems, 8 decks)
  • /plex/* - Plex-MCP (media library)
  • /suno/* - Suno-MCP (AI generation)
  • /reaper/* - Reaper-MCP (DAW)
  • /obs/* - OBS-MCP (streaming)

Code Style

  • Use Rich console for stderr output (not stdout)
  • Async/await for all tool implementations
  • Type hints required
  • Docstrings with Args/Returns sections

Key Workflows

  1. suno_to_deck: Generate AI track -> Load to DJ deck
  2. ai_dj_set: Generate multiple tracks -> Auto-mix
  3. live_stream_producer: Generate + Mix + Stream live
  4. album_factory: Theme -> Full album -> Plex

Dependencies

  • fastmcp>=2.13.0
  • rich (for console output)
  • python-rtmidi, mido (optional, for MIDI)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 41 lines · 352 tokens per session scan A 05d3cb9ddf23

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository sandraschi/ai-producer-hub (5 stars, last pushed 5d ago), licensed MIT. It adds 352 tokens to every session, about $0.0018 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.