Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEXUS_LOG_LEVELNoLogging levelINFO
NEXUS_LOG_FORMATNoLog format: text or jsontext
NEXUS_SEARCH_MODENoSearch mode: hybrid, vector, or bm25hybrid
NEXUS_STORAGE_DIRNoStorage directory for indexes.nexus
NEXUS_MAX_MEMORY_MBNoMemory budget350
NEXUS_CHUNK_MAX_CHARSNoMax code snippet size per chunk4000
NEXUS_EMBEDDING_MODELNoEmbedding model (jina-code, bge-small-en)jina-code
NEXUS_EMBEDDING_DEVICENoDevice for embeddings: auto (CUDA > MPS > CPU), cuda, mps, cpuauto
NEXUS_MAX_FILE_SIZE_MBNoSkip files larger than this10
NEXUS_FUSION_WEIGHT_BM25NoBM25 engine weight in RRF0.3
NEXUS_FUSION_WEIGHT_GRAPHNoGraph engine weight in RRF0.2
NEXUS_FUSION_WEIGHT_VECTORNoVector engine weight in RRF0.5

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
status

Use at the start of a session, or when unsure if search results might be stale. Reports whether a codebase is indexed, index size/engine availability, memory usage, and a stale/staleness_warning pair if files changed since the last index (a background reindex is auto-triggered).

healthA

Use for liveness/readiness probes only (uptime, which engines are up) — not for checking whether the index is fresh or complete; use status for that.

indexA

Use first on any new or changed codebase, before any other tool — everything except status/health requires an index. Supports comma-separated paths for multi-folder/monorepo indexing (processed sequentially to keep RAM low). Incremental by default once an index exists, and reports live progress instead of blocking silently. After this completes, a file watcher keeps the index fresh automatically (NEXUS_AUTO_WATCH) — re-running index manually is rarely needed.

search

Use for any "where is/how does/find" code question — preferred over Grep/Glob, and usually answerable from the returned code_snippet without a follow-up Read. Falls back to live grep automatically when hybrid results are sparse. Returns a non-null warning if the index looked stale (a background reindex is triggered; results still return now).

find_symbolA

Use to look up a specific function/class/symbol by name — preferred over Grep since it returns the definition plus its call-graph relationships in one call. Set exact=False for fuzzy substring matching when unsure of the exact name.

graph

Use to trace who calls a function (direction='callers'), what it calls (direction='callees'), or — with transitive=True — the full transitive blast radius of changing it. MUST use transitive=True before refactoring or editing a widely-shared symbol; grep can't show transitive impact.

analyzeB

Use for code review or quality assessment — cyclomatic/cognitive complexity, dependency analysis, code smells (long/complex functions, large classes, dead code), and an overall quality score. Optionally scope to a subdirectory or file via path.

explainA

Use for onboarding to an unfamiliar symbol — combines its call-graph relationships, related code found via semantic search, and quality metrics in one call, so Read is often unnecessary. Use verbosity='summary' for a quick look, 'full' when you need everything.

mapA

PREFERRED over Glob/ls/manual browsing for project understanding. Use 'summary' for a quick project orientation, 'architecture' for design/dependency structure, 'full' for both in one call.

memoryA

Persist and retrieve project context across sessions. Use action='store' to save a decision/note, action='search' to find memories by semantic similarity, action='delete' to clean up by ID, tags, or type.

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/jaggernaut007/Nexus-MCP'

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