Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NEO4J_URINoBolt endpoint.bolt://127.0.0.1:7687
NEO4J_USERNoNeo4j username.neo4j
NEO4J_DATABASENoNeo4j database name.neo4j
NEO4J_PASSWORDYesNeo4j password.
GRAPH_MCP_KB_ROOTYesCorpus root. Must exist. Falls back to KNOWLEDGE_MCP_ROOT, then ~/Knowledge.
GRAPH_MCP_EMBED_DIMNoEmbedding dimension. Must match the model and the vector index.4096
GRAPH_MCP_LLM_MODELNoModel name for Stage 3 extraction.qwen3.5-122b-a10b
GRAPH_MCP_CHUNK_WORDSNoTarget words per chunk.350
GRAPH_MCP_EMBED_BATCHNoTexts per embedding request.16
GRAPH_MCP_EMBED_MODELNoEmbedding model name.text-embedding-qwen3-embedding-8b
GRAPH_MCP_LLM_API_KEYNoAPI key for the LLM endpoint.lm-studio
GRAPH_MCP_LLM_BASE_URLNoBase URL for the LLM used in Stage 3 extraction.http://127.0.0.1:1234/v1
GRAPH_MCP_CHUNK_OVERLAPNoWord overlap between chunks.60
GRAPH_MCP_EMBED_BASE_URLNoLM Studio OpenAI-compatible embeddings endpoint.http://127.0.0.1:1234/v1
GRAPH_MCP_SEMANTIC_TOOLSNoSet to '1' to register the Stage 4 tools (find_related_entities, shortest_path, recent_related_changes).
GRAPH_MCP_ENTITY_MERGE_THRESHOLDNoCosine similarity above which two entities merge.0.92

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
semantic_searchA

Find passages in the knowledge base by meaning rather than keywords.

Use when the question is conceptual or the user's wording is unlikely to match the note's wording verbatim — "how do I handle X", "what did I decide about Y". For exact strings, literal identifiers, or filenames, prefer knowledge-mcp's search_knowledge instead.

Returns the best-matching chunks with their document path, section breadcrumb, and similarity score. Read the full note via knowledge-mcp's read_knowledge using the returned path.

documents_by_tagA

List documents carrying a frontmatter tag, e.g. "hermes" or "homelab".

Use for tag-based navigation — "what notes are tagged X". Call list_tags first if unsure which tags exist. Returns paths; read content via knowledge-mcp's read_knowledge.

list_tagsA

List every tag in the corpus with how many documents use it.

Use to discover the corpus's own vocabulary before calling documents_by_tag.

entities_in_documentA

Show what a specific note is about: its tags, its wikilinks in and out, and (once the semantic pass has run) the entities it mentions.

Use when you already know which note you care about and want its neighbourhood — "what does this note connect to". path is relative to the knowledge base root, e.g. "projects/my-project.md".

similar_documentsA

Find notes covering similar ground to a given note, by embedding similarity rather than by explicit links.

Use to surface related material the wikilinks miss — near-duplicates, or an older note on the same topic. Complements entities_in_document, which only sees links you wrote by hand.

graph_overviewA

Report what the graph currently contains — node and edge counts per type.

Use to check which extraction stages have run before trusting a query that depends on them.

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/cao-jacky/graph-mcp'

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