Skip to main content

scenesonar-mcp

MCP server for SceneSonar - geometry telemetry for AI agents working in a Unity or Blender scene.

It measures, per frame, where one mesh is relative to another (penetration depth, gaps, contacts) and returns counts, an event stream and point-cloud images. This is touch, not sight: it answers where and when, not how it looks.

Install

pip install scenesonar-mcp

Unity needs the package com.paveltphp.scenesonar (see the repository README). Blender is included in the package: the server finds scenesonar_blender.py next to its own modules (sonar_config prints the exact path). Live mode additionally needs the MCP for Blender add-on answering on 127.0.0.1:9876; headless mode needs only blender.exe (blenderPath).

Configure

~/.scenesonar/config.json:

{
  "projectPath": "D:/MyGame",
  "unityPath": "C:/Program Files/Unity/Hub/Editor/6000.0.0f1/Editor/Unity.exe",
  "blenderPath": "C:/Program Files/Blender Foundation/Blender 5.3/blender.exe",
  "outRoot": "D:/SceneSonarRuns"
}

Environment overrides: SCENESONAR_PROJECT, SCENESONAR_UNITY, SCENESONAR_BLENDER, SCENESONAR_OUTROOT, SCENESONAR_BLENDER_DIR.

Add to an agent

{
  "mcpServers": {
    "scenesonar": {
      "command": "scenesonar-mcp"
    }
  }
}

Tools

Unity:

  • sonar_start - launch a run (Unity in batch mode; the editor must be closed);
  • sonar_status - running / done / failed, sample count, log tail;
  • sonar_report - max penetration, event counts, detector self-test, worst points, timeline;
  • sonar_events - when a vertex entered or left another mesh;
  • sonar_view / sonar_slice - point-cloud images and cross-sections;
  • sonar_clip - GIF, render-vs-sonar pair, or worst frames;
  • sonar_list / sonar_config.

Blender:

  • sonar_blender_scene - objects, triangle and per-material counts, armatures, actions;
  • sonar_blender - start a run: headless (blend=path) or live (live=True, sliced so the UI stays responsive), with motion="bone:degrees:Hz" or an action.

The reporting tools above are shared: a Blender run is read exactly like a Unity run.

License

MIT.

Metadata

Release files for scenesonar-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for scenesonar-mcp 0.2.1
File Interpreter ABI Platform Actions
scenesonar_mcp-0.2.1-py3-none-any.whl Python 3 none any Details for scenesonar_mcp-0.2.1-py3-none-any.whl

Release files / scenesonar_mcp-0.2.1-py3-none-any.whl

Download URL scenesonar_mcp-0.2.1-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe4694e0d6f3cbf3ec27e416dfb4f3e66f948bf527b04adcfc4f86f49b1aef61
BLAKE2b-256 checksum
How to use checksums
aae5764d9fe93855344f6b5299da7e9b11a69a2816e955b558cb4350c216c24d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for scenesonar-mcp 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page