-
Notifications
You must be signed in to change notification settings - Fork 39
feat: start on an agent for developing schemas #545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
internal/cmd/mcp.go
Outdated
|
|
||
| The MCP server provides tooling and resources for developing and debugging SpiceDB schema and relationships. | ||
|
|
||
| To use with Claude, run "zed mcp run" and run "claude mcp add --transport sse spicedb http://localhost:9999/sse". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To use with Claude, run "zed mcp run" and run "claude mcp add --transport sse spicedb http://localhost:9999/sse". | |
| To use with Claude Code, run "zed mcp run" to start the SpiceDB Dev MCP server and then run "claude mcp add --transport sse spicedb http://localhost:9999/sse" to add the server to your Claude Code integrations. |
internal/mcp/mcp.go
Outdated
| mcpserver.WithResourceCapabilities(true, true), | ||
| mcpserver.WithInstructions(instructions), | ||
| ) | ||
| httpServer := mcpserver.NewSSEServer(s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SSE is deprecated in favor of streamable http. Looks like the mcp-go library has streamable http support. Did you try it out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, and I was having issues with it, so I changed back to SSE. Granted, it was with a local agent in TS, not Claude.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok there's back compat support for it so we can leave it as sse
internal/cmd/mcp.go
Outdated
| Short: "MCP (Model Context Protocol) server commands", | ||
| Long: `MCP (Model Context Protocol) server commands. | ||
|
|
||
| The MCP server provides tooling and resources for developing and debugging SpiceDB schema and relationships. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The MCP server provides tooling and resources for developing and debugging SpiceDB schema and relationships. | |
| 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. |
c5ed228 to
0244a92
Compare
samkim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b8fcb40 to
feafb82
Compare
No description provided.