Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RPC_URLNoCustom RPC endpoint URL. If not provided, uses default RPC for the specified chain.
CHAIN_IDNoThe blockchain network chain ID to interact with.252
CONTRACT_ABIYesThe JSON string representation of the contract's ABI. This defines which functions will be available as MCP tools.
CONTRACT_NAMENoA friendly name for the contract, used as a prefix for generated tool names.CONTRACT
CONTRACT_ADDRESSYesThe deployed contract address on the blockchain.
WALLET_PRIVATE_KEYNoThe private key of the wallet to be used for signing and sending transactions to the blockchain. Required for write functions.

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/IQAIcom/mcp-abi'

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