Back to Home
whitneyland icon

riffmcp

Verified Safe

by whitneyland

Overview

An MCP server that allows LLMs to play, compose, and render music.

Installation

Run Command
/Applications/RiffMCP.app/Contents/MacOS/RiffMCP --stdio

Environment Variables

  • RIFF_LOG_STDIO
  • RIFF_LOG_JSON

Security Notes

The HTTP server is hardcoded to listen only on localhost (127.0.0.1), significantly reducing external attack surface. Path traversal attempts for image resources served via `/images/` are explicitly checked and prevented using `fileURL.path.hasPrefix(tempDirectory.path)`. Input JSON for music sequences and tool calls are decoded using Swift's `JSONDecoder`, which helps prevent injection vulnerabilities if the models are defined correctly. The implementation of the HTTP server is hand-rolled, which can carry inherent risks compared to battle-tested frameworks, but the current implementation appears robust for its intended local scope.

Similar Servers

Stats

Interest Score39
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars14
Forks0
Last Update2025-11-29

Tags

LLMmusicaudioMCPmacOS