import crypto from 'crypto';
import { flaunchActionProvider } from '@coinbase/agentkit';
/**
* Some AgentKit action providers throw if a key isn't set
* This function returns a list of action providers that have required env vars
*/
export function getActionProvidersWithRequiredEnvVars() {
if (process.env.PINATA_JWT) {
return [flaunchActionProvider()];
}
return [];
}
export function generateSessionId(): string {
return crypto.randomUUID();
}
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/base/base-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server