daz-mcp-server
CLAUDE.md45 starsChanged 5 months agoMITView on GitHub
Handoff: D:\OpenCode\Projects\daz-mcp-dev-handoff.md Bug-Katalog: C:\Users\Black-Byte\Development\pinkcharakter\docs\daz-mcp-bridge-bugs.md
- Commits and pushes
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 80
Use bd for ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists
- Very specific: line 81
Run bd prime for detailed command reference and session close protocol
- Very specific: line 82
Use bd remember for persistent knowledge — do NOT use MEMORY.md files
- Very specific: line 90
Conservative (default): Use bd for task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked.
- Very specific: line 91
Minimal: Keep tool instruction files as pointers to bd prime.
- Distinctive: line 92
Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of …
- Distinctive: line 98
File issues for remaining work: - Create beads for anything that needs follow-up
- Distinctive: line 115
Do not commit or push without clear authority from the active profile or the current user request.
- Distinctive: line 116
If a required sync or push is blocked, stop and report the exact command and error.
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md (Project Index)
Handoff: D:\OpenCode\Projects\daz-mcp-dev-handoff.md
Bug-Katalog: C:\Users\Black-Byte\Development\pinkcharakter\docs\daz-mcp-bridge-bugs.md
Primary Commands
uv sync- Install dependenciesuv run pytest tests/ -m "not integration and not slow"- Unit tests only (safe while DAZ Studio is running)uv run pytest tests/ -v- All tests. Integration tests run against DAZ Studio whenever it is reachable on 18811 (they render and add nodes), so close Studio or use the line above unless you mean it.uv run daz-mcp-server- Run the MCP server (stdio); released builds run withuvx daz-mcp-server- Release: bump
pyproject.toml, README badge/compatibility row,CLAUDE.mdversion andCHANGELOG.md; merge; push tagvX.Y.Z→.github/workflows/release.ymlpublishes to PyPI (Trusted Publishing, environmentpypi) and creates the GitHub release
Skill Modules (Reference with @)
- @SKILL_DEVELOPMENT.md: Server architecture, MCP registry, and testing.
- @src/daz_mcp_server/guides/dazscript.md: DazScript environment, globals, syntax rules, and "gotchas."
- @src/daz_mcp_server/guides/scene.md: Scene layout, hierarchy, batch operations, and content browsing.
- @src/daz_mcp_server/guides/actors.md: Morphs, emotions, posing, interaction, and character movement.
- @src/daz_mcp_server/guides/cinema.md: Cameras, lighting, animation, shot composition, and rendering.
Architecture Summary
- Version: 0.10.0 (source of truth:
pyproject.toml;tests/test_version_consistency.pychecks the docs and the server match it) - Bridge: Connects to DazScriptServer (port 18811)
- Registry: 167 tools registered across 16 tool modules.
- Structure: Modular —
_mcp.pyholds shared FastMCP instance;tools/__init__.pyimports all 16 modules so@mcp.tool()decorators fire at import time. - Scene recipes:
tools/recipe.py—daz_recipe_validate/plan/apply/observe/render+daz://recipe/schemaresources, compact profile, thin wrappers overdazpy.recipe(see src/daz_mcp_server/guides/recipe.md) - Phase 4.8: Lighting Animation —
daz_animate_light,daz_create_light_sequence - Phase 4.9: Shot Planning —
daz_plan_shot,daz_create_storyboard - Phase 4.10: Focus & DOF —
daz_set_focus_point,daz_animate_focus_pull - Phase 4.11: Visual Composition —
daz_set_scene_atmosphere,daz_apply_visual_style - Phase 4.12: Multi-Scene Management —
daz_export_node_config,daz_import_node_config - Phase 4.13: Performance Timing —
daz_time_expression,daz_sync_character_beats - Phase 5: Gap Coverage —
daz_list_materials,daz_get_material,daz_set_material_property,daz_set_morph,daz_delete_node,daz_list_lights,daz_create_light,daz_list_cameras,daz_create_camera,daz_save_scene,daz_get_selected_nodes,daz_set_render_output,daz_reset_pose - Phase 6.1: Wardrobe —
daz_list_fitted_items,daz_fit_clothing,daz_unfit_item - Phase 6.2: dForce Simulation —
daz_add_dforce_dynamic_surface,daz_set_dforce_influence_weights,daz_get_dforce_influence_weights,daz_run_dforce_simulation,daz_bake_simulation,daz_set_dforce_property - Phase 6.3: Pose Library —
daz_save_pose,daz_load_pose - Phase 6.4: Material Preset —
daz_apply_material_preset,daz_copy_material - Phase 6.5: Figure Diagnostics —
daz_get_figure_info,daz_set_subdivision - Phase 6.6: Scene Export —
daz_export_fbx,daz_export_obj - Phase 6.7: Shader-class fixup —
daz_convert_to_iray_uber(fixes content that lands as legacyDzDefaultMaterialinstead ofDzUberIrayMaterialafter a raw/merged.dufimport) - Phase 6.8: Transfer Utility —
daz_run_transfer_utility(headlessDzTransferUtilityprojection of rigging/morphs/UVs/groups between nodes; Bug-Katalog #17) - Phase 6.9: dForce Surface Properties —
daz_get_dforce_surface_properties,daz_set_dforce_surface_property(per-materialDzDForceSettingsProvider— Collision Offset, Self Collide, Dynamics Strength, stiffness, etc.; Bug-Katalog #18) - Phase 6.11: Content-Library Asset Export —
daz_save_prop_asset(headlessDzNodeSupportAssetFilterProp/Figure Support Asset export; Bug-Katalog #22 Teil 1) - Phase 6.12: Morph Loader Pro —
daz_load_morph_pro(headlessDzMorphLoaderOBJ morph-target import: load mode, mirroring, overwrite mode, reverse deformations, subdivision mapping, attenuation maps, ERC control-property linking; harvested from fork ebf444a) - Phase 6.12: Wearable Preset export —
daz_save_wearable_preset(fit-to-figure asset export via Windows UI Automation, working around a reproducibly brokenDzWearablesAssetFilter.doSave()script API; Windows-only, requirespywinauto; Bug-Katalog #22 Teil 2; harvested from fork 6a0f9c1)
Render API (DazScriptServer native endpoints)
daz_render_async, daz_render_with_camera_async, daz_batch_render_cameras_async use
POST /render and POST /render/batch directly (not the script registry). Render IDs have
prefix rnd-; daz_cancel_request routes these to POST /render/:id/cancel automatically.
daz_render_batch — new: submit up to 100 variants with per-variant morph overrides.
<!-- BEGIN BEADS INTEGRATION v:1 profile:minimal hash:6cd5cc61 -->Beads Issue Tracker
This project uses bd (beads) for issue tracking. Run bd prime to see full workflow context and commands.
Quick Reference
bd ready # Find available work
bd show <id> # View issue details
bd update <id> --claim # Claim work
bd close <id> # Complete workRules
- Use
bdfor ALL task tracking — do NOT use TodoWrite, TaskCreate, or markdown TODO lists - Run
bd primefor detailed command reference and session close protocol - Use
bd rememberfor persistent knowledge — do NOT use MEMORY.md files
Architecture in one line: issues live in a local Dolt DB; sync uses refs/dolt/data on your git remote; .beads/issues.jsonl is a passive export. See https://github.com/gastownhall/beads/blob/main/docs/SYNC_CONCEPTS.md for details and anti-patterns.
Agent Context Profiles
The managed Beads block is task-tracking guidance, not permission to override repository, user, or orchestrator instructions.
- Conservative (default): Use
bdfor task tracking. Do not run git commits, git pushes, or Dolt remote sync unless explicitly asked. At handoff, report changed files, validation, and suggested next commands. - Minimal: Keep tool instruction files as pointers to
bd prime; use the same conservative git policy unless active instructions say otherwise. - Team-maintainer: Only when the repository explicitly opts in, agents may close beads, run quality gates, commit, and push as part of session close. A current "do not commit" or "do not push" instruction still wins.
Session Completion
This protocol applies when ending a Beads implementation workflow. It is subordinate to explicit user, repository, and orchestrator instructions.
- File issues for remaining work - Create beads for anything that needs follow-up
- Run quality gates (if code changed) - Tests, linters, builds
- Update issue status - Close finished work, update in-progress items
- Handle git/sync by active profile:
# Conservative/minimal/default: report status and proposed commands; wait for approval. git status # Team-maintainer opt-in only, unless current instructions forbid it: git pull --rebase git push git status - Hand off - Summarize changes, validation, issue status, and any blocked sync/commit/push step
Critical rules:
- Explicit user or orchestrator instructions override this Beads block.
- Do not commit or push without clear authority from the active profile or the current user request.
- If a required sync or push is blocked, stop and report the exact command and error.
<!-- END BEADS INTEGRATION -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

