@@ -662,7 +662,7 @@ zed import <url> [flags]
662662## Reference: ` zed mcp `
663663
664664MCP (Model Context Protocol) server commands.
665-
665+
666666The 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.
667667
668668To 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.
@@ -968,6 +968,52 @@ zed permission lookup-subjects <resource:id> <permission> <subject_type#optional
968968
969969
970970
971+ ## Reference: ` zed preview schema compile `
972+
973+ Compile a schema that uses extended syntax into one that can be written to SpiceDB
974+
975+ ```
976+ zed preview schema compile <file> [flags]
977+ ```
978+
979+ ### Examples
980+
981+ ```
982+
983+ Write to stdout:
984+ zed preview schema compile root.zed
985+ Write to an output file:
986+ zed preview schema compile root.zed --out compiled.zed
987+
988+ ```
989+
990+ ### Options
991+
992+ ```
993+ --out string output filepath; omitting writes to stdout
994+ ```
995+
996+ ### Options Inherited From Parent Flags
997+
998+ ```
999+ --certificate-path string path to certificate authority used to verify secure connections
1000+ --endpoint string spicedb gRPC API endpoint
1001+ --hostname-override string override the hostname used in the connection to the endpoint
1002+ --insecure connect over a plaintext connection
1003+ --log-format string format of logs ("auto", "console", "json") (default "auto")
1004+ --log-level string verbosity of logging ("trace", "debug", "info", "warn", "error") (default "info")
1005+ --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
1006+ --max-retries uint maximum number of sequential retries to attempt when a request fails (default 10)
1007+ --no-verify-ca do not attempt to verify the server's certificate chain and host name
1008+ --permissions-system string permissions system to query
1009+ --proxy string specify a SOCKS5 proxy address
1010+ --request-id string optional id to send along with SpiceDB requests for tracing
1011+ --skip-version-check if true, no version check is performed against the server
1012+ --token string token used to authenticate to SpiceDB
1013+ ```
1014+
1015+
1016+
9711017## Reference: ` zed relationship `
9721018
9731019Query and mutate the relationships in a permissions system
@@ -1266,52 +1312,6 @@ Manage schema for a permissions system
12661312- [ zed schema write] ( #reference-zed-schema-write ) - Write a schema file (.zed or stdin) to the current permissions system
12671313
12681314
1269- ## Reference: ` zed schema compile `
1270-
1271- Compile a schema that uses extended syntax into one that can be written to SpiceDB
1272-
1273- ```
1274- zed schema compile <file> [flags]
1275- ```
1276-
1277- ### Examples
1278-
1279- ```
1280-
1281- Write to stdout:
1282- zed preview schema compile root.zed
1283- Write to an output file:
1284- zed preview schema compile root.zed --out compiled.zed
1285-
1286- ```
1287-
1288- ### Options
1289-
1290- ```
1291- --out string output filepath; omitting writes to stdout
1292- ```
1293-
1294- ### Options Inherited From Parent Flags
1295-
1296- ```
1297- --certificate-path string path to certificate authority used to verify secure connections
1298- --endpoint string spicedb gRPC API endpoint
1299- --hostname-override string override the hostname used in the connection to the endpoint
1300- --insecure connect over a plaintext connection
1301- --log-format string format of logs ("auto", "console", "json") (default "auto")
1302- --log-level string verbosity of logging ("trace", "debug", "info", "warn", "error") (default "info")
1303- --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
1304- --max-retries uint maximum number of sequential retries to attempt when a request fails (default 10)
1305- --no-verify-ca do not attempt to verify the server's certificate chain and host name
1306- --permissions-system string permissions system to query
1307- --proxy string specify a SOCKS5 proxy address
1308- --request-id string optional id to send along with SpiceDB requests for tracing
1309- --skip-version-check if true, no version check is performed against the server
1310- --token string token used to authenticate to SpiceDB
1311- ```
1312-
1313-
1314-
13151315## Reference: ` zed schema copy `
13161316
13171317Copy a schema from one context into another
0 commit comments