Skip to content

Commit 8662b6f

Browse files
committed
Update instructions for local dev setup
1 parent e9a94f5 commit 8662b6f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CLOUDFLARE_CLIENT_ID=
2+
CLOUDFLARE_CLIENT_SECRET=

apps/sandbox-container/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,17 @@ This is a simple MCP-based interface for a sandboxed development environment.
44

55
## Local dev
66

7-
Currently a work in progress. 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.
7+
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.
88

9-
TODO: replace locally running server with the real docker container.
9+
Do the following from within the sandbox-container app:
10+
11+
1. Copy the `.dev.vars.example` file to a new `.dev.vars` file.
12+
2. Get the Cloudflare client id and secret from a team member and add them to the `.dev.vars` file.
13+
3. Run `pnpm i` then `pnpm dev` to start the MCP server.
14+
4. Run `pnpx @modelcontextprotocol/inspector` to start the MCP inspector client.
15+
5. Open the inspector client in your browser and connect to the server via `http://localhost:8976/workers/sandbox/sse`.
16+
17+
Note: Temporary files created through files tool calls are stored in the workdir folder of this app.
1018

1119
## Deploying
1220

0 commit comments

Comments
 (0)