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: pages/spicedb/getting-started/installing-zed.mdx
+86-52Lines changed: 86 additions & 52 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,18 @@
1
-
import { Callout } from'nextra/components'
1
+
# zed
2
2
3
-
#Installing Zed
3
+
## Getting Started
4
4
5
-
[Zed](https://github.com/authzed/zed) is the CLI used to interact with SpiceDB.
5
+
### Installing the binary
6
6
7
-
It is built as a standalone executable file which simplifies installation, but one should prefer one of the recommended installation methods detailed below.
7
+
Binary releases are available for Linux, macOS, and Windows on AMD64 and ARM64 architectures.
8
8
9
-
## Debian packages
9
+
[Homebrew] users for both macOS and Linux can install the latest binary releases of zed using the official tap:
10
10
11
-
[Debian-based Linux] users can install SpiceDB packages by adding an additional apt source.
11
+
```sh
12
+
brew install authzed/tap/zed
13
+
```
14
+
15
+
[Debian-based Linux] users can install zed packages by adding a new APT source:
12
16
13
17
First, download the public signing key for the repository:
14
18
@@ -24,11 +28,12 @@ Then add the list file for the repository:
24
28
```sh
25
29
echo"deb [signed-by=/etc/apt/keyrings/authzed.gpg] https://pkg.authzed.com/apt/ * *"| sudo tee /etc/apt/sources.list.d/authzed.list
26
30
sudo chmod 644 /etc/apt/sources.list.d/authzed.list # helps tools such as command-not-found to work correctly
31
+
27
32
```
28
33
29
34
Alternatively, if you want to use the new `deb822`-style `authzed.sources` format, put the following in `/etc/apt/sources.list.d/authzed.sources`:
-[zed backup](#reference-zed-backup) - Create, restore, and inspect permissions system backups
164
129
-[zed context](#reference-zed-context) - Manage configurations for connecting to SpiceDB deployments
165
130
-[zed import](#reference-zed-import) - Imports schema and relationships from a file or url
131
+
-[zed mcp](#reference-zed-mcp) - MCP (Model Context Protocol) server commands
166
132
-[zed permission](#reference-zed-permission) - Query the permissions in a permissions system
167
133
-[zed relationship](#reference-zed-relationship) - Query and mutate the relationships in a permissions system
168
134
-[zed schema](#reference-zed-schema) - Manage schema for a permissions system
@@ -657,6 +623,74 @@ zed import <url> [flags]
657
623
658
624
659
625
626
+
## Reference: `zed mcp`
627
+
628
+
MCP (Model Context Protocol) server commands.
629
+
630
+
The MCP server provides tooling and resources for developing and debugging SpiceDB schema and relationships. The server runs an in-memory development instance of SpiceDB and does not connect to a running instance of SpiceDB.
631
+
632
+
To use with Claude Code, run "zed mcp run" to start the SpiceDB Dev MCP server and then run "claude mcp add --transport http spicedb http://localhost:9999/mcp" to add the server to your Claude Code integrations.
633
+
634
+
635
+
### Options Inherited From Parent Flags
636
+
637
+
```
638
+
--certificate-path string path to certificate authority used to verify secure connections
639
+
--endpoint string spicedb gRPC API endpoint
640
+
--hostname-override string override the hostname used in the connection to the endpoint
641
+
--insecure connect over a plaintext connection
642
+
--log-format string format of logs ("auto", "console", "json") (default "auto")
0 commit comments