Skip to main content
Glama

TianGong-LCA-MCP Server

by linancn
decode_api_key.ts463 B
export interface Credentials { email: string; password: string; } function decodeApiKey(apiKey: string): Credentials | null { if (!apiKey) return null; try { const jsonString = atob(apiKey); const credentials = JSON.parse(jsonString) as Credentials; if (!credentials.email || !credentials.password) { return null; } return credentials as Credentials; } catch (_error) { return null; } } export default decodeApiKey;

Latest Blog Posts

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/linancn/tiangong-lca-mcp'

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