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

dcc-mcp-blender

AGENTS.md71 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 code style.

    Of the AGENTS.md files we read, the 35,337 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

10 rules. About 0 are common, 2 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    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. Distinctive:

    Before content production, follow the shared production reuse gate and [showcase evidence

    line 77
  5. Very specific:

    Use the existing provider blender-extension-store to discover/download, then the bundled

    line 79
  6. Very specific:

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

    line 134
  7. Very specific:

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

    line 137
  8. Very specific:

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

    line 182
  9. Very specific:

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

    line 184
  10. Very specific:

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

    line 190

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

Before content production, follow the shared production reuse gate and showcase evidence contract. Use the existing provider blender-extension-store to discover/download, then the bundled blender-extensions to plan/install/enable; keep the provider's verified package handoff.

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.

CI gate weight

ci.yml lint jobs are gating — Lint and Lint SKILL.md files have no continue-on-error, so a real failure turns the PR red. core-latest keeps continue-on-error: true on purpose: it is an early-warning probe against the newest published Core and must not block merges.

Release PRs are not exempt. .github/workflows/ci-release-pr.yml posts no lint statuses at all: it only validates release metadata and changed files, so Lint and Lint SKILL.md files on a release PR come from real ci.yml runs, exactly as on any other PR. It previously preseeded pre-computed success statuses for both jobs; that was removed because ci.yml uses concurrency.cancel-in-progress: true, so a cancelled real run would leave the preseeded success as the newest state on a required context.

Removing the preseeding is fail-safe but has a consequence worth knowing once Lint / Lint SKILL.md files become required checks: if a release branch is pushed twice in quick succession, cancel-in-progress: true cancels the first real run and it reports no status at all. The context then reads missing rather than red, and a release PR blocks on a missing required check until someone re-runs the workflow manually. That is the correct trade — a missing check cannot be mistaken for a pass, whereas the old preseeded success could — but it means an unexplained "required check missing" on a release PR is expected, not a broken workflow.

That metadata gate runs only when the head branch starts with release-please-- and the author is github-actions[bot] / release-please[bot]; a human-authored release branch validates nothing and falls through to regular CI. The changed files must additionally fall inside the release allowlist in that workflow; widening the allowlist widens what the workflow vouches for. See the workflow header comment for the full rationale.

Ruff is pinned with an upper bound (>=0.8.0,<0.17.0) in both ci.yml and the dev extra in pyproject.toml, and the two must stay in sync. Ruff is pre-1.0, so a minor release can add rules or change formatter output; since Lint gates merges, an unbounded pin would let a ruff release turn every PR in the repo red without any code changing.

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.