spicedb-mcp-server
If you are the rightful owner of spicedb-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that connects to SpiceDB via its HTTP API for permission management.
The SpiceDB MCP Server is an experimental server designed to facilitate interaction between large language models (LLMs) like Claude and a SpiceDB instance. It leverages the HTTP API of SpiceDB to manage permissions, allowing LLMs to query, manage, and understand the permission system. This server is particularly useful for educational purposes, providing a practical example of how LLMs can be integrated with a permission management system. The server supports schema retrieval, relationship queries, and object definitions, offering a comprehensive set of tools for permission management. It requires Node.js 16+, a SpiceDB instance, and an API key for operation. The server can be run directly from the command line or integrated with platforms like Claude for Desktop, providing flexibility in deployment and usage.
Features
- Schema retrieval with associated object definition resources
- Relationship queries with interactive relationship resources
- Object definitions with detailed type information
- Check permissions with detailed authorization traces and explanations
- Write relationships with validation
Tools
read-schema
Retrieve the current schema and its object definition resources
read-relationships
Query relationships based on filter parameters, return text output and relationship resources
check-permission check-permission
Check if the topic has specific permissions to the resource and provides debugging tracking and explanation of authorized decisions
lookup-resources
Find resources with specific permissions in the topic, optimized to array response format
lookup-subjects
Find topics with specific permissions to resources and optimize to array response format
write-relationship
Create, update or delete relationships and verify