Skip to main content
Glama
generateCodeChallenge.ts335 B
import { createHash } from 'crypto'; /** * Generates PKCE code challenge from verifier * * @param verifier - Random code verifier string * @returns Base64url-encoded SHA256 hash of verifier */ export function generateCodeChallenge(verifier: string): string { return createHash('sha256').update(verifier).digest('base64url'); }

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/datalabs89/tableau-mcp'

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