Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RELAYSNoComma-separated relay URLs for ContextVM transport announcements and request/response traffic. Not read by the stdio or HTTP transports.wss://relay.contextvm.org,wss://cvm.otherstuff.ai
HTTP_HOSTNoBind host for the HTTP transport. Use 127.0.0.1 to limit to a local proxy.0.0.0.0
HTTP_PORTNoPort to bind for the Streamable HTTP transport (src/http.ts).3000
LOG_LEVELNoPer-tool-call logging on stderr: info (default) logs every call, warn/error log failures only, silent disables the lines.info
AMB_RELAYSNoComma-separated AMB relay URLs. Queried by every content tool and used as default publish targets for the signing tools.wss://relay.edufeed.org
OAUTH_ISSUERNoOIDC issuer whose tokens are accepted by the HTTP transport.https://auth.edufeed.org/realms/edufeed
SKOS_SCHEMESNoJSON map { "<form-field>": "<scheme-uri>" } of default vocabularies used when the caller does not pass skosSchemes explicitly.
SPELL_RELAYSNoRelays to fetch kind-777 spells (and kind-3 contact lists) from.wss://relay.edufeed.org
VOCAB_RELAYSNoRelays used to resolve naddr1… SKOS scheme identifiers to relay-hosted vocabularies. Falls back to AMB_RELAYS.
OAUTH_AUDIENCENoComma-separated accepted audiences; a token whose aud contains any of them is valid.nope-mcp,amb-mcp
OAUTH_JWKS_URINoJWKS endpoint for token signature verification. Defaults to <issuer>/protocol/openid-connect/certs.
AMB_AUTHOR_SETSNoComma-separated naddr identifiers of NIP-51 follow sets (kind 30000), loaded once at startup into the author directory served by list_known_authors.
ANTHROPIC_MODELNoOverride the Anthropic model used for extraction.claude-sonnet-4-6
CALENDAR_RELAYSNoComma-separated NIP-52 calendar relay URLs for search_calendar_events.wss://relay.edufeed.org
AMB_EXTRA_RELAYSNoComma-separated AMB relay URLs that are selectable but not searched by default (e.g. wss://oersi.edufeed.org,wss://sodix.edufeed.org). Tools accept a relays parameter naming relays from AMB_RELAYS ∪ AMB_EXTRA_RELAYS.
ANTHROPIC_API_KEYNoEnables LLM-grounded SKOS field extraction in extract_metadata. When unset the tool degrades gracefully to OpenGraph/JSON-LD-only output.
INDEXER_API_TOKENNoBearer token for the indexer's /search_chunks (shared default for all endpoints).
INDEXER_ENDPOINTSNoComma-separated wss://relay=https://indexer pairs mapping each AMB relay to its amb-indexer base URL. Enables search_passages.
HTTP_ALLOWED_HOSTSNoComma-separated Host allow-list; enables DNS-rebinding protection when set.
INDEXER_API_TOKENSNoPer-relay token overrides, comma-separated wss://relay=token pairs. Every INDEXER_ENDPOINTS entry must be covered by this or INDEXER_API_TOKEN.
LICENSE_FILTER_MAXNoCeiling for the learning-resource licenseFilter search parameter: open, cc-any or any. A wider request is narrowed to the ceiling.any
OAUTH_RESOURCE_URLNoFallback PRM resource for a host not in HTTP_ALLOWED_HOSTS; otherwise the resource is derived per request.https://mcp.amb.edufeed.org/mcp
SERVER_PRIVATE_KEYNoNostr private key (nsec or hex) that is the server's own ContextVM identity. Required for the Nostr transport (src/index.ts). Not read by the stdio or HTTP transports.
CALENDAR_AUTHOR_SETSNoSame as AMB_AUTHOR_SETS, but for the calendar author directory served by list_calendar_authors.
EDUFEED_APP_BASE_URLNoFrontend base URL (no trailing slash, e.g. https://app.edufeed.org). When set, results include a url field pointing at the edufeed-app viewer page.
HTTP_ALLOWED_ORIGINSNoComma-separated Origin allow-list.
RELAY_QUERY_TIMEOUT_MSNoPer-query timeout (milliseconds) for relay reads; events already received are returned on timeout.25000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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