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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp-server.js:159-167 (handler)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 } },