get-api-key
Retrieve the API key required to authenticate requests to the Insforge backend service for database management, authentication, and storage operations.
Instructions
Retrieves the API key for the Insforge OSS backend. This is used to authenticate all requests to the backend.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/shared/tools.ts:192-197 (helper)Helper function that retrieves the global API key (GLOBAL_API_KEY from config or env). Used by all tools that require authentication. Throws error if not configured. The parameter is ignored for backward compatibility.const getApiKey = (_toolApiKey?: string): string => { if (!GLOBAL_API_KEY) { throw new Error('API key is required. Pass --api_key when starting the MCP server.'); } return GLOBAL_API_KEY; };