GameForge
БесплатноНе проверенLocal instrumental & game-BGM generation through the Model Context Protocol, via Stable Audio 3
Описание
Local instrumental & game-BGM generation through the Model Context Protocol, via Stable Audio 3
README
GameForge-MCP
Local instrumental & game-BGM generation through the Model Context Protocol
Quick Start • Why This Exists • Real Findings • Changelog • Contributing
If this is useful to you, a star helps other people find it — that's the whole marketing budget for this project. Want to help keep it maintained? Click the Sponsor badge up top.
GameForge-MCP connects any MCP-compatible AI assistant to Stable Audio 3 (Medium checkpoint), generating instrumental music and game background audio entirely locally on your own GPU.
No cloud. Nothing leaves your machine. Generation runs through a local subprocess call to your own stable-audio-3 checkout — your prompts and audio stay on your computer.
Fast by design. Stable Audio 3 is diffusion-based, not autoregressive — a short clip generates in seconds once the checkpoint is cached, dramatically faster than full-song vocal models. Generation time does scale with requested duration though (confirmed: a 180s clip took ~4 minutes), so generate_game_audio still returns a job to poll rather than assuming every call is instant.
Why this exists
This project sits alongside two other local music-generation MCP servers (SongForge-MCP/ACE-Step and heart-mcp/HeartMuLa), both tuned for full vocal songs. Pushing either toward short, pure-instrumental game-BGM work produced noticeably worse results — muddy, artifact-heavy output — confirmed directly in that project's own testing. Stable Audio's training lineage (production-music/stock-audio libraries, overwhelmingly instrumental) is a better architectural fit for this specific job, so it gets its own dedicated server rather than being bolted onto either existing one.
Quick start
1. Get GameForge-MCP
git clone https://github.com/xDarkzx/GameForge-MCP.git
cd GameForge-MCP
2. Run the installer
The installer sets up GameForge-MCP's own venv, clones and configures stable-audio-3 (its uv-managed venv, the pinned CUDA torch build, and — with your say-so — a matching Flash Attention 2 wheel), and wires up Claude Desktop. It does not download the ~10GB model checkpoint itself — that's gated behind a Hugging Face license you have to accept yourself (step 3 below), and it downloads automatically on first real generation.
Windows: either double-click install.bat in File Explorer, or keep going in the same terminal from the git clone step above:
.\install.bat
Linux / macOS:
bash install.sh
Requires an NVIDIA GPU — Stable Audio 3 Medium needs Flash Attention 2, which has no CPU or macOS build. On a machine without one, the installer still sets up GameForge-MCP itself but skips the stable-audio-3 stage.
Prefer to do it by hand, or already have your own stable-audio-3 checkout? See the Installation Guide for the full manual steps.
3. Accept the model license and authenticate
Accept stabilityai/stable-audio-3-medium's gated license on Hugging Face, then authenticate: hf auth login. Both steps require your own Hugging Face account and can't be automated.
4. Point Claude Desktop at it
The installer does this for you if you say yes when it asks. To do it manually, or to configure another MCP client:
{
"mcpServers": {
"game-audio": {
"command": "path/to/GameForge-MCP/.venv/Scripts/game-audio-mcp.exe",
"env": {
"GAME_AUDIO_STABLE_AUDIO_HOME": "path/to/stable-audio-3"
}
}
}
}
Tools
generate_game_audio— one prompt → a job_idcheck_job_status— poll a job started bygenerate_game_audio
See the tool's own docstring (surfaced to any connected AI client) for full parameter docs.
Real findings from building this
- One prompt, one cohesive mix. Describing the whole arrangement in one prompt ("dark swamp drone, mournful viola da gamba melody, tribal drums, buzzing insects, instrumental, cohesive arrangement") sounds far better than generating each instrument separately and mixing the results — independent generations don't share tempo/key/phrase structure and don't musically mesh.
- No true vertical layering available locally, checked directly. The one research system built for synchronized multi-stem generation (Stemphonic, Adobe/MIT) has no public code or weights. For adaptive game music, prefer horizontal re-sequencing — a few complete versions at different intensity levels, crossfaded in-engine — over stem-based layering.
init_audio(audio-to-audio) is real and working, but transforms the reference track rather than producing an independent new stem — it doesn't solve the layering problem either.
Sponsor
If GameForge-MCP has helped with your game audio, consider sponsoring:
License
Apache 2.0 — see LICENSE.
Установка GameForge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/xDarkzx/GameForge-MCPFAQ
GameForge MCP бесплатный?
Да, GameForge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для GameForge?
Нет, GameForge работает без API-ключей и переменных окружения.
GameForge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить GameForge в Claude Desktop, Claude Code или Cursor?
Открой GameForge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
ARA
Generate images, video and audio from any AI agent — one connector.
автор: ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
автор: buildwithtazaYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
автор: gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
автор: hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
автор: merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
автор: SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
автор: YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
автор: AceDataCloudCompare GameForge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
