npm @picoberry/mcp-serverstdioMITupdated 27d ago
Generate 3D models, images, and animations for game and 3D workflows from any MCP client — Claude Code, Cursor, Claude Desktop, Cline — with no HTTP glue. A thin wrapper over the PicoBerry /v1 API, so you get PicoBerry's multi-engine pipeline directly inside your agent. Several 3D and image engines sit behind one API; call listmodels for the live set and each engine's cost. Generated assets are drafts — useful for prototyping and iteration, and can be reviewed or refined for your project.
PicoBerry 能做什么?
Generate 3D models, images, and animations for game and 3D workflows from any
MCP client — Claude Code, Cursor, Claude Desktop, Cline — with no HTTP glue. A thin
wrapper over the PicoBerry /v1 API, so you get PicoBerry's
multi-engine pipeline directly inside your agent. Several 3D and image engines
sit behind one API; call list_models for the live set and each engine's cost.
Generated assets are drafts — useful for prototyping and iteration, and can be
reviewed or refined for your project.
📖 Full reference: API + MCP docs · PicoBerry API
There's no separate subscription for the MCP or the API. Generation spends the same prepaid PicoBerry credits as the web app, per engine, at rates you can read with
list_modelsbefore you spend anything. (Using the API does require a completed purchase — see Get an API key.)
Install
No install needed — run it with npx:
// Claude Code: .mcp.json · Claude Desktop: claude_desktop_config.json
{
"mcpServers": {
"picoberry": {
"command": "npx",
"args": ["-y", "@picoberry/mcp-server"],
"env": {
"PICOBERRY_API_KEY": "pb_live_xxxxxxxxxxxxxxxx"
}
}
}
}
Cursor uses the same shape in ~/.cursor/mcp.json.
Get an API key
Sign in at https://picoberry.ai, open the API Keys tab in your dashboard, and hit Create key. The key is shown once — copy it immediately and treat it like a password.
API access needs a completed purchase: a subscription or a one-off credit pack. A purchase entitles you permanently — you don't need a current subscription. (An active paid subscription works too, of course.)
Environment variables
| Var | Required | Default | Notes |
|---|---|---|---|
PICOBERRY_API_KEY |
✅ | — | pb_live_... |
PICOBERRY_API_BASE |
— | https://api.picoberry.ai |
leave unset unless you were given a different host |
Tools
| Tool | What it does |
|---|---|
list_models |
Engines + credit cost for a category (3d / image / parts-board / remesh / texture / animate). Call before generating — don't hardcode engines. |
list_animation_presets |
Animation preset ids (engine-specific), with optional substring filter. |
get_credits |
Current credit balance + plan. |
generate_image |
Text → image (+ optional reference image URLs). |
generate_3d_from_text |
Text → 3D model (GLB). |
generate_3d_from_image |
Image → 3D model. Single: image_url or local image_path. Multi-view (2–4 views, higher fidelity): image_urls or image_paths, ordered [front, left, back, right] — tripo*/meshy6/hunyuan-3.x only. |
parts_board |
Decompose one image into an exploded parts-board image (server-fixed engine). Input asset_id, image_url, or local image_path; feed the result to generate_3d_from_image for a parts-separated mesh. |
remesh |
Retopologize an existing 3D asset → new asset. |
texture |
Re-texture (PBR) an existing 3D asset → new asset. |
animate |
Auto-rig + animate an existing 3D character → new asset. |
get_asset |
Status + result URLs for one asset. |
wait_for_asset |
Poll until an asset finishes (or times out), then return it. |
list_my_assets |
Browse your generated assets. |
download_asset |
Export a completed 3D asset (glb / fbx / obj) → signed URL. |
How generation works
Generation is asynchronous:
generate_3d_from_text({ prompt })→ returns an asset{ id }.wait_for_asset({ asset_id: id })→ polls untiltaskStatus === 2(succeeded).- Read the result URL from
files.model(GLB) orfiles.image(PNG).
taskStatus: 0 pending · 1 processing · 2 succeeded · 3 failed. Result
URLs are signed and short-lived — download promptly. Errors come back with an
actionable message (e.g. an unknown engine returns the list of valid names).
Example (in an agent)
"Make a low-poly treasure chest, retopo it to 3k tris, and give me a Unity FBX."
list_models(category="3d") → pick an engine
generate_3d_from_text(prompt="low-poly treasure chest") → { id: A }
wait_for_asset(asset_id=A) → taskStatus 2
remesh(asset_id=A, polycount=3000) → { id: B }
wait_for_asset(asset_id=B)
download_asset(asset_id=B, format="fbx", texture_preset="unity") → signed URL
Use it alongside Blender MCP
Run this next to blender-mcp and the
agent can generate with PicoBerry, then import into Blender in one flow:
{
"mcpServers": {
"picoberry": { "command": "npx", "args": ["-y", "@picoberry/mcp-server"], "env": { "PICOBERRY_API_KEY": "pb_live_..." } },
"blender": { "command": "uvx", "args": ["blender-mcp"] }
}
}
Develop
npm install
npm run build # tsc → dist/
PICOBERRY_API_KEY=pb_live_... npm start
Release
Run Actions → Publish → Run workflow (or push a v* tag). It publishes to
npm and then to the official MCP registry, in that order — the registry
validates by fetching the package's npm metadata and matching its mcpName
against server.json's name, so npm has to land first. A guard step checks
every invariant (name/version agreement, namespace casing, version not already
on npm) before anything is published, because npm versions are immutable and a
failed half-publish burns the number.
Bump version in both package.json and server.json (version and
packages[0].version) — the guard fails the run if they disagree.
One-time setup — no secrets. Both publishes authenticate over the workflow's
GitHub OIDC token (id-token: write). There is nothing to store or rotate.
The only step is telling npm to trust this workflow. On npmjs.com go to @picoberry/mcp-server → Settings → Trusted publishing → GitHub Actions and enter:
| Field | Value |
|---|---|
| Organization or user | UModeler |
| Repository | picoberry-mcp |
| Workflow filename | publish.yml |
| Environment name | (leave empty) |
| Allowed actions | npm publish |
The workflow filename must match exactly — it is part of what npm verifies.
The MCP registry needs no setup at all: mcp-publisher exchanges the Actions
OIDC token, and the registry grants io.github.<repository_owner>/* from the
token's repository_owner claim. That covers io.github.UModeler/picoberry-mcp
and avoids the interactive browser login (which additionally requires org Owner).
Trusted Publishing needs npm >= 11.5.1, so the workflow runs on Node 24 (npm 11.x). Node 22 still bundles npm 10.9 and would fail — the
node-versionpin is load-bearing. A guard step fails the run early if the runner ever ships an older npm.
The namespace is compared byte-exactly —
io.github.UModeler/..., matching the GitHub org's login. A lowercasedio.github.umodeler/...is rejected 403.
After publishing, claim the Glama listing
— unclaimed servers get limited discoverability, and awesome-mcp-servers gates
its PRs on a Glama badge in CI.
License
MIT
安装
把 PicoBerry 添加到你的客户端。选择你正在使用的那个。
claude mcp add mcp-server -- npx -y @picoberry/mcp-servercodex mcp add mcp-server -- npx -y @picoberry/mcp-serveramp mcp add mcp-server -- npx -y @picoberry/mcp-server{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp-server","command":"npx","args":["-y","@picoberry/mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@picoberry/mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @picoberry/mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
11 个工具
PicoBerry 向已连接的智能体提供 11 个工具。
- list_models
- Engines + credit cost for a category (`3d` / `image` / `parts-board` / `remesh` / `texture` / `animate`). Call before generating — don't hardcode engines.
- list_animation_presets
- Animation preset ids (engine-specific), with optional substring filter.
- get_credits
- Current credit balance + plan.
- generate_image
- Text → image (+ optional reference image URLs).
- generate_3d_from_text
- Text → 3D model (GLB).
- generate_3d_from_image
- Image → 3D model. Single: `image_url` or local `image_path`. Multi-view (2–4 views, higher fidelity): `image_urls` or `image_paths`, ordered [front, left, back, right] — tripo\*/meshy6/hunyuan-3.x only.
- parts_board
- Decompose one image into an exploded parts-board image (server-fixed engine). Input `asset_id`, `image_url`, or local `image_path`; feed the result to `generate_3d_from_image` for a parts-separated mesh.
- get_asset
- Status + result URLs for one asset.
- wait_for_asset
- Poll until an asset finishes (or times out), then return it.
- list_my_assets
- Browse your generated assets.
- download_asset
- Export a completed 3D asset (`glb` / `fbx` / `obj`) → signed URL.
评分
86 / 100
优秀
- 文档25/25
- 维护25/25
- 可信度16/20
- 能力8/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 19 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 11 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.5最新 | 2026年8月12日 |
| 0.1.3 | 2026年7月19日 |
| 0.1.2 | 2026年7月16日 |
| 0.1.1 | 2026年7月16日 |