Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging
DOCS_PATHNoPath to documentation submodule./lib/0g-docs
LOG_LEVELNoLogging levelinfo
OG_KV_URLNoCustom KV client URL. Overrides network default.
OG_EVM_RPCNoCustom EVM RPC endpoint. Overrides network default.
OG_NETWORKNoNetwork selection: testnet or mainnet. Automatically sets default RPC endpoints for the selected network.testnet
OG_INDEXER_RPCNoCustom Indexer RPC endpoint. Overrides network default.
OG_PRIVATE_KEYNoPrivate key for signing blockchain transactions. Required for 0gStorageUpload and 0gKvSet operations. Keep this secret and never commit to version control.
OG_FLOW_CONTRACTNoCustom Flow contract address. Overrides network default.
OG_SERVING_CONTRACTNoCustom Serving contract address. Overrides SDK default.
REBUILD_DOCS_ON_STARTNoRebuild docs on server startupfalse

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/Econyx-ai/0g-mcp-server'

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