scandrop logo

scandrop

Community
Janjs

An MCP for LLMs to understand 3D spaces

PublisherJanjs
Repositoryscandrop-mcp
LanguageTypeScript
Forks
6
Stars
41
Available tools
0
Transport typestdio, streamable-http
Categories
Links
  • Connect tools to AI workflows

    scandrop exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    41 stars and 6 forks from the linked repository.

scandrop

Minimal but real MCP server that ingests a GLB/GLTF floorplan scan (for example captured with Polycam https://poly.cam/) and exposes deterministic spatial tools over a compact derived scene graph.

Live demo: scandrop.janjs.dev

Install

bash
uv sync --python 3.12

Claude Desktop setup

Use scandrop in combination with the filesystem MCP so Claude can both run spatial tools and read your local .glb/.gltf files.

After uv sync, configure Claude Desktop (claude_desktop_config.json) with both servers:

json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/<username>/Downloads", "/Users/<username>/Desktop"]
    },
    "scandrop": {
      "command": "uv",
      "args": ["run", "--project", "/absolute/path/to/scandrop-mcp", "python", "-m", "scandrop.main"]
    }
  }
}

Restart Claude Desktop after saving the config.

What scandrop MCP does

  • Loads .glb / .gltf mesh exports (including Polycam free-plan outputs).
  • Derives a compact spatial database:
    • dominant floor plane
    • floor polygon in XZ
    • obstacle footprints + OBBs + heuristic semantic labels
    • scene AABB bounds
  • Persists versioned scene artifacts on local disk:
    • ./data/scenes/{scene_id}/v{version}/scene_graph.json
    • ./data/scenes/{scene_id}/v{version}/params.json
  • Exposes deterministic MCP tools (check_fit, find_free_spaces) so the model never does geometry math.
  • Provides optional FastAPI debug endpoints.

Quickstart

1) Ingest a scan

bash
python scripts/ingest.py path/to/scan.glb

Example output:

json
{
  "scene_id": "ab12cd34ef56",
  "version": 1
}

2) Run MCP server (stdio)

bash
python -m scandrop.main

2b) Configure MCP clients (e.g., Claude Desktop)

After uv sync, most MCP clients can launch this server via uv run from the project directory. In Claude Desktop, keep this server enabled together with filesystem.

Claude Desktop config (claude_desktop_config.json):

json
{
  "mcpServers": {
    "scandrop": {
      "command": "uv",
      "args": ["run", "--project", "/absolute/path/to/scandrop-mcp", "python", "-m", "scandrop.main"]
    }
  }
}

Generic MCP client config shape:

json
{
  "servers": {
    "scandrop": {
      "command": "uv",
      "args": ["run", "--project", "/absolute/path/to/scandrop", "python", "-m", "scandrop.main"]
    }
  }
}

2c) Load a scene (recommended user flow)

In Claude Desktop, users only need to provide a path to the 3D model:

text
Please onboard this 3D model: /Users/<username>/Downloads/test.glb

Scandrop handles scene creation, status, and summary internally via onboard_scene.

3) Run FastAPI debug server (optional)

bash
python scripts/run_api.py --reload

Claude Desktop tutorial (attach + ingest a GLB)

Use this flow when you have both connectors enabled:

  • filesystem connector (to read files from your machine)
  • scandrop MCP server (this repo)
  • A GLB/GLTF scan export (for example from Polycam)
  1. Place your .glb file in a folder exposed by filesystem, for example /Users/<username>/Downloads/test.glb.
  2. Send this prompt:
text
Please onboard this 3D model: /Users/<username>/Downloads/test.glb
  1. The assistant runs onboarding in one step and returns:
  • scene_id and version
  • processing status (usually ready)
  • scene summary (bounds, floor area, obstacle count)
  1. Ask a placement question, for example:
text
Where do I fit a bedside table by the bed?

For the full web app tutorial and UI screenshot, see web/README.md.

MCP tools

create_scene_from_gltf

Input:

json
{ "path": "/absolute/path/to/scan.glb" }

Output:

json
{ "scene_id": "ab12cd34ef56", "version": 1 }

onboard_scene

Input:

json
{ "path": "/absolute/path/to/scan.glb" }

Output:

json
{
  "scene_id": "ab12cd34ef56",
  "version": 1,
  "status": { "status": "ready", "message": null },
  "summary": {
    "bounds_aabb": { "min": [0.0, -0.1, -2.0], "max": [5.2, 2.8, 4.4] },
    "floor_area_m2": 17.42,
    "obstacle_count": 6
  }
}

get_processing_status

Input:

json
{ "scene_id": "ab12cd34ef56" }

Output:

json
{ "status": "ready", "message": null }

get_scene_summary

Input:

json
{ "scene_id": "ab12cd34ef56", "version": 1 }

Output:

json
{
  "bounds_aabb": { "min": [0.0, -0.1, -2.0], "max": [5.2, 2.8, 4.4] },
  "floor_area_m2": 17.42,
  "obstacle_count": 6
}

get_scene_graph

Input:

json
{ "scene_id": "ab12cd34ef56", "version": 1 }

Output:

json
{
  "units": "meters",
  "room": { "floor_plane": { "normal": [0, 1, 0], "d": -0.02 }, "floor_polygon_xz": [[0, 0], [5, 0], [5, 4], [0, 4]], "bounds_aabb": { "min": [0, -0.1, 0], "max": [5, 2.7, 4] } },
  "obstacles": [{ "id": "obs_001", "footprint_xz": [[1, 1], [1.8, 1], [1.8, 1.7], [1, 1.7]], "obb": { "center": [1.4, 0.5, 1.35], "extent": [0.8, 1.0, 0.7], "rotation": [[1, 0, 0], [0, 1, 0], [0, 0, 1]] } }]
}

check_fit

Input:

json
{
  "scene_id": "ab12cd34ef56",
  "size_m": [2.0, 0.9, 0.8],
  "pose": { "pos": [1.2, 0.4, -0.8], "yaw_rad": 1.57 },
  "clearance_m": 0.3
}

Output:

json
{
  "ok": false,
  "reasons": ["collides_obstacle:obs_002"]
}

find_free_spaces

Input:

json
{
  "scene_id": "ab12cd34ef56",
  "size_m": [2.0, 0.9, 0.8],
  "clearance_m": 0.5,
  "yaw_steps": 4,
  "grid_step_m": 0.2,
  "max_results": 3
}

Output:

json
{
  "candidates": [
    {
      "pos": [4.0, 0.4, 1.2],
      "yaw_rad": 1.57,
      "score": 1.246,
      "notes": ["wall_distance_m=0.184", "center_distance_m=1.430"]
    }
  ]
}

list_scenes

Input:

json
{}

Output:

json
[
  {
    "scene_id": "ab12cd34ef56",
    "created_at": "2026-02-18T20:00:00Z",
    "latest_version": 1
  }
]

FastAPI debug endpoints

  • POST /scenes/import
    • multipart upload with file field, or JSON body { "path": "/abs/path.glb" }
  • GET /scenes/{scene_id}/summary
  • GET /scenes/{scene_id}/scene_graph
  • GET /health

Data model snapshot

scene_graph.json:

json
{
  "units": "meters",
  "room": {
    "floor_plane": { "normal": [0.0, 1.0, 0.0], "d": -0.02 },
    "floor_polygon_xz": [[0.0, 0.0], [5.0, 0.0], [5.0, 4.0], [0.0, 4.0]],
    "bounds_aabb": { "min": [0.0, -0.1, 0.0], "max": [5.0, 2.7, 4.0] }
  },
  "obstacles": [
    {
      "id": "obs_001",
      "footprint_xz": [[1.0, 1.0], [1.8, 1.0], [1.8, 1.7], [1.0, 1.7]],
      "obb": {
        "center": [1.4, 0.5, 1.35],
        "extent": [0.8, 1.0, 0.7],
        "rotation": [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]]
      }
    }
  ]
}

Notes

  • Determinism: fixed random seed for mesh surface sampling, deterministic sorting for obstacle IDs and candidate ranking.
  • Semantic labels are heuristic and currently include broad classes such as bed, kitchen, table, storage, and unknown.

Web App Workbench

A UI app is included at ./web with:

  • source model viewer (GLB/GLTF)
  • derived spatial representation viewer (floor + obstacles)
  • MCP-backed chat panel with prompt chips

Try the hosted demo at scandrop.janjs.dev, or run it locally:

Scandrop web bedside table placement

bash
cd web
pnpm install
pnpm dev

Then open http://localhost:3000.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "janjs-scandrop-mcp": {
      "command": "",
      "args": []
    }
  }
}

Use scandrop MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once scandrop is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add scandrop as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the scandrop MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "janjs-scandrop-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "scandrop"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the scandrop MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the scandrop MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use scandrop to help me with this task?
scandrop
Sure. I read it.
Here is what I found using scandrop.

Option 2: Add an MCP server URL

Use this when scandrop is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for scandrop.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the scandrop connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the scandrop tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the scandrop tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use scandrop to help me with this task?
scandrop
Sure. I read it.
Here is what I found using scandrop.

Frequently asked questions

What is the scandrop MCP server used for?

scandrop is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use scandrop MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use scandrop with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use scandrop MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With scandrop connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect scandrop MCP to TypingMind?

scandrop can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does scandrop MCP provide in TypingMind?

scandrop exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use scandrop MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If scandrop requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇