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
-[zed backup](#reference-zed-backup) - Create, restore, and inspect permissions system backups
164
165
-[zed context](#reference-zed-context) - Manage configurations for connecting to SpiceDB deployments
165
166
-[zed import](#reference-zed-import) - Imports schema and relationships from a file or url
167
+
-[zed mcp](#reference-zed-mcp) - MCP (Model Context Protocol) server commands
166
168
-[zed permission](#reference-zed-permission) - Query the permissions in a permissions system
167
169
-[zed relationship](#reference-zed-relationship) - Query and mutate the relationships in a permissions system
168
170
-[zed schema](#reference-zed-schema) - Manage schema for a permissions system
@@ -657,6 +659,73 @@ zed import <url> [flags]
657
659
658
660
659
661
662
+
## Reference: `zed mcp`
663
+
664
+
MCP (Model Context Protocol) server commands.
665
+
666
+
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.
667
+
668
+
To use with Claude Code, run `zed mcp experimental-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.
669
+
670
+
### Options Inherited From Parent Flags
671
+
672
+
```
673
+
--certificate-path string path to certificate authority used to verify secure connections
674
+
--endpoint string spicedb gRPC API endpoint
675
+
--hostname-override string override the hostname used in the connection to the endpoint
676
+
--insecure connect over a plaintext connection
677
+
--log-format string format of logs ("auto", "console", "json") (default "auto")
--max-message-size int maximum size *in bytes* (defaults to 4_194_304 bytes ~= 4MB) of a gRPC message that can be sent or received by zed
718
+
--max-retries uint maximum number of sequential retries to attempt when a request fails (default 10)
719
+
--no-verify-ca do not attempt to verify the server's certificate chain and host name
720
+
--permissions-system string permissions system to query
721
+
--proxy string specify a SOCKS5 proxy address
722
+
--request-id string optional id to send along with SpiceDB requests for tracing
723
+
--skip-version-check if true, no version check is performed against the server
724
+
--token string token used to authenticate to SpiceDB
725
+
```
726
+
727
+
728
+
660
729
## Reference: `zed permission`
661
730
662
731
Query the permissions in a permissions system
@@ -682,16 +751,16 @@ Query the permissions in a permissions system
682
751
683
752
### Children commands
684
753
685
-
-[zed permission bulk](#reference-zed-permission-bulk) - Check a permissions in bulk exists for a resource-subject pairs
754
+
-[zed permission bulk](#reference-zed-permission-bulk) - Check permissions in bulk exist for resource-subject pairs
686
755
-[zed permission check](#reference-zed-permission-check) - Check that a permission exists for a subject
687
756
-[zed permission expand](#reference-zed-permission-expand) - Expand the structure of a permission
688
-
-[zed permission lookup-resources](#reference-zed-permission-lookup-resources) - Enumerates resources of a given type for which the subject has permission
757
+
-[zed permission lookup-resources](#reference-zed-permission-lookup-resources) - Enumerates the resources of a given type for which the subject has permission
689
758
-[zed permission lookup-subjects](#reference-zed-permission-lookup-subjects) - Enumerates the subjects of a given type for which the subject has permission on the resource
690
759
691
760
692
761
## Reference: `zed permission bulk`
693
762
694
-
Check a permissions in bulk exists for a resource-subject pairs
763
+
Check permissions in bulk exist for resource-subject pairs
0 commit comments