Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MINDGAP_DBNoOverride the path to the SQLite database file (default $MINDGAP_HOME/mindgap.db)
MINDGAP_HOMENoOverride the home directory for mindgap data (default ~/.mindgap)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
mindgap_ingestA

Validated batch write (workhorse). Upserts nodes + adds edges in one transaction; rejects the WHOLE payload (no partial commit) if any edge endpoint is neither in the DB nor in the payload. Returns the persisted rows so a caller can't claim a write that didn't land.

mindgap_add_nodeC

Single node upsert. Returns the persisted row plus stubs_created and warnings. confidence defaults to 0.7.

mindgap_linkA

Add one edge between two EXISTING nodes. Hard-fails (isError) if either endpoint is missing — does not auto-stub.

mindgap_unlinkA

Delete edge(s) between src and dst (optionally a specific rel). Returns removed count and any nodes left edgeless.

mindgap_get_nodeA

Fetch a node and its neighborhood (depth 1..3, default 1). Missing id returns node:null (clean miss, not an error).

mindgap_findB

Search nodes by query/type/tag. Returns results + count (limit 1..200, default 50).

mindgap_contextB

Render a markdown digest (matched nodes + neighbor links) for a query, mirroring mindgap context. Read-only.

mindgap_statsB

Graph counts: {nodes, edges, by_type, by_rel}.

mindgap_exportA

Write a JSON snapshot of the whole graph. Default path data/snapshots/.json; absolute out path allowed.

mindgap_remove_nodeA

Delete a node (cascades its edges). Destructive; for stub cleanup.

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/grburgess/mindgap'

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