Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AP_DEBUGNoEnable debug loggingfalse
AP_API_KEYYesYour AP API key
AP_RETRIESNoRetry attempts for failed requests3
AP_TIMEOUTNoRequest timeout (ms)30000
AP_BASE_URLNoAP API base URLhttps://api.ap.org/media/v
AP_LOG_LEVELNoLog level (error, warn, info, debug)info
AP_ENFORCE_PLANNoEnforce in_my_plan=true for all content requests (AI safety feature)true
AP_CACHE_ENABLEDNoEnable intelligent caching systemtrue
AP_VERBOSE_LOGGINGNoEnable request/response loggingfalse
AP_CACHE_TTL_SEARCHNoSearch results cache TTL (3 minutes)180000
AP_CACHE_TTL_TRENDSNoTrending topics cache TTL (5 minutes)300000

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/rbonestell/ap-mcp-server'

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