Quartermaster
Allows agents to search and import the user's owned Epic Games Fab library and VaultCache, including harvesting purchase history, enriching metadata, and unpacking cached assets into projects.
Allows agents to search the user's Unity Asset Store library, find owned assets by keyword, natural language, or visual similarity, validate asset compatibility, and unpack selected packages directly into a Unity project's Assets folder.
Quartermaster
This project started because I wanted to prototype a dam.
Nothing serious — a short demo, maybe more if it worked out. Before building anything, I wanted to see what I already owned that could speed it up. So I searched my library for "dam": nothing came back. Of course nothing came back — no asset is called a dam. But spread across four packages I already owned were curved concrete meshes, a water system, some rocky terrain. Everything the dam needed. I'd had most of it for years and never once connected the pieces.
That's what ~1,500 assets across two stores did to me when this started — a library that has since grown past 7,500 assets across five ecosystems. Almost all of it from bundles and sales, none of it remembered. And it's not just me — no AI assistant knows either. Ask one for help and it either builds everything from scratch or sends you shopping, while hundreds of dollars of exactly-the-right-thing sits on your disk.
Quartermaster indexes everything you own across the Unity Asset Store, Fab, Quixel Megascans, Gumroad and Leartes Cosmos — locally, on your machine — and serves it to your coding agent over MCP. It's the tool I wished existed that day: ask about a dam, get told you already own curved concrete meshes.
you → "I want to build a dam — what do I have to work with?"
agent → search_owned_assets(...) finds the concrete meshes, water FX, terrain
└─ Nordic Coastal Cliff (Quixel) · 5785 px/m · 2.03 × 2.92 × 2.44 m
maps: Basecolor, Normal, Displacement, Cavity, AO, Roughness…
validate_stack([...]) checks none of them fight each other
import_asset_to_project(...) unpacks into Assets/, demos strippedEvery result is something you own or can claim free — nothing is invented.

Typing a description, not a name — none of those results share a word with the query.
Why Quartermaster? A quartermaster's job was never remembering what's in stores — it's making sure you're equipped when it's time to move. That's nearer the real problem than forgetting is. I hadn't lost anything; I knew I owned stuff. What I couldn't do was get from "I want to prototype a dam" to "open these four packages" without an hour of digging first — and maybe more if it worked out doesn't survive an hour of digging. Ideas that arrive that way don't get rejected. They just quietly don't happen, and you never find out whether they would have.
What it indexes
Source | What comes in | How |
Unity Asset Store | Owned packages, descriptions, gallery art | Authenticated harvest |
Fab (Epic) | Owned Unreal and Unity listings | Authenticated harvest |
Quixel Megascans / Megaplants | The catalog, with texel density, scan area and map lists | Public catalog sync |
Gumroad | Owned products | Authenticated harvest |
Leartes Cosmos | Owned and claimable Cosmos inventory, with deep screenshot galleries (18 on average, up to 71) | Authenticated harvest |
Everything lands in one SQLite table behind one search surface, so a query crosses all of them at once. Nothing is engine-scoped: a Megascans surface and a Unity shader come back from the same question if they both answer it.
Related MCP server: Unity API Communicator MCP Server
The part nobody tells you
Neither store will admit what you own.
Unity removed /account/purchases (404 since August 2026). Fab has no ownership API, no export button, nothing. Your purchase history exists only inside their private GraphQL, behind SSO, MFA, and bot detection.
Getting at it took four attempts, three of them failures:
Playwright's bundled Chromium — Epic's captcha refuses it outright ("enable JavaScript").
Playwright driving your real browser — injects detectable hooks; Epic throws a second security wall after the password.
Debugger attached during sign-in — same result. Anything touching the login flow gets flagged.
What actually works: stop automating the sign-in entirely. You log in through an ordinary browser window — no debug port, nothing between you and the store — because the automation was itself what tripped the risk systems. Only after you're done, on a session you established yourself, does Quartermaster attach a debugger and replay the store's own paginated queries — with its own CSRF headers, its own chunking (42 IDs per request, because that's what Unity's client sends).
That trick is most of this project. The rest — search, linting, unpacking — is honestly straightforward by comparison.
Two hard-won rules baked into the design, if you ever hack on this yourself:
Browsers must close gracefully (
taskkillwithout/F). An abrupt kill loses Unity's device-trust cookie and you'll get MFA-challenged on every future session.Never run a library fetch headless. Headless triggers Unity's risk system even with valid cookies.
Quixel Megascans, and why your Fab library looks short
Fab's library view and the Megascans catalog are not the same list, and there is no export that reconciles them — you can hold rights to far more Megascans content than your library page displays. Whatever the cause, the practical result is the same: scrolling and hand-searching for something you already have.
Quartermaster sidesteps it. It syncs the Quixel Megascans and Quixel Megaplants seller catalogs from Fab directly — 5,580 listings as of this writing — independently of what your library view shows, and files them next to everything else you own, tagged by status:
vault_owned— in your librarycatalog_grant— claimable free under the Epic Content License, not yet acquired
Both are searchable, and every result says which it is, so an agent can tell "you own this" from "you can have this for nothing" without guessing.
Megascans rows also carry their physical specs where the listing publishes them — texel density, scan area, and the map list (basecolor, normal, displacement, cavity, AO, roughness…). That is the difference between an agent telling you it found a rock and an agent telling you it found a 1×1 m scan at 8192 px/m with displacement — which is the part that decides whether it's usable.
python -m src.store_client sync-quixel # catalog
python -m src.store_client enrich-quixel # texel density, scan area, mapsWhat you get
Search that understands intent & vision. This is the dam problem.
Exact keywords via SQLite FTS5.
Natural language intent via local ONNX text embeddings (
BAAI/bge-small-en-v1.5) — "concrete structures for holding back water" surfaces meshes and shaders whose listings never mention dams.Cross-modal visual understanding via ONNX CLIP embeddings (
Qdrant/clip-ViT-B-32) — searching "gothic cathedral" literally scores your screenshots and promo renders, finding assets even when their text descriptions are completely silent. A visual hit also hands back which screenshot matched, not just the cover art.Every result shows its working. Each hit carries a
matchfield —keyword,semantic+vision,keyword+semantic+vision— so you and your agent can see which signal fired. A pure-vision hit on a listing with useless marketing copy is a different kind of result than an exact title match, and it should be legible as one.Concept tags mined from screenshots. The offline vision pass scores every gallery image against a visual vocabulary and writes the survivors back into the FTS index, so "medieval village" and "dark horror atmosphere" become keyword-searchable on assets whose descriptions never said either. The vocabulary is a JSON file you can replace — see
docs/concepts.md. All three signals are fused with 3-way Reciprocal Rank Fusion (RRF) on your CPU. No GPU, no vector database process, no cloud API — ONNX Runtime and a numpy matrix, in the same process as everything else.
Measured on a ~7,500-asset vault: ~520 MB peak RAM with both models resident, ~1.4 s for the first query (loading BGE and CLIP), ~85 ms warm after that. The models load lazily, so an agent that never searches never pays for them.
Ground truth about your disk. Scans %APPDATA%/Unity/Asset Store-5.x/ and Epic's VaultCache so every result knows whether it's already downloaded or cloud-only. Agents prefer what's local — a zero-download import beats a 4 GB one.
A linter for stacks. Two vegetation renderers will fight. A MicroSplat module without core MicroSplat silently does nothing. A URP-only shader in an HDRP project renders pink. Quartermaster catches these before you spend an afternoon on them.
Direct unpacking. Extracts cached .unitypackage files straight into Assets/, dropping /Demo/, /Samples/, /Documentation/ and PDFs on the way in — typically 60–80% less bloat per package. Every declared path is normalized and asserted inside <project>/Assets/; escapes are structurally impossible, not just filtered.
Install
The standalone bundle — download Quartermaster-windows-x64.zip from Releases, unzip anywhere. No Python required.
Quartermaster.exe— Desktop GUI withWin+Alt+Vspotlight search, store harvesting, library browsing, and direct unpacking.Quartermaster-mcp.exe— Standalone MCP stdio server for Claude Desktop, Cursor, Antigravity, and Windsurf.
Your library data lives safely in %LOCALAPPDATA%\Quartermaster, so upgrades are simple folder replacements with zero data loss.
From source — needs Python 3.10+.
git clone https://github.com/Tanshaydar/Quartermaster.git
cd Quartermaster
pip install -r requirements.txtSeed your library:
1. Sign in. The one step that needs you. A normal browser window opens; 2FA and captchas behave exactly as they always do. Close it when you're done and the session persists locally.
python -m src.store_client login unity
python -m src.store_client login fab
python -m src.store_client login gumroad # optional
python -m src.store_client login cosmos # optional — Leartes Cosmos2. Harvest and enrich. Long-running, resumable, safe to re-run — each picks up where it stopped.
python -m src.store_client fetch unity
python -m src.store_client fetch fab
python -m src.store_client fetch gumroad # if you signed in above
python -m src.store_client fetch cosmos # if you signed in above
python -m src.store_client sync-quixel # Megascans/Megaplants catalog — no login needed
python -m src.store_client enrich # descriptions and cover art, politely batched
python -m src.store_client enrich-quixel # Megascans scan specs
python -m src.store_client fab-deep-media # Fab only: plain HTTP is 403'd, galleries need the authed browser3. Build the local indexes, then scan your disk.
python -m src.semantic build # text embeddings
python -m src.vision build # screenshot embeddings + concept tagging
python -m src.local_scan # which of them are already downloaded heresemantic build and vision build are what make "concrete structures for holding back water" and visual concept queries find your assets. Skip them and search still works, but only on exact keywords.
Run local_scan after you have a catalog, not before. Scanned against an empty vault it has nothing to match filenames against, so it files every cached package as its own bare entry. Harmless — the next scan reconciles them against the real catalog — but you'll see doubles until then.
Already have CSV exports from the stores? Skip the browser entirely:
python -m src.ingest # eats any CSVs in data/seed/
python -m src.semantic build # still needed — see the note above
python -m src.local_scan # then find what's already on diskConnect your agents:
Option A: Auto-registration (one command)
# Standalone binary users:
Quartermaster-mcp.exe --register --all
# Source users:
python -m src.register --all # Claude Desktop, Cursor, Windsurf, Antigravity
python -m src.register --all --dry-run # look before you leapRegistration merges into existing client configs and creates a .quartermaster-backup first. It won't clobber your other servers.
Option B: Manual config Paste the server block into your client configuration:
Standalone binary:
{
"mcpServers": {
"quartermaster": {
"command": "C:/path/to/Quartermaster/Quartermaster-mcp.exe",
"args": []
}
}
}From source:
{
"mcpServers": {
"quartermaster": {
"command": "python",
"args": ["-m", "src.mcp_server"],
"cwd": "C:/path/to/Quartermaster"
}
}
}Claude Desktop reads %APPDATA%/Claude/claude_desktop_config.json, Cursor ~/.cursor/mcp.json, Windsurf ~/.codeium/windsurf/mcp_config.json.
First-run model warm-up: On the very first natural language or vision search, the embedding models (BAAI/bge-small-en-v1.5 and clip-ViT-B-32) are downloaded and cached locally by ONNX Runtime (~150 MB). The first query may take 3–5 seconds while loading into memory; every subsequent query executes in ~100 ms.
Agent tools
Tool | Answers |
| What do I own that fits this? Hybrid keyword + semantic. |
| Full metadata, usage notes, gallery, store URL. |
| Maps a feature brief onto owned packs. |
| Will these fight each other? Role conflicts, missing prerequisites. |
| Curated production stacks resolved against your library. |
| Engine, version, render pipeline of a target project. |
| Unpack a local package into |
| Category breakdown and counts. |
| Totals by source and category, local vs cloud. |
Two files let you teach Quartermaster your own vocabulary, no code changes needed:
data/recipes.json— roles, prerequisites, and curated stacks. This is what the conflict linter reasons with: which assets compete for the same job, what needs what, and which combinations you consider a known-good stack.data/concepts.json— the visual vocabulary CLIP scores your screenshots against. The shipped list is game-shaped; if you do archviz or previs, replace it and rebuild.
Both are plain JSON read at runtime, and both have a reference page under docs/.
Other ways in
Desktop app (
run_desktop.bat) — PySide6 spotlight search with tray icon; pressWin+Alt+Vanywhere in Windows. Runs alongside your agent without getting in its way — the database runs in WAL mode, so the GUI writing while your agent searches never blocks either of them.It is more than the search bar, though that is the part you will use most:
Hit space on any result for a full-size preview, the way Finder does it. Detail panes carry up to 24 gallery shots, decoded and cached in the background.
Megascans rows show their scan specs inline — texel density, physical dimensions, PBR map list — so you can tell a 5785 px/m cliff from a 1 m tiling surface without opening the store page.
Reveal in Explorer, Unpack to Unity (same sandbox and demo-stripping as the MCP tool), and Copy Context, which dumps an asset's title, publisher, pipelines, formats, specs and disk path as a plain-text block you can paste straight into a chat.
Filter by source (Unity, Fab, Quixel, Gumroad, Cosmos), by pipeline (HDRP, URP, Built-in), or to what is already on disk.
Logins, harvests and the Quixel sync all run from here with live progress and a running ETA, and every one of them is resumable.
Web UI (
run_ui.bat) — dark-mode dashboard athttp://localhost:7890.In Unity — import
editor_bridge/Quartermaster-Bridge.unitypackage, thenWindow > Quartermaster. Search and import without leaving the editor. Small aside: that bridge package is generated bysrc/build_bridge.py, which writes the same tar formatunpacker.pyreads. Dogfooding on purpose.
Security
This thing holds store sessions and writes into your projects, so it takes the local API seriously:
Every state-changing endpoint requires a token (generated on first run, stored in
data/.auth_token, mirrored for the Unity bridge). Send it asX-Quartermaster-TokenorAuthorization: Bearer; the web UI gets aSameSite=Strictcookie automatically.Cross-origin requests are rejected even with a valid token.
The unpacker sandbox collapses
..segments, strips drive letters and control characters, relocates anything outsideAssets/underAssets/_Quartermaster_Imported/, and asserts the final path lands inside the project — enforced by tests, not vibes (python run_tests.py -v).The image proxy is domain-allowlisted, blocks private ranges and metadata endpoints, re-validates every redirect hop, caps sizes, and prunes the oldest entries once the cache passes its file cap.
Nothing phones home. Your library, embeddings, disk paths, and store sessions stay on this machine.
Configuration
Optional keys in config.json (created on first run):
Key | Default | Purpose |
|
| Web UI / API port. |
|
| Any fastembed-compatible model. Change it and rebuild the index. |
| auto-detected | Override Fab VaultCache locations. |
| demos, docs, PDFs | What the unpacker discards. |
|
| Politeness throttle for enrichment. |
|
| Disk cache for proxied cover art. |
Honest limitations
Windows-first, Linux-capable. Windows is the tested platform, and the
Win+Alt+Vhotkey is Windows-only. Alinux-x64build ships and disk scanning knows the Linux and macOS cache roots, but they see far less mileage than the Windows paths do. There is no macOS build.One machine, one user. No sync, no server mode. Deliberate.
Harvesting is scraping. Unity and Fab change their internals whenever they feel like it, and have — the chunk sizes, endpoints, and GraphQL shapes in here are correct as of the day I shipped, not forever. When a fetch comes back empty,
data/store_harvest.logrecords every JSON response seen; that's where to start digging.Taxonomy is heuristic. Categories are inferred via a multimodal blend of word-boundary tokens, store tags, and zero-shot CLIP visual concept mining from screenshots. Highly stylized titles without screenshots default to
Tools & Utilities, though semantic vector search and hybrid search always cover the entire vault regardless of assigned category. Tuning the visual vocabulary is documented indocs/concepts.md.Indexing stops at the package boundary & store metadata is noisy. Search operates across titles, descriptions, tags, and whole-image CLIP embeddings of gallery screenshots. It faces two structural limits:
No internal asset indexing: It does not unpack archive contents to index individual sub-meshes, prefabs, or internal filenames (e.g. searching for a specific architectural sub-element like a "pantile" or "curved concrete riser" inside a modular environment pack won't hit unless declared in the listing text or prominent in gallery renders).
Vacuous store boilerplate: A noticeable fraction of store listings (particularly Unity's templated
og:description) contain pure marketing boilerplate ("Elevate your workflow with...") that carries zero technical information. The visual CLIP embeddings exist precisely to bridge this gap, but whole-image vectors cannot always resolve fine-grained sub-elements.
Unpacking is Unity-only. Fab assets are indexed and searchable, but
.unitypackageextraction obviously doesn't apply.
When it breaks
Open an issue. It's a solo project, so I can't promise a response time, but I do read them.
What helps, by symptom:
A fetch came back empty or short. This is the most likely thing to break, because the stores change their internals without notice.
data/store_harvest.logrecords every JSON response the harvest saw — the tail of that file is the whole diagnosis. Include it.Search returns nothing sensible. Check
python -m src.vision statusfirst. An unbuilt index degrades to keyword-only silently, and that accounts for most "search is broken" reports.Wrong categories, or a conflict that isn't real. That's usually the knowledge base rather than the code —
docs/recipes.mdanddocs/concepts.mdcover how to fix it yourself, and a PR todata/recipes.jsonwith a rule I don't own the assets to test is genuinely welcome.The standalone won't start. It's
--windowed, so it fails silently.%LOCALAPPDATA%\Quartermaster\data\crash.logis where it lands.
If you build something cool with this, I'd genuinely like to hear about it.
A note on the stores
Quartermaster reads your own account, from your own machine, in a browser you signed into yourself. It holds no credentials, ships nothing to any server of mine, and has no telemetry — the session lives in a local browser profile and the library in a local SQLite file. There is no shared backend to leak.
It is not affiliated with, endorsed by, or connected to Unity Technologies, Epic Games, Gumroad or Leartes Studios. Unity, the Unity Asset Store, Fab, Unreal Engine, Quixel, Megascans, Gumroad, Leartes and Cosmos are trademarks of their respective owners. Automating access to any service is your call to make against that service's terms, and this tool doesn't make it for you.
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
shared AI-context layer for teams — persistent memory your agents search and update over MCP
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates AI assistants like Claude and Cursor directly into the Unity Editor to automate game development workflows. It provides over 40 built-in tools for scene manipulation and project management, while offering a simple C# API for creating custom extensions.9GPL 3.0
- AlicenseBqualityDmaintenanceControl Unity Editor from AI agents. 200+ MCP tools for GameObjects, Scenes, Assets, Materials, Prefabs, Terrain, Physics, Lighting, and more. Works with Claude, Cursor, Windsurf, VS Code Copilot — any MCP client. Zero config: just npx and go.6213MIT
- AlicenseNot gradedqualityDmaintenanceThe first Model Context Protocol server for Unity projects. It gives AI assistants real understanding of Unity scenes, prefabs, and C# scripts through a queryable knowledge graph.571MIT

glade-mcpofficial
AlicenseNot gradedqualityAmaintenanceConnect any MCP-compatible AI client (Claude Code, Cursor, Windsurf) to Unity or Godot. 300+ granular tools, an editor aware system prompt, game design document project context, script semantic search, and skill calibration.205MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tanshaydar/Quartermaster'
If you have feedback or need assistance with the MCP directory API, please join our Discord server