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
Copy file name to clipboardExpand all lines: apps/sandbox-container/README.md
+26-5Lines changed: 26 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
3
3
This is a simple MCP-based interface for a sandboxed development environment.
4
4
5
-
## Local dev
5
+
## Local Dev
6
+
7
+
Local dev is currently only supported for Cloudflare employees.
6
8
7
9
Cloudchamber local dev isn't implemented yet, so we are doing a bit of a hack to just run the server in your local environment. Because of this, testing the container(s) and container manager locally is not possible at this time.
8
10
@@ -11,13 +13,15 @@ Do the following from within the sandbox-container app:
11
13
1. Copy the `.dev.vars.example` file to a new `.dev.vars` file.
12
14
2. Get the Cloudflare client id and secret from a team member and add them to the `.dev.vars` file.
13
15
3. Run `pnpm i` then `pnpm dev` to start the MCP server.
14
-
4. Run `pnpx @modelcontextprotocol/inspector` to start the MCP inspector client.
16
+
4. Run `pnpx @modelcontextprotocol/inspector` to start the MCP inspector client. To avoid potential bugs in newer releases of the inspector, you can specify a version, such as `pnpx @modelcontextprotocol/[email protected]`.
15
17
5. Open the inspector client in your browser and connect to the server via `http://localhost:8976/sse`.
16
18
17
19
Note: Temporary files created through files tool calls are stored in the workdir folder of this app.
18
20
19
21
## Deploying
20
22
23
+
Deploying is currently only supported for Cloudflare employees.
24
+
21
25
1. Make sure the docker daemon is running
22
26
23
27
2. Disable WARP and run
@@ -26,7 +30,13 @@ Note: Temporary files created through files tool calls are stored in the workdir
2. If you're using Cloudflare WARP, add the section below to your Claude config:
56
+
57
+
```
58
+
"env": {
59
+
"NODE_EXTRA_CA_CERTS": "<path to warp certs file>"
60
+
}
61
+
```
62
+
63
+
3. Remove node versions older than 18 from your local machine.
64
+
65
+
You can read more about using an MCP server with Claude in the [official MCP documentation](https://modelcontextprotocol.io/quickstart/user).
66
+
46
67
## Tools
47
68
48
69
-`container_initialize`: (Re)start a container. Containers are intended to be ephemeral and don't save any state. Containers are only guaranteed to last 10m (this is just because I have a max of like ~5 containers per account).
0 commit comments