Skip to main content
Glama

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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; };

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/InsForge/insforge-mcp'

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