Skip to main content
Glama

elfa_status

Check the current ELFA configuration and .env load status to monitor and verify environment settings on the CG Alpha MCP server, ensuring seamless integration for crypto market analysis.

Instructions

Show current ELFA config (key masked) and .env load info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'elfa_status' tool. It returns a JSON-RPC content block with the current ELFA base URL, .env loading status (loaded, from paths, vars), and masked authentication details.
    "elfa_status": async () => { return { content: textContent({ base: ELFA_BASE, loaded: ENV_INFO.loaded, from: ENV_INFO.from, vars: ENV_INFO.vars, auth: { headerName: ELFA_AUTH.headerName || "", scheme: ELFA_AUTH.scheme || "", key: maskKey(ELFA_AUTH.key) } }) }; },
  • mcp-server.js:281-285 (registration)
    The registration of the 'elfa_status' tool in the 'tools' array exported for tools/list. Includes description, empty input schema (no parameters), and annotations indicating it's read-only.
    { name:"elfa_status", description:"Show current ELFA config (key masked) and .env load info.", inputSchema:{ type:"object", properties:{} }, annotations:{ title:"ELFA: Status", readOnlyHint:true, openWorldHint:false } },

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/JCF0/cg-alpha-mcp'

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