ElevenLabsMcp-Windows: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from vakandi/ElevenLabsMcp-Windows. It costs 629 tokens per session, scanned A, original, from a forked repository, MIT.

A set of rules for turning requested speech or audio into a generated audio file and playing it with VLC, a desktop media player.

In plain words
What is it for?
Generating spoken audio with ElevenLabs, saving the file, locating VLC on Windows, and playing the result in the background.
Why use it?
It gives the agent a fixed process for generating and playing audio, including what to do when VLC cannot be found.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

This is vakandi/ElevenLabsMcp-Windows's own configuration. It tells Cursor how to work on ElevenLabsMcp-Windows itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ElevenLabsMcp-Windows configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vakandi/ElevenLabsMcp-Windows. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vakandi/ElevenLabsMcp-Windows/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/vakandi/ElevenLabsMcp-Windows

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/vakandi/elevenlabsmcp-windows/cursorrules/github.svg)](https://agentmods.dev/rules/vakandi/elevenlabsmcp-windows/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/vakandi/elevenlabsmcp-windows/cursorrules"><img src="https://agentmods.dev/badge/rules/vakandi/elevenlabsmcp-windows/cursorrules/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/vakandi/elevenlabsmcp-windows/cursorrules"><img src="https://agentmods.dev/badge/rules/vakandi/elevenlabsmcp-windows/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 629 This file is loaded in full into every session.
When invoked 629 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
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.00629 $0.00629
Opus 5.5 $0.00252 $0.00252
Sonnet 5.5 $0.00126 $0.00126
Haiku 4.5 $0.00063 $0.00063

Measured 1mo ago against content hash e0ff70cbc805, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audio Playback Rules

When User Asks to Speak or Play Audio

When the user requests to "speak", "say something", "talk", or asks to play/generate audio:

  1. Always use ElevenLabs MCP to generate audio:

    • Use mcp_elevenlabs_text_to_speech tool with the requested text
    • Save the audio file to a suitable location (project directory or user's preferred location)
    • Note the generated file path
  2. Always use VLC to play audio files:

    • Use this detection pattern (try in order):
      1. Check if vlc is in PATH: Get-Command vlc -ErrorAction SilentlyContinue
      2. Check common installation paths:
        • C:\Program Files\VideoLAN\VLC\vlc.exe
        • C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
    • If VLC is found, use it with background playback flags
    • If VLC is not found, inform the user and ask for the VLC installation path
  3. Background Playback Pattern (use this exact pattern):

    # Find VLC executable
    $vlcPath = $null
    $vlcCmd = Get-Command vlc -ErrorAction SilentlyContinue
    if ($vlcCmd) {
        $vlcPath = $vlcCmd.Source
    } elseif (Test-Path "C:\Program Files\VideoLAN\VLC\vlc.exe") {
        $vlcPath = "C:\Program Files\VideoLAN\VLC\vlc.exe"
    } elseif (Test-Path "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe") {
        $vlcPath = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
    }
    
    if ($vlcPath) {
        # Play audio in background without showing VLC window
        Start-Process -FilePath $vlcPath -ArgumentList "`"$audioFile`"", "--intf", "dummy", "--play-and-exit" -WindowStyle Hidden -ErrorAction SilentlyContinue
    } else {
        Write-Host "VLC not found. Please install VLC or provide the path to vlc.exe"
    }
    
    • This ensures VLC plays in the background without opening a visible window
    • The --intf dummy flag prevents GUI, --play-and-exit closes after playback
  4. Always prefer MCP ElevenLabs over other TTS solutions when available.

Read the full file on GitHub · 53 lines

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. 1mo ago First seen · 53 lines · 629 tokens per session scan A e0ff70cbc805

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository vakandi/ElevenLabsMcp-Windows (3 stars, last pushed 11mo ago), licensed MIT. It adds 629 tokens to every session, about $0.0025 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.