
3D 资产 API 和 MCP
概览
一次搜索23个资源网站,下载你选中的素材,随时准备放进游戏或网站。无论是在浏览器、Curl、命令行,还是让你的AI助手通过MCP驱动。 “我需要一个低多边形树木包、一个长满苔藓的岩石材质和一个日落HDRI来做我的Three.js场景。”你的助理给search_assets打了三次电话,向你展示他们的许可选项,download_asset把glTF、纹理和HDRI放进你的项目素材/文件夹里。 - 结果会合并并排序,每个网站都有状态线。- 从免费来源你可以直接获得文件:glTF及其.bin和纹理、你要求分辨率的PBR地图、HDRI或为你提取的压缩包。- 每个结果都说明其拥有的许可、是否免费,以及是否必须注明作者。- 屏蔽机器人的网站会以链接回溯到自己的搜索,这样你仍然知道还能去哪里找。 一个慢或坏掉的网站从不会失败。
概述(AI 翻译)
3d-asset-server 一次搜索25个资源网站,下载你选中的,随时发布
进入游戏或网站。无论是在浏览器、curl、命令行,还是让你的AI使用。
助理开车通过MCP开车。
“我需要一个低多边形树木包、一块长满苔藓的岩石材质和一个日落HDRI来做我的 Three.js 场景。”
你的助理打了三次电话给
search_assets,向你展示他们的许可证选项,然后download_asset会把 glTF、纹理和 HDRI 放进你项目的assets/文件夹里。
- 一个查询,多个来源。 结果合并并排序,每个网站都有状态线。
- 真实下载。 从免费来源你可以直接获得文件:glTF 及其
.bin和纹理, PBR地图按你要求的分辨率、HDRI或压缩包(为你提取)提供。 - 先请许可。 每个结果都说明它拥有什么许可,是否免费,以及你是否 必须注明作者。
- 诚实告知被屏蔽的内容。 屏蔽机器人的网站会以链接回溯到他们自己的搜索, 所以你还知道还能去哪儿找。
目录
- 工作原理
- 资料来源
- 快速入门
- Web UI(以及针对 AI 代理)
- MCP:通过AI助手使用
- HTTP API
- CLI
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
3d-asset-server searches 28 asset sites at once and downloads what you pick, ready to drop
into a game or a website. Use it from a browser, from curl, from the command line, or let your AI
assistant drive it over MCP.
“I need a low-poly tree pack, a mossy rock material and a sunset HDRI for my Three.js scene.”
Your assistant calls
search_assetsthree times, shows you the options with their licences, anddownload_assetputs glTF, textures and the HDRI into your project’sassets/folder.
- One query, many sources. Results are merged and ranked, with a status line for every site.
- Real downloads. From free sources you get files directly: glTF with its
.binand textures, PBR maps at the resolution you ask for, HDRIs, or zipped packs (extracted for you). - Licence first. Every result says what licence it has, whether it is free, and whether you must credit the author.
- Honest about what’s blocked. Sites that block bots come back as links to their own search, so you still know where else to look.
Contents
- How it works
- Sources
- Quick start
- Web UI (and for AI agents)
- MCP: use it from an AI assistant
- HTTP API
- CLI
- Downloads
- Configuration
- Project layout
- Development
- Licences & etiquette
How it works
What a single search does:
A slow or broken site never fails the search. It shows up in the per-site report with its error and a link to the same search on that site.
Sources
| Source | Best for | Search | Direct download | Licence |
|---|---|---|---|---|
| Poly Haven | HDRIs, PBR textures, scanned models | API | yes: glTF / blend / fbx, maps, HDR / EXR | CC0 |
| ambientCG | Realistic materials, HDRIs, models | API | yes: per-resolution zips | CC0 |
| CGBookcase | PBR textures | API (catalogue) | no: hotlink-protected CDN, links to the download page | CC0 |
安装
docker run -p 8787:8787 ghcr.io/arielshad/3d-asset-server配置
{
"mcpServers": {
"3d-assets": {
"command": "node",
"args": ["/path/to/3d-asset-server/dist/cli.js", "mcp"],
"env": { "ASSET_DOWNLOAD_DIR": "/path/to/your/game/assets" }
}
}
}