{"id":50777056,"url":"https://github.com/jbcom/game-asset-mcp","last_synced_at":"2026-06-12T00:30:42.765Z","repository":{"id":356154965,"uuid":"1211950074","full_name":"jbcom/game-asset-mcp","owner":"jbcom","description":"MCP server and catalog library for local 3D game asset libraries","archived":false,"fork":false,"pushed_at":"2026-05-06T20:09:47.000Z","size":334,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-06T22:19:18.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbcom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-15T23:11:55.000Z","updated_at":"2026-05-06T20:09:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jbcom/game-asset-mcp","commit_stats":null,"previous_names":["jbcom/game-asset-mcp"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jbcom/game-asset-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbcom%2Fgame-asset-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbcom%2Fgame-asset-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbcom%2Fgame-asset-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbcom%2Fgame-asset-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbcom","download_url":"https://codeload.github.com/jbcom/game-asset-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbcom%2Fgame-asset-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34224103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-12T00:30:35.798Z","updated_at":"2026-06-12T00:30:42.748Z","avatar_url":"https://github.com/jbcom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# game-asset-mcp\r\n\r\n**MCP server for local 3D game asset libraries** — search, browse, catalog, and download GLB/GLTF assets from your file system and PolyHaven.\r\n\r\nBuilt with [FastMCP](https://github.com/jlowin/fastmcp) · Works with Claude Code, Cursor, Windsurf, and any MCP-compatible client · CC0 PolyHaven integration included\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n### Install\r\n\r\n```bash\r\npip install \"game-asset-mcp[server,polyhaven]\"\r\n```\r\n\r\n### Configure\r\n\r\nSet your asset library root:\r\n\r\n```bash\r\nexport ASSETS_ROOT=/path/to/your/3d-assets\r\nexport CATALOG_DB=~/.local/share/game-asset-mcp/catalog.db  # optional, this is the default\r\n```\r\n\r\n### Ingest your library\r\n\r\n```bash\r\ngame-asset-ingest\r\n```\r\n\r\nThis scans all `.glb` files in `ASSETS_ROOT`, extracts mesh stats (vertices, faces, materials, animations), and builds a searchable SQLite catalog. **Idempotent** — only re-processes files that have changed size.\r\n\r\n---\r\n\r\n## Add to Claude Code\r\n\r\n```bash\r\nclaude mcp add game-asset-library \\\r\n  -e ASSETS_ROOT=/path/to/your/3d-assets \\\r\n  -- game-asset-mcp\r\n```\r\n\r\nOr add to `~/.claude.json` manually:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"game-asset-library\": {\r\n      \"type\": \"stdio\",\r\n      \"command\": \"game-asset-mcp\",\r\n      \"env\": {\r\n        \"ASSETS_ROOT\": \"/path/to/your/3d-assets\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Add to Cursor\r\n\r\nAdd to `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json` globally):\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"game-asset-library\": {\r\n      \"command\": \"game-asset-mcp\",\r\n      \"env\": {\r\n        \"ASSETS_ROOT\": \"/path/to/your/3d-assets\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n## Add to Windsurf\r\n\r\nAdd to `~/.codeium/windsurf/mcp_config.json`:\r\n\r\n```json\r\n{\r\n  \"mcpServers\": {\r\n    \"game-asset-library\": {\r\n      \"command\": \"game-asset-mcp\",\r\n      \"env\": {\r\n        \"ASSETS_ROOT\": \"/path/to/your/3d-assets\"\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Available Tools\r\n\r\n| Tool | Description |\r\n|------|-------------|\r\n| `search_assets` | Hybrid keyword + FTS search across all GLBs |\r\n| `browse_taxonomy` | Navigate your directory taxonomy (macro → meso → micro → pack) |\r\n| `list_categories` | List all categories with GLB counts |\r\n| `get_asset_info` | Full metadata for one asset (mesh stats, preview path, etc.) |\r\n| `copy_asset` | Copy a GLB into your game project directory |\r\n| `get_preview` | Return path to an existing PNG thumbnail |\r\n| `generate_preview` | Render a 512×512 thumbnail via headless Blender |\r\n| `run_ingest` | Re-scan library and update catalog (idempotent) |\r\n| `get_catalog_stats` | Summary statistics (total assets, with textures, with armatures) |\r\n| `search_polyhaven` | Search [PolyHaven](https://polyhaven.com) for free CC0 models/HDRIs/textures |\r\n| `download_polyhaven_asset` | Download a PolyHaven asset and auto-add to your catalog |\r\n\r\n---\r\n\r\n## Taxonomy Convention\r\n\r\n`game-asset-mcp` works best with assets organized as:\r\n\r\n```\r\nASSETS_ROOT/\r\n├── 3DLowPoly/\r\n│   ├── Characters/\r\n│   │   ├── Animated/\r\n│   │   │   └── \u003cpack-name\u003e/  ← GLBs here\r\n│   │   └── Animals/\r\n│   ├── Props/\r\n│   │   └── Weapons/\r\n│   └── Environment/\r\n│       └── Nature/\r\n├── 3DPSX/\r\n│   └── ...\r\n└── 2DPhotorealistic/\r\n    ├── HDRIs/\r\n    └── Textures/\r\n```\r\n\r\nThe `browse_taxonomy` tool navigates this as **style → category → sub-category → pack**. Flat libraries work too — `search_assets` does full-text search on filenames and directory names regardless of structure.\r\n\r\n---\r\n\r\n## PolyHaven Integration\r\n\r\nSearch and download free CC0 assets from [polyhaven.com](https://polyhaven.com):\r\n\r\n```\r\nsearch_polyhaven(\"oak tree\", asset_type=\"models\")\r\ndownload_polyhaven_asset(\"oak_tree\", asset_type=\"models\", resolution=\"1k\")\r\n```\r\n\r\nDownloads are automatically placed in the correct taxonomy directory and added to the catalog.\r\n\r\n| PolyHaven Type | Local Path |\r\n|----------------|------------|\r\n| `models` | `ASSETS_ROOT/3DLowPoly/\u003ccategory\u003e/polyhaven/\u003cid\u003e/` |\r\n| `hdris` | `ASSETS_ROOT/2DPhotorealistic/HDRIs/polyhaven/\u003cid\u003e/` |\r\n| `textures` | `ASSETS_ROOT/2DPhotorealistic/Textures/polyhaven/\u003cid\u003e/` |\r\n\r\n---\r\n\r\n## Environment Variables\r\n\r\n| Variable | Default | Description |\r\n|----------|---------|-------------|\r\n| `ASSETS_ROOT` | `~/assets` | Root directory of your 3D asset library |\r\n| `CATALOG_DB` | `~/.local/share/game-asset-mcp/catalog.db` | SQLite catalog path |\r\n| `BLENDER` | `/opt/homebrew/bin/blender` | Blender binary (only needed for `generate_preview`) |\r\n\r\n---\r\n\r\n## Development\n\n```bash\nuv sync --extra all --extra tests --group dev\nuv run game-asset-mcp\n```\n\nVerification:\n\n```bash\nuv run python -m ruff check .\nuv run python -m mypy src\nuv run python -m pytest tests -v --tb=short\n```\n\r\n---\r\n\r\n## License\r\n\r\nMIT © Jon Bogaty — PolyHaven assets are [CC0](https://polyhaven.com/license)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbcom%2Fgame-asset-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbcom%2Fgame-asset-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbcom%2Fgame-asset-mcp/lists"}