agentleFS
dcc-mcpdcc-mcp/dcc-mcp-blender/AGENTS.md

dcc-mcp-blender

AGENTS.md45 starsChanged 2 months agoMITView on GitHub

Navigation map for AI agents. Detailed API lives in README.md and llms.txt. This file is a map, not an encyclopedia — follow the links for depth. Host-side helpers (verify recipe names in justfile before inventing new ones): AI agent runtimes default to the shared gateway through the dcc-mcp skill and dcc-mcp-cli REST commands: Use dcc-mcp-cli list for live instances and dcc-mcp-cli dcc-types for release-catalog support. IDE users may continue to configure the gateway MCP endpoint; adapter-local Python start APIs are…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use dcc-mcp-cli list for live instances and dcc-mcp-cli dcc-types for release-catalog support.

    line 35
  2. Very specific:

    If dcc-mcp-cli is missing, obtain user consent before using the official install commands in the README Agent workflow.

    line 41
  3. Distinctive:

    Python: use Blender's bundled interpreter — Blender 4.5 ships 3.11, 5.2 ships 3.13.

    line 68
  4. Very specific:

    Only once a release *is* cut does the prefix choose the bump.

    line 128
  5. Very specific:

    Use chore: when the batch should not cut a release.

    line 131
  6. Very specific:

    Do keep this file a navigation map — long reference material belongs in docs/ or the skill index.

    line 138
  7. Very specific:

    Don't: add CLAUDE.md / GEMINI.md / CURSOR.md / ANTHROPIC.md / OPENAI.md / COPILOT.md / CODEBUDDY.md / .cursorrules / .clinerules / …

    line 140
  8. Very specific:

    Don't: commit build artifacts to the repo root (*.o, coverage.json, audit-result.json, clippy_check.txt, commit_msg.txt).

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — dcc-mcp-blender

Navigation map for AI agents. Detailed API lives in README.md and llms.txt. This file is a map, not an encyclopedia — follow the links for depth.

Build & test

vx just setup              # install dev deps + verify imports
vx just check              # ruff lint + quick tests
vx just prek               # pre-commit gate: autofix, format, lint, quick tests
vx just ci                 # lint-all + coverage (local CI simulation)

Host-side helpers (verify recipe names in justfile before inventing new ones):

vx just blender-link           # symlink src/dcc_mcp_blender into Blender's addons dir
vx just blender-link-win       # same, PowerShell (native Windows)
vx just blender-addon-zip      # build the installable extension ZIP into dist_addon/
vx just test file=tests/test_api.py   # run one test file

Agent control path

AI agent runtimes default to the shared gateway through the dcc-mcp skill and dcc-mcp-cli REST commands:

dcc-mcp-cli search --query "<task>" --dcc-type blender
dcc-mcp-cli describe <tool-slug>
dcc-mcp-cli call <tool-slug> --json '{"key":"value"}'

Use dcc-mcp-cli list for live instances and dcc-mcp-cli dcc-types for release-catalog support. IDE users may continue to configure the gateway MCP endpoint; adapter-local Python start APIs are for host bootstrap and tests.

CLI availability and updates

If dcc-mcp-cli is missing, obtain user consent before using the official install commands in the README Agent workflow. Keep an official build current with:

dcc-mcp-cli update check
dcc-mcp-cli update apply

update apply stages the latest CLI for the next launch; it does not replace a running server.

Quick start

import dcc_mcp_blender
handle = dcc_mcp_blender.start_server()
# MCP client connects through http://127.0.0.1:9765/mcp

Or install the Blender extension (ZIP) and the server starts automatically.

Quick facts

  • Target host: Blender 4.5+ (4.5.13 LTS and 5.2.1 are the CI targets on Windows/Linux/macOS). 4.5 is the minimum supported host; acceptance boundaries are documented in README.md.
  • Python: use Blender's bundled interpreter — Blender 4.5 ships 3.11, 5.2 ships 3.13.
  • Core dependency: dcc-mcp-core>=0.20.0,<0.21.0; entry point declared in pyproject.toml under [project.entry-points."dcc_mcp.adapters"].
  • Do not assume: an external gateway or subprocess bridge is required — the MCP Streamable HTTP server runs inside Blender.

Skills-first workflow

search_skills(query="render")  → find a typed skill
load_skill("blender-animation") → expand its tools
call blender_animation__set_keyframe
execute_python only when no typed skill fits

Repo layout

PathRole
src/dcc_mcp_blender/server.pyBlenderMcpServer composition root, metrics, jobs
src/dcc_mcp_blender/dispatcher/GUI + headless thread-affinity dispatchers
src/dcc_mcp_blender/host.pyHost adapter abstracting Blender's main thread
src/dcc_mcp_blender/api.pySkill authoring helpers (blender_success, with_main_thread)
src/dcc_mcp_blender/context_snapshot.pyScene / selection / frame context provider
src/dcc_mcp_blender/skills/25+ bundled skill packages (200+ typed MCP tools)
src/dcc_mcp_blender/skills/SKILLS_INDEX.mdAuthoritative skill + tool index, staged loading
tests/Unit, contract, packaging and e2e tests
tools/Skill linter, version probe, Windows dev-link helpers
packaging/Addon ZIP assembly (assemble_zip.py) + release smoke checklist
docs/Capability coverage, protocol compatibility, vendor integrations

Reference material (follow, do not inline)

  • Bundled skill + tool inventory: src/dcc_mcp_blender/skills/SKILLS_INDEX.md
  • Capability coverage: docs/capability-coverage.md
  • Environment variables: README.md (full DCC_MCP_BLENDER_* table)
  • One-page core reference: llms.txt
  • Agent-facing install: install.md
  • Setup skill: skills/dcc-mcp-blender-setup/SKILL.md
  • Geometry pitfalls: skills/dcc-blender-assembly-pitfalls/SKILL.md

Vendor integration notes

  • docs/integrations/claude.md — Claude Desktop config, progressive loading, viewport + cancellation tips.
  • docs/integrations/gemini.md — Gemini / Vertex setup, code-first skill generation, structured result parsing.

Release

  • release-please drives versioning from Conventional Commits on main.
  • Whether a release is cut at all is a changelog question, not a prefix question: if every commit in the batch lands in a hidden: true section the changelog entry is empty, and release-please skips the whole batch — no release pull request, no version bump (strategies/base.ts logs “No user facing commits found since … - skipping” when changelogEmpty() finds only the heading line).
  • This repo overrides changelog-sections in release-please-config.json: feat:, fix:, perf:, refactor: and docs: are visible; style:, chore:, test:, ci: and build: are hidden: true. A visible refactor: therefore cuts a release.
  • Only once a release is cut does the prefix choose the bump. This repo is pre-1.0 and sets bump-minor-pre-major and bump-patch-for-minor-pre-major, so on 0.x: breaking → minor and feat: → patch — not major/minor. Anything else → patch.
  • Use chore: when the batch should not cut a release; use docs: when doc-only work should cut a patch release.

Do / Don't

  • Do single-source agent instructions here. This is the only agent contract file at the repo root.
  • Do keep this file a navigation map — long reference material belongs in docs/ or the skill index.
  • Don't add CLAUDE.md / GEMINI.md / CURSOR.md / ANTHROPIC.md / OPENAI.md / COPILOT.md / CODEBUDDY.md / .cursorrules / .clinerules / .windsurfrules at the root. Vendor-specific notes live under docs/integrations/, linked from here.
  • Don't hardcode an exact version in tests (assert __version__ == "X.Y.Z") — release-please bumps will break it. Use >= or read package metadata.
  • Don't commit build artifacts to the repo root (*.o, coverage.json, audit-result.json, clippy_check.txt, commit_msg.txt).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.