OpenFGA MCP Server logo

OpenFGA MCP Server

by evansims

The OpenFGA MCP Server is an experimental Model Context Protocol (MCP) server that allows Large Language Models (LLMs) to interact with OpenFGA stores. It enables authorization for agentic AI and fine-grained vibe coding.

View on GitHub

Last updated: N/A

What is OpenFGA MCP Server?

The OpenFGA MCP Server is a server that implements the Model Context Protocol (MCP) to allow Large Language Models (LLMs) to read, search, and manipulate OpenFGA stores. It acts as a bridge between LLMs and OpenFGA, enabling them to leverage OpenFGA's authorization capabilities.

How to use OpenFGA MCP Server?

The server can be run using UVX. Configuration options include specifying the OpenFGA server URL, store ID, and authorization model ID. Authentication can be done using an API token or Client Credentials. It can be integrated with Claude Desktop by adding the server configuration to the Claude config file.

Key features of OpenFGA MCP Server

  • Store Management (create, list, get, delete)

  • Authorization Model Management (write, read, get)

  • Relationship Tuples Management (write, read)

  • Relationship Queries (check, list objects, list users)

  • Integration with Claude Desktop

Use cases of OpenFGA MCP Server

  • Enabling authorization for AI agents

  • Fine-grained access control for LLM applications

  • Integrating OpenFGA with LLM-powered workflows

  • Building AI-powered applications with authorization capabilities

FAQ from OpenFGA MCP Server

What is OpenFGA?

OpenFGA is an open source Fine-Grained Authorization solution inspired by Google's Zanzibar paper.

What is MCP?

MCP stands for Model Context Protocol, a protocol for interacting with models.

What are the requirements for running the server?

Python 3.12+ and an OpenFGA server.

How do I configure the server?

The server accepts command-line arguments for OpenFGA URL, store ID, model ID, and authentication credentials.

How do I integrate the server with Claude Desktop?

Add the server configuration to your Claude config file, specifying the command and arguments to run the server.