Skip to main content
Glama

OpenFGA MCP

by evansims

OpenFGA MCP サーバー

大規模言語モデル(LLM)によるOpenFGAストアの読み取り、検索、操作を可能にする、実験的なモデルコンテキストプロトコル(MCP)サーバー。エージェント型AIの認証と、人間のためのきめ細かなバイブコーディング✨を実現します。

要件

特徴

ツール

店舗管理
  • create_store : 新しいストアを作成します。( create-store )
  • list_stores : すべての店舗を一覧表示します。( list-stores )
  • get_store : 店舗の詳細を取得します。( get-store )
  • delete_store : ストアを削除します。( delete-store )
  • get_store_id_by_name : ストアの名前でストアの ID を取得します。
認可モデル管理
リレーションシップタプル管理
関係クエリ
  • check : ユーザーがオブジェクトと関係があるかどうかを確認します。( check )
  • list_objects : ユーザーが関係するタイプのオブジェクトを一覧表示します。( list-objects )
  • list_users : 特定のオブジェクトと特定の関係を持つユーザーを一覧表示します。( list-users )

リソース

プロンプト

使用法

UVXを使用してサーバーを実行することをお勧めします。

uvx openfga-mcp@latest

Smithery経由でインストール

Smithery経由で Claude Desktop 用の OpenFGA MCP サーバーを自動的にインストールするには:

npx -y @smithery/cli install @evansims/openfga-mcp --client claude

構成

サーバーは次の引数を受け入れます。

  • --openfga_url : OpenFGA サーバーの URL
  • --openfga_store : MCP サーバーが使用する OpenFGA ストアの ID
  • --openfga_model : MCP サーバーが使用する OpenFGA 認証モデルの ID

APIトークン認証の場合:

  • --openfga_token : OpenFGA サーバーで使用する API トークン

クライアント資格情報認証の場合:

  • --openfga_client_id : OpenFGA サーバーで使用するクライアント ID
  • --openfga_client_secret : OpenFGA サーバーで使用するクライアント シークレット
  • --openfga_api_issuer : OpenFGA サーバーで使用する API 発行者
  • --openfga_api_audience : OpenFGA サーバーで使用する API オーディエンス

例えば:

uvx openfga-mcp@latest \ --openfga_url="http://127.0.0.1:8080" \ --openfga_store="your-store-id" \ --openfga_model="your-model-id"

Claude Desktopでの使用

Claude がサーバーを使用するように構成するには、Claude 構成に以下を追加します。

{ "mcpServers": { "openfga-mcp": { "command": "uvx", "args": ["openfga-mcp@latest"] } } }
  • uvx実行ファイルへのフルパスを指定する必要があるかもしれません。which which uvxを使って見つけてください。
  • 構成を更新した後、Claude を再起動する必要があります。

Raycastと併用する

カーソルの使用

Windsurfでの使用

発達

開発環境をセットアップするには、次のコマンドを実行します。

make setup

開発サーバーを実行するには:

make run \ --openfga_url="http://127.0.0.1:8080" \ --openfga_store="your-store-id" \ --openfga_model="your-model-id"

MCP Inspector を使用して開発サーバーを実行するには:

make dev

ライセンス

アパッチ 2.0

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

大規模言語モデルが OpenFGA 認証ストアを読み取り、検索、操作できるようにし、エージェント AI と自然言語のやり取りのためのきめ細かなアクセス制御を可能にする実験的なモデル コンテキスト プロトコル サーバー。

  1. 要件
    1. 特徴
      1. ツール
      2. リソース
      3. プロンプト
    2. 使用法
      1. Smithery経由でインストール
      2. 構成
      3. Claude Desktopでの使用
      4. Raycastと併用する
      5. カーソルの使用
      6. Windsurfでの使用
    3. 発達
      1. ライセンス

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A server that enables Large Language Models to discover and interact with REST APIs defined by OpenAPI specifications through the Model Context Protocol.
          Last updated -
          378
          96
          TypeScript
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
          Last updated -
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that provides AI agents with secure access to local filesystem operations, enabling reading, writing, and managing files through a standardized interface.
          Last updated -
          160
          3
          TypeScript
          Apache 2.0
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that connects Large Language Models to the GeoServer REST API, enabling AI assistants to query and manipulate geospatial data through natural language.
          Last updated -
          9
          18
          Python
          MIT License
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/evansims/openfga-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server