Skip to content

Commit 0fb7f45

Browse files
authored
Zed support (#147)
Signed-off-by: Jeremy Adams <[email protected]>
1 parent 01a33bd commit 0fb7f45

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,31 @@ Once the MCP server is running, you can optionally update the instructions for c
177177
curl --create-dirs -o .github/copilot-instructions.md https://raw.githubusercontent.com/dagger/container-use/main/rules/agent.md
178178
```
179179

180+
### [Zed](https://zed.dev/)
181+
182+
First add the agent rules file, either as `.rules` in the root of your project or as one of the [other acceptable files/locations](https://zed.dev/docs/ai/rules?highlight=agent.md#rules-files).
183+
184+
```sh
185+
curl -o .rules https://raw.githubusercontent.com/dagger/container-use/main/rules/agent.md
186+
```
187+
188+
Then configure the Container Use MCP server in the Zed `settings.json`. Provide the absolute path to the `cu` executable:
189+
190+
```json
191+
"context_servers": {
192+
"container-use": {
193+
"source": "custom",
194+
"command": {
195+
"path": "/opt/homebrew/bin/cu",
196+
"args": ["stdio"],
197+
"env": {}
198+
}
199+
}
200+
}
201+
```
202+
203+
Next open the Zed Agent Panel ✨ in the lower right and prompt away!
204+
180205
### [Cline](https://cline.bot/)
181206

182207
Add the following to your Cline MCP server configuration JSON:

0 commit comments

Comments
 (0)