Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPENDICT_MODELNoOpenRouter model ID for text inference. Defaults to a calibrated model if not set.
CLERK_SECRET_KEYNoClerk secret key for dashboard authentication.
OPENROUTER_API_KEYYesOpenRouter API key for inference. Required unless SPENDICT_MOCK_MODEL is set to 1.
NEXT_PUBLIC_APP_URLNoPublic URL of the deployed application (e.g., https://your-domain.com).
SPENDICT_MOCK_MODELNoSet to 1 to use deterministic heuristic verdicts (no inference cost). For local development only.
POLAR_PRODUCT_ID_PRONoPolar product ID for the Pro subscription tier.
POLAR_WEBHOOK_SECRETNoPolar webhook secret for subscription events.
SPENDICT_DEV_API_KEYNoDev-only API key. Do not set in production.
SPENDICT_INTERNAL_KEYYesInternal secret for Convex communication. Generate with openssl rand -hex 32. Required for production.
SPENDICT_VISION_MODELNoOpenRouter model ID for vision (creative_url) calls. If not set, falls back to SPENDICT_MODEL.
NEXT_PUBLIC_CONVEX_URLYesConvex deployment URL. Required for production.
POLAR_CHECKOUT_URL_PRONoPolar checkout URL for the Pro subscription.
POLAR_PRODUCT_ID_STARTERNoPolar product ID for the Starter subscription tier.
POLAR_CHECKOUT_URL_STARTERNoPolar checkout URL for the Starter subscription.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYNoClerk publishable key for dashboard authentication.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/dinosaur24/spendict-mcp'

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