You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add detailed examples and parameter descriptions for all CLI commands
- Expand MCP documentation with comprehensive tool descriptions
- Fix navigation links to MCP guide (/mcp -> /guides/mcp)
- Add "Next Steps" sections to guide pages
- Update API reference link in documentation index
Copy file name to clipboardExpand all lines: docs/guides/getting-started.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ msb server start --dev
40
40
!!!info MCP Server
41
41
The microsandbox server is also an [MCP server](https://modelcontextprotocol.io), which means it works directly with Cursor, Claude, and other MCP-enabled AI tools out of the box!
42
42
43
-
[!ref See how to use microsandbox as an MCP server](/mcp)
43
+
[!ref See how to use microsandbox as an MCP server](/guides/mcp)
-**Authentication:** Bearer token (if not in dev mode)
35
24
36
25
!!!info Transport Support
37
-
microsandbox server only supports the **Streamable HTTP** transport protocol. The deprecated HTTP+SSE transport is not supported. Prefer **Streamable HTTP** when connecting with MCP clients.
26
+
microsandbox server only supports the **Streamable HTTP** transport protocol.
38
27
!!!
39
28
40
29
---
41
30
31
+
### Tools
32
+
33
+
microsandbox exposes tools through the MCP interface for complete sandbox lifecycle management.
34
+
35
+
---
36
+
37
+
### Sandbox Management Tools
38
+
39
+
==- `sandbox_start`
40
+
Start a new sandbox with specified configuration. This creates an isolated environment for code execution.
|`sandbox`|`string`| ✓ | Name of the sandbox to stop |
109
+
|`namespace`|`string`| ✓ | Namespace of the sandbox |
110
+
111
+
```json
112
+
{
113
+
"sandbox": "my-python-env",
114
+
"namespace": "default"
115
+
}
116
+
```
117
+
118
+
!!!warning Critical
119
+
Always call this when you're finished with a sandbox to prevent resource leaks and indefinite running. Failing to stop sandboxes will cause them to consume system resources unnecessarily.
"code": "const fs = require('fs');\nconst data = { message: 'Hello from Node.js!' };\nconsole.log(JSON.stringify(data, null, 2));",
155
+
"language": "nodejs"
156
+
}
157
+
```
158
+
159
+
+++
160
+
161
+
!!! Prerequisites
162
+
The target sandbox must be started first using `sandbox_start` - this will fail if the sandbox is not running. Code execution is synchronous and may take time depending on complexity.
The target sandbox must be started first using `sandbox_start` - this will fail if the sandbox is not running. Command execution is synchronous and may take time depending on complexity.
212
+
!!!
213
+
===
214
+
215
+
---
216
+
217
+
### Monitoring Tools
218
+
219
+
==- `sandbox_get_metrics`
220
+
Get metrics and status for sandboxes including CPU usage, memory consumption, and running state.
Copy file name to clipboardExpand all lines: docs/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ asyncio.run(main())
66
66
!!!info AI Integration Ready
67
67
microsandbox server speaks [MCP](https://modelcontextprotocol.io) natively - connect it to **Cursor**, **Claude**, or any MCP-compatible AI tool in seconds!
68
68
69
-
[!ref See how to use microsandbox as a MCP server](/mcp)
69
+
[!ref See how to use microsandbox as a MCP server](/guides/mcp)
0 commit comments