physbox-mcp
OfficialAllows interaction with Flux, a discrete-event/system-dynamics simulation web application, enabling programmatic creation and manipulation of simulation graphs via WebSocket relay.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@physbox-mcprun a bouncing ball simulation on Mesh"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PhysBox: MCP
PhysBox: MCP is a Model Context Protocol (MCP) server that enables LLMs and MCP clients (such as Claude Code or Claude Desktop) to interact programmatically with the four simulation web applications in the browser:
Application | Production URL | Description |
Volt | SPICE circuit simulation (powered by NgSpice WASM in browser) | |
Mesh | Rigid-body physics simulation & OpenSCAD parametric CAD (powered by MuJoCo WASM) | |
Etch | 2D vector studio, CNC toolpathing & WebSerial GRBL controller | |
Flux (Coming Soon) | Discrete-event / system-dynamics simulation |
All communication is handled via JSON over WebSockets directly to the web app in your browserβno browser automation or DOM scraping is needed.
π§ The Only AI-Native Physical World Model
Unlike static code generation or offline file outputs, PhysBox gives AI agents an interactive ground-truth world model. LLMs execute 81 typed tool calls to observe spatial kinematics, circuit node waveforms, and G-code safety warnings, allowing them to self-correct designs iteratively.
π¬ Example Agent Prompts for Claude Code & Cursor
Paste any of these prompts directly into your MCP-connected agent:
Volt (Electronics):
"Optimize the RC filter values in the active Volt schematic to achieve a 1 kHz cutoff frequency, then execute
circuit_run_simand plot the magnitude response."Mesh (3D Physics & CAD):
"Write an OpenSCAD parametric mounting bracket in Mesh with 4mm screw holes, run a MuJoCo collision stability check using
physics_check_collisions, and export the Z-up STL."Etch (CNC & Laser):
"Import this vector SVG logo, apply 2-pass 3mm stepdown feeds for Plywood, check end mill safety warnings, and generate GRBL G-code."
Related MCP server: Tesseron
How It Works
PhysBox: MCP functions as a local companion server that establishes a WebSocket relay on port 3142.
When you open any of the simulation web apps, they connect directly to this WebSocket relay. When an MCP client executes a tool call, the command flows from the client to the companion server, gets forwarded to the active browser tab, and the results flow back.
MCP Client (e.g. Claude Desktop)
βββ spawns β physbox-mcp (stdio)
βββ WebSocket Server (ws://localhost:3142)
βββ Flux
βββ Volt
βββ Mesh
βββ EtchInstallation
Install the companion server directly from PyPI:
pip install physbox-mcpUsage & Setup
1. Open the Web Applications
Launch or access the simulation web applications in your web browser:
Flux: flux.physbox.io
Volt: volt.physbox.io
Mesh: mesh.physbox.io
Etch: etch.physbox.io
As soon as a page finishes loading, it automatically registers with the companion WebSocket server.
2. Configure Your MCP Client
For Claude Desktop
Add the following block to your Claude Desktop configuration file (typically located at AppData/Roaming/Claude/claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"physbox-mcp": {
"command": "physbox-mcp",
"args": ["--stdio"]
}
}
}For Claude Code / Local Workspace (.mcp.json)
Add a .mcp.json file to your project root (or update your global configuration at ~/.claude/mcp.json):
{
"mcpServers": {
"physbox-mcp": {
"type": "stdio",
"command": "physbox-mcp",
"args": ["--stdio"]
}
}
}Developing from source? If running directly from a cloned repository or virtual environment, use your Python interpreter:
{ "mcpServers": { "physbox-mcp": { "type": "stdio", "command": "python", "args": ["-m", "physbox_mcp.server", "--stdio"] } } }(Replace
"python"with the path to your virtual environment's Python executable if needed, e.g./path/to/venv/bin/python).
For Google Antigravity IDE
On Windows/WSL setups, Antigravity IDE reads configuration from the global configuration directory. Because the global directory (~/.gemini/config/) may be write-restricted, you should link it to the writable ~/.gemini/antigravity/ folder:
In PowerShell, create a Hard Link from the global configuration target to the writable user directory:
# Delete the empty placeholder file if it exists Remove-Item -Path "$env:USERPROFILE\.gemini\config\mcp_config.json" -Force -ErrorAction SilentlyContinue # Create a Hard Link to the writable copy New-Item -ItemType HardLink -Path "$env:USERPROFILE\.gemini\config\mcp_config.json" -Target "$env:USERPROFILE\.gemini\antigravity\mcp_config.json"Add the
physbox-mcpWSL configuration to yourmcp_config.json(replacing<your-wsl-distro>with your WSL distribution such asUbuntu-20.04):{ "mcpServers": { "physbox-mcp": { "command": "C:\\Windows\\system32\\wsl.exe", "args": [ "-d", "<your-wsl-distro>", "physbox-mcp", "--stdio" ] } } }(If developing from source in WSL, pass your virtual environment's Python binary and
-m physbox_mcp.serverinargsinstead).Restart the IDE (or close and reload the agent chat session) to register the MCP tools natively.
3. Run the Companion Server Manually (Optional)
If you are running the server in HTTP mode rather than Stdio, you can run:
# Starts HTTP server listening on port 3141 (default)
physbox-mcpOr configure custom port parameters:
physbox-mcp --port=4000Development & Contribution
For instructions on local development, modifying schemas, extending tool definitions, and manual builds, please refer to README_DEV.md.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables MCP clients to connect to LLM/API services using the Model Context Protocol, providing real-time interaction and tool access. Also offers RESTful API endpoints via FastAPI for programmatic integration with existing systems.Apache 2.0
- Flicense-qualityAmaintenanceEnables MCP-compatible AI agents to execute typed live-app actions over WebSocket, allowing agents to directly interact with real application state without browser automation or scraping.20
- Alicense-qualityDmaintenanceMCP server for WebSocket operations, enabling connect, send, receive, and manage WebSocket connections and servers.MIT
- Alicense-qualityCmaintenanceEnables browsers to act as MCP servers by relaying tools, resources, and prompts to AI agents via a WebSocket-to-stdio bridge.9MIT
Related MCP Connectors
Real-time chat hub for AI agents β Claude Code, Cursor, Cline, Codex over MCP or REST.
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/physbox-io/physbox-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server