Skip to content

Commit 8b86380

Browse files
committed
update readme
1 parent 0d052e4 commit 8b86380

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

apps/sandbox-container/README.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
This is a simple MCP-based interface for a sandboxed development environment.
44

5-
## Local dev
5+
## Local Dev
6+
7+
Local dev is currently only supported for Cloudflare employees.
68

79
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.
810

@@ -11,7 +13,7 @@ Do the following from within the sandbox-container app:
1113
1. Copy the `.dev.vars.example` file to a new `.dev.vars` file.
1214
2. Get the Cloudflare client id and secret from a team member and add them to the `.dev.vars` file.
1315
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 of the inspector `pnpx @modelcontextprotocol/[email protected]`.
1517
5. Open the inspector client in your browser and connect to the server via `http://localhost:8976/sse`.
1618

1719
Note: Temporary files created through files tool calls are stored in the workdir folder of this app.
@@ -26,7 +28,13 @@ Note: Temporary files created through files tool calls are stored in the workdir
2628
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14387504770/npm-package-wrangler-8740 deploy
2729
```
2830

29-
3. Add to your Claude config. If using with Claude, you'll need to disable WARP:
31+
3. Upload the CLOUDFLARE_CLIENT_ID and CLOUDFLARE_CLIENT_SECRET secrets to
32+
33+
## Connecting This MCP Server with A Client
34+
35+
To use this MCP server with Claude
36+
37+
1. Add the section below to your Claude config:
3038

3139
```
3240
{
@@ -43,6 +51,11 @@ npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14387504
4351
}
4452
```
4553

54+
2. Disable WARP
55+
3. Remove node versions older than 18 from your local machine
56+
57+
You can read more about using an MCP server with Claude in the [official MCP documentation](https://modelcontextprotocol.io/quickstart/user).
58+
4659
## Tools
4760

4861
- `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

Comments
 (0)