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/mcp/authzed/spicedb-dev-mcp-server.mdx
+11-20Lines changed: 11 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,41 +35,32 @@ Start the development server:
35
35
zed mcp run
36
36
```
37
37
38
-
The server starts on `http://localhost:9999/sse` with an empty in-memory SpiceDB instance.
38
+
The server starts on `http://localhost:9999/mcp` with an empty in-memory SpiceDB instance.
39
39
40
40
**Important**: The server runs in-memory only. All schemas and relationships are lost when you stop the server.
41
41
42
42
## Connecting Clients
43
43
44
-
The SpiceDB Dev MCP Server uses SSE (Server-Sent Events) transport.
45
-
46
44
### Claude Code
47
45
48
-
Recommended for active development:
46
+
To use with Claude Code, run `zed mcp run` to start the SpiceDB Dev MCP server and then run the following to add the server to your Claude Code integrations:
49
47
50
48
```bash
51
-
# Add the server
52
-
claude mcp add --transport sse spicedb http://localhost:9999/sse
53
-
54
-
# Start developing
55
-
claude
49
+
claude mcp add --transport http spicedb http://localhost:9999/mcp
56
50
```
57
51
58
-
### Codex from OpenAI
52
+
Then start developing:
59
53
60
-
Configure Codex to connect to the SSE endpoint:
61
-
```
62
-
http://localhost:9999/sse
54
+
```bash
55
+
claude
63
56
```
64
57
65
-
See [Codex documentation](#) for SSE transport configuration.
66
-
67
58
### Other Clients
68
59
69
-
For MCP clients supporting SSE transport, configure:
60
+
For MCP clients supporting HTTP transport, configure:
70
61
```
71
-
Transport: SSE
72
-
URL: http://localhost:9999/sse
62
+
Transport: HTTP
63
+
URL: http://localhost:9999/mcp
73
64
```
74
65
75
66
## Development Workflow
@@ -226,8 +217,8 @@ netstat -an | findstr 9999
226
217
### Client Connection Fails
227
218
228
219
- Verify server is running: `zed mcp run` should be active
0 commit comments