mcp-music-forge
MCP server for downloading and processing audio from SoundCloud and other sources, with tools for URL probing, download enqueueing, and job status tracking.
README
MCP Music Forge
English | Русский
A scalable MCP plugin/service for downloading and processing audio: SoundCloud (starting point), then YouTube/Yandex Music/Spotify; transcoding, tagging and cover art embedding, HTTP API, MCP tools, audio workers.
Quickstart
Variant A: Docker Compose (recommended)
cp .env.example .env
make upb # build and start the stack
Endpoints:
- API: http://localhost:8033
- Admin: http://localhost:8033/admin
- MCP HTTP: http://localhost:8033/mcp
Management:
make logs # logs
make ps # container status
make up # just up
make down # stop and remove
Variant B: Local (uv)
make install # create .venv, install deps, copy .env
source .venv/bin/activate
make lint # ruff + black + mypy
make test # mypy + pytest
# run API
uvicorn api.main:app --reload
# MCP (stdio)
python -m mcp_music_forge.mcp_app
API Examples
# health check
curl -s http://localhost:8033/health | jq
# {"status": "ok"}
# enqueue download (SoundCloud URL with allowed download per ToU)
curl -s -X POST 'http://localhost:8033/download?url=https://soundcloud.com/artist/track' | jq
# {"job_id": "abc123", "status": "queued"}
# check job status
curl -s http://localhost:8033/jobs/<job_id> | jq
MCP Tools
probe_url: provider detection and downloadability check.enqueue_download: create/duplicate a job, put it in the queue.get_job_status: status, artifacts, file links as MCP resources.- Resources:
forge://jobs/<job_id>/{original|final}/<filename>(file bytes).
Project Overview
- MCP Server (
mcp_music_forge/): job management, resource provider, and MCP tools. - HTTP API (
api/):POST /download,GET /jobs/{id},/health, admin interface. - Providers (
providers/): adapters for sources (starting with SoundCloud). - Transcoder (
transcoder/): a wrapper aroundffmpeg. - Storage (
storage/): local FS (can be replaced with S3, etc.). - Queue (
core/services/queue.py): ARQ + Redis; a wrapper inworkers/.
Documentation
Legal Notes
- SoundCloud provider respects ToU: we only download if the track is downloadable (
downloadable/download_url). - Cookie file support is available, but use it strictly within the service's rules.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.