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: internal/cmd/mcp.go
+16-17Lines changed: 16 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -8,28 +8,27 @@ import (
8
8
)
9
9
10
10
funcregisterMCPCmd(rootCmd*cobra.Command) {
11
-
rootCmd.AddCommand(mcpCmd)
12
-
mcpCmd.AddCommand(mcpRunCmd)
13
-
14
-
mcpRunCmd.Flags().IntP("port", "p", 9999, "port for the HTTP streaming server")
15
-
}
11
+
mcpCmd:=&cobra.Command{
12
+
Use: "mcp <subcommand>",
13
+
Short: "MCP (Model Context Protocol) server commands",
14
+
Long: `MCP (Model Context Protocol) server commands.
16
15
17
-
varmcpCmd=&cobra.Command{
18
-
Use: "mcp <subcommand>",
19
-
Short: "MCP (Model Context Protocol) server commands",
20
-
Long: `MCP (Model Context Protocol) server commands.
21
-
22
16
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.
23
17
24
18
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.`,
0 commit comments