blender-integration

blender-integration is a cursor rule for Cursor from ekakit/lightfast-mcp. It costs 0 tokens per session (1,150 once invoked), scanned A, original, MIT.

A development workflow for editing files that connect Blender, a 3D modeling application, with an MCP server.

In plain words
What is it for?
It is for restarting and checking the Blender server, running fast tests, verifying the health endpoint, testing changed tools, and reloading the Blender add-on.
Why use it?
It provides checks after code changes so the server, Blender connection, tools, and add-on are less likely to remain out of sync.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/ekakit/lightfast-mcp/blender-integration
Clone the repo
git clone --depth 1 https://github.com/ekakit/lightfast-mcp

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for blender-integration

README.md
[![agentmods](https://agentmods.dev/badge/rules/ekakit/lightfast-mcp/blender-integration.svg)](https://agentmods.dev/rules/ekakit/lightfast-mcp/blender-integration)
Your own site
<a href="https://agentmods.dev/rules/ekakit/lightfast-mcp/blender-integration"><img src="https://agentmods.dev/badge/rules/ekakit/lightfast-mcp/blender-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01150
Opus 5 $0.00000 $0.00575
Sonnet 5 $0.00000 $0.00230
Haiku 4.5 $0.00000 $0.00115

Measured 4d ago against content hash 1a531243ee9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

blender-integration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -f http://localhost:8001/health || echo "❌ Blender server not responding"
.cursor/rules/blender-integration.mdc · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Blender Development Workflow

When editing Blender MCP files, follow this specific workflow:

Immediate Actions After Blender Code Changes

  1. Restart Blender Server: Kill and restart the Blender MCP server
  2. Test Blender Connection: Verify connection to Blender instance
  3. Test New/Modified Tools: Use Cursor chat to test Blender tools
  4. Check Blender Addon Status: Ensure addon is still active

Automatic Commands for Blender Development

After Editing Server Files (src/lightfast_mcp/servers/blender/)

# Stop any running Blender server
pkill -f lightfast-blender-server

# Run fast tests
nox -s test_fast

# Start Blender server in background for testing
uv run lightfast-blender-server &
BLENDER_PID=$!

# Wait for server startup
sleep 3

# Test server is responding
curl -f http://localhost:8001/health || echo "❌ Blender server not responding"

# Test via orchestrator
uv run lightfast-mcp-orchestrator ai

After Editing Blender Addon (addons/blender/)

# Note: Blender addon requires manual reload in Blender
echo "🔄 Blender addon updated - reload addon in Blender:"
echo "   1. Open Blender Preferences > Add-ons"
echo "   2. Find 'Lightfast Blender MCP Addon'"
echo "   3. Disable and re-enable the addon"
echo "   4. Check the Lightfast MCP panel shows 'Server active'"

Blender Development Checklist

Before Testing Blender Tools

  • Blender is running (open Blender application)
  • Blender addon is installed and enabled
  • Blender MCP panel shows "Server active" status
  • No port conflicts on 8001 (Blender MCP) and 9876 (Blender internal)
  • Network connectivity between MCP server and Blender

Tool Development Validation

  • Tool descriptions mention 3D/Blender context
  • Error handling for Blender API exceptions
  • Input validation for Blender object names
  • Clear documentation of what the tool does in Blender
  • Test with both empty and populated Blender scenes

Blender Testing Workflow

Read the full file on GitHub · 167 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 167 lines · 0 tokens per session scan A 1a531243ee9e

Subscribe to this mod's changes

blender-integration is a cursor rule published in the GitHub repository ekakit/lightfast-mcp (2 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,150 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.