Download the PHP package evansims/openfga-mcp without Composer

On this page you can find all versions of the php package evansims/openfga-mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package openfga-mcp

OpenFGA MCP Server

codecov Psalm Type Coverage

AI-powered authorization management for OpenFGA


Connect OpenFGA and Auth0 FGA to AI agents via the Model Context Protocol.

Use Cases

Quick Start

Offline Mode (Default)

Design models and generate code without a server:

Online Mode

Connect to OpenFGA for full management capabilities:

Safety: Write operations are disabled by default. Set OPENFGA_MCP_API_WRITEABLE=true to enable.

Docker Networking: For your OPENFGA_MCP_API_URL use host.docker.internal when running OpenFGA on your local machine, container names for Docker networks, or full URLs for remote instances.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, Zed, and other MCP clients.

Configuration

MCP Transport

Variable Default Description
OPENFGA_MCP_TRANSPORT stdio Supports stdio or http (Streamable HTTP.)
OPENFGA_MCP_TRANSPORT_HOST 127.0.0.1 IP to listen for connections on. Only applicable when using http transport.
OPENFGA_MCP_TRANSPORT_PORT 9090 Port to listen for connections on. Only applicable when using http transport.
OPENFGA_MCP_TRANSPORT_SSE true Enables Server-Sent Events (SSE) streams for responses.
OPENFGA_MCP_TRANSPORT_STATELESS false Enables stateless mode for session-less clients.

OpenFGA

Variable Default Description
OPENFGA_MCP_API_URL OpenFGA server URL
OPENFGA_MCP_API_WRITEABLE false Enables write operations
OPENFGA_MCP_API_STORE Default requests to a specific store ID
OPENFGA_MCP_API_MODEL Default requests to a specific model ID
OPENFGA_MCP_API_RESTRICT false Restrict requests to configured default store/model

OpenFGA Authentication

Authentication Variable Default Description
Pre-Shared Keys OPENFGA_MCP_API_TOKEN API Token
Client Credentials OPENFGA_MCP_API_CLIENT_ID Client ID
OPENFGA_MCP_API_CLIENT_SECRET Client Secret
OPENFGA_MCP_API_ISSUER Token Issuer
OPENFGA_MCP_API_AUDIENCE API Audience

See docker-compose.example.yml for complete examples.

Features

Management Tools

SDK Documentation

Comprehensive documentation for accurate code generation:

AI Prompts

Design & Planning

Implementation

Troubleshooting

Resources & URIs

Smart Completions

Auto-completion for store IDs, model IDs, relations, users, and objects when connected.



All versions of openfga-mcp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
evansims/openfga-php Version ^1.5
guzzlehttp/guzzle Version ^7.2
php-mcp/server Version ^3.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package evansims/openfga-mcp contains the following files

Loading the files please wait ....