Skip to main content
Glama

Industrial MCP Server

by intecrel
consent-grants-api.ts786 B
/** * Consent Grants API utilities * Wrapper functions for use by other modules to avoid Next.js route export conflicts */ import { addConsentGrant as addGrant, updateLastUsed as updateGrantLastUsed, revokeGrant as revokeUserGrant } from './consent-grants'; export async function addConsentGrant( userEmail: string, clientId: string, clientName: string, scopes: string[], userId?: string ): Promise<string> { return addGrant(userEmail, clientId, clientName, scopes, userId); } export async function updateLastUsed(userEmail: string, clientId: string): Promise<void> { return updateGrantLastUsed(userEmail, clientId); } export async function revokeGrant(grantId: string, userEmail: string): Promise<boolean> { return revokeUserGrant(grantId, userEmail); }

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/intecrel/industrial-mcp'

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