
PicToSTL
io.github.qduoduo-hwh由 GitHub 帳號 qduoduo-hwh 發布v0.1.0更新於 Oct 28, 2026
MCP server for pictostl.com image-to-3D generation
概覽
本機 stdio MCP 伺服器,讓助理透過 pictostl.com 把照片生成 3D 模型,並存成 GLB 或 STL 檔案。
- 可以做什麼
- 查詢生成選項,包含品質、貼圖、多視角規則與點數消耗
- 上傳本機圖片檔案或 HTTPS 圖片網址,取得 assetId
- 啟動非同步 3D 生成工作,並依工作 ID 輪詢狀態
- 列出此 API 金鑰最近的生成紀錄,查看剩餘點數與方案狀態
- 將完成的模型下載為原始 GLB,或在本機轉成二進位 STL 並寫入指定路徑
- 適用情境
- 適合想讓助理在聊天用戶端內把照片轉成 3D 網格、用於視覺化或 3D 列印實驗的情境。也適合需要可重複、可腳本化地執行圖片轉 3D 並輸出本機 GLB/STL 檔案的工作流程。
- 執行需求
- 以本機程序透過 stdio 執行,使用 npx 從 GitHub 儲存庫啟動,需要 Node.js 20 或更新版本。需要 PicToSTL 帳號、於 PICTOSTL_API_KEY 提供的有效 API 金鑰,以及已購買的點數。可選用 PICTOSTL_API_BASE 覆寫 API 基礎網址。需要能透過 HTTPS 連線至 pictostl.com。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 PicToSTL,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
pictostl-mcp
Local stdio MCP server for pictostl.com. Generation runs on pictostl.com — this package uploads photos, starts 3D jobs, and writes GLB or STL files on the machine that hosts the MCP server.
Results are AI-reconstructed meshes for visualization and 3D printing experiments. They are not engineering drawings.
This is a local stdio MCP server distributed from its GitHub repository. pictostl.com does not host a remote MCP HTTP endpoint.
Architecture and data flow
The MCP process runs locally and communicates with https://pictostl.com over HTTPS. Images, generation parameters, and the API key are sent to pictostl.com to upload inputs, create jobs, and retrieve results. GLB-to-STL conversion and final file writing happen locally on the machine running the MCP server.
There is no hosted PicToSTL MCP endpoint. MCP clients start this package locally over stdio; the local process then calls the hosted PicToSTL API.
Get an API key
By using the API or this MCP server you agree to the Terms of Service.
Website browser generation is separate from MCP. MCP always uses an API key.
Install from GitHub
Requires Node.js 20 or newer. The command below installs the repository through npm's Git support and runs its committed JavaScript build. It does not require a published npm package or a local TypeScript compiler.
Claude / Cursor config
Set PICTOSTL_API_KEY to a live key from https://pictostl.com/settings/api-keys.
Optional: PICTOSTL_API_BASE (default https://pictostl.com) for a local website.
Keep the API key in your MCP client's secret or user-level configuration. Do not commit a live key to source control.
For a pinned installation, append a Git tag or commit after the repository name, for example github:qduoduo-hwh/pictostl-mcp#v0.1.0.
Local development
Then configure the MCP client to run node with the absolute path to dist/index.js as its first argument.
Tools
Seven MCP tools:
Typical flow: upload_image → generate_model → get_task (repeat with the same task id if it takes more than 60 seconds) → download_model with that task id.
Do not pass an upload assetId to get_task or download_model.
download_model default is format=stl, longest edge 100 mm, converted locally from the original GLB (not the website preview mesh). STL has geometry only — no color or textures. format=glb writes the original file unchanged.
Reuse clientRequestId from a previous generate_model result when retrying the same job.
Contributing
Improve tool descriptions so agents call the right tool with the right fields. Do not ask for internal fal prompts or provider payloads.
License
MIT
來源:README.md,提交 2ce3d66
工具
0版本歷史
1- v0.1.0最新Sep 23, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分