How the receive_full_response Method Handles Chunked Responses from Blender
The receive_full_response method in src/blender_mcp/server.py accumulates TCP socket chunks in a buffer, attempting to parse the concatenated bytes as JSON after each read to detect when the complete Blender response has arrived.
When communicating with the Blender add-on via TCP, large JSON payloads may arrive fragmented across multiple network packets. The receive_full_response method in the ahujasid/blender-mcp repository implements a robust reassembly strategy that guarantees complete message delivery before returning control to the caller.
The Chunked Response Buffer Architecture
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →