UseGrant MCP Server

by MCP-Mirror

243 downloads
Not rated
GitHub

About

This server is a Model Context Protocol (MCP) integration for the UseGrant API. It exposes tools to manage providers, clients, tenants, domains, and access tokens through the UseGrant platform, enabling AI assistants to automate identity and access management workflows.

Details

Author
MCP-Mirror
Downloads
243
Categories
Other

- 28 tools covering full CRUD for all entities.
- Manage providers, clients, domains, and tenants.
- Create and validate access tokens programmatically.
- Manage tenant provider policies.
- Integrates directly with MCP‑capable assistants.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name UseGrant MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run the server with npx and provide your UseGrant API key via the USEGRANT_API_KEY environment variable. For Claude desktop, add the JSON configuration shown in the README, setting the command to npx -y @usegrant/mcp-server and your API key.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "usegrant mcp server": {
            "usegranthq_mcp-server": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "-e",
                    "USEGRANT_API_KEY=$USEGRANT_API_KEY",
                    "npx",
                    "tsx",
                    "src/index.ts"
                ]
            }
        }
    }
}

McpServers

{
    "usegranthq_mcp-server": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "-e",
            "USEGRANT_API_KEY=$USEGRANT_API_KEY",
            "npx",
            "tsx",
            "src/index.ts"
        ]
    }
}

UseGrant MCP Server

This is a Model Context Protocol (MCP) server for interacting with the UseGrant API. It provides a set of tools for managing providers, clients, tenants, and access tokens through the UseGrant platform.

Tools

- list_providers: List all providers
- create_provider: Create a new provider
- get_provider: Get a provider by ID
- delete_provider: Delete a provider
- list_clients: List all clients for a provider
- create_client: Create a new client for a provider
- get_client: Get client details by provider and client ID
- delete_client: Delete a client from a provider
- list_domains: List all domains for a provider
- add_domain: Add a domain to a provider
- get_domain: Get a domain by provider and domain ID
- delete_domain: Delete a domain from a provider
- verify_domain: Verify a domain for a provider
- create_access_token: Create a new access token for a client
- list_tenants: List all tenants
- create_tenant: Create a new tenant
- get_tenant: Get a tenant by ID
- delete_tenant: Delete a tenant
- list_tenant_providers: List all providers for a tenant
- create_tenant_provider: Create a new provider for a tenant
- get_tenant_provider: Get a provider for a tenant
- delete_tenant_provider: Delete a provider for a tenant
- list_tenant_provider_policies: List all policies for a tenant provider
- create_tenant_provider_policy: Create a new policy for a tenant provider
- get_tenant_provider_policy: Get a policy for a tenant provider
- delete_tenant_provider_policy: Delete a policy for a tenant provider
- validate_access_token: Validate an access token for a tenant

Requirements

- Node.js 16 or higher
- A valid UseGrant API key. Refer here for more details.

Using with Claude desktop

Add the following config to your claude_desktop_config file:

{
  "mcpServers": {
    "usegrant": {
      "command": "npx",
      "args": ["-y", "@usegrant/mcp-server"],
      "env": {
        "USEGRANT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Testing

To test the MCP server, we can use mcp inspector.

Copy the .env.example file to .env and set the USEGRANT_API_KEY environment variable.

npx @modelcontextprotocol/inspector -e USEGRANT_API_KEY=$USEGRANT_API_KEY npx tsx src/index.ts

To watch and build the project:

npm run dev

License

This project is licensed under the MIT License. See the LICENSE file for details.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.