Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAPHIFY_BINNoCLI pathgraphify
GRAPHIFY_HOSTNoBind host for HTTP transports127.0.0.1
GRAPHIFY_PORTNoBind port for HTTP transports8000
GEMINI_API_KEYNoOptional API key for Google Gemini backend naming.
OPENAI_API_KEYNoOptional API key for OpenAI backend naming.
GRAPHIFY_OUT_DIRNoOutput folder namegraphify-out
GRAPHIFY_TIMEOUTNoCLI timeout (seconds)600
ANTHROPIC_API_KEYNoOptional API key for Anthropic backend naming.
GRAPHIFY_TRANSPORTNostdio | streamable-http | ssestdio
GRAPHIFY_PROJECT_DIRNoProject root to extract the graph from.
GRAPHIFY_RESTRICT_PATHSNoConfine graphify_build's path to the project dir (auto-on for HTTP)0

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

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
graphify_buildA

Build or update a knowledge graph from a folder. (Writes to graphify-out/.)

Args: path: Folder to extract the graph from (relative to the project dir or absolute). mode: "deep" -> more aggressive INFERRED edges; empty -> default. update: True -> re-extract only changed files and merge into the existing graph. cluster_only: True -> rerun clustering only, without re-extraction. no_viz: True -> skip the HTML visualization (faster for development).

graphify_queryA

Run a natural-language query against the graph.

Args: question: Natural-language question, e.g. "what connects attention to the optimizer?" dfs: True -> trace a specific path in depth. budget: If >0, cap the number of tokens returned (e.g. 1500).

graphify_pathB

Find the exact path between two nodes (e.g. "DigestAuth" -> "Response").

graphify_explainC

Return everything Graphify knows about a node.

graphify_addA

Add an external source to the graph (arXiv paper, tweet, etc.). http/https only.

Args: url: Source URL to add. author: Original author tag (optional). contributor: Tag for who added it (optional).

graphify_overviewA

One-shot orientation: call this FIRST.

Returns graph size, top god nodes, community count, surprise-edge count and suggested starting questions — enough to plan further exploration cheaply.

graphify_god_nodesB

List the highest-degree (most connected) 'god nodes'.

graphify_surprisesC

List unexpected cross-file/cross-domain connections (surprise edges).

graphify_communitiesB

Summarize Leiden communities with sizes and sample members.

graphify_sampling_statusA

Capability test: how can semantic naming be produced in this session?

Reports whether the connected client supports host-LLM sampling (so the server needs no API key), whether a backend API key is configured as a fallback, and which method graphify_label_communities will pick.

graphify_label_communitiesA

Give the Leiden communities human-readable names.

Args: method: "auto" -> host-LLM sampling if the client supports it, else a configured backend key (graphify CLI), else "Community N" placeholders. "sampling" -> force host-LLM sampling (no API key needed). "cli" -> force the graphify backend (GEMINI_API_KEY/OPENAI_API_KEY/... or a local ollama). "placeholder" -> no LLM at all. limit: Only the largest limit communities are named, to stay cheap. sample_size: Member labels per community handed to the model.

graphify_searchB

Search nodes by text in their name/label (case-insensitive).

graphify_neighborsC

List the direct (1-hop) neighbors of a node, with relations.

graphify_subgraphA

Extract a BFS subgraph around a node, capped at a token budget.

This is the token-cheap way to hand the model just the relevant slice of a large codebase instead of the whole graph.

Args: node: Center node (exact or fuzzy match). hops: BFS depth from the center. budget_tokens: Approximate cap on returned size; expansion stops when hit.

graphify_node_detailsC

Show a node's full metadata: type, source file/line, docstring, community.

graphify_freshnessA

Check whether graph.json is stale relative to the current git HEAD.

Prefers the commit graphify recorded the graph was built from (built_at_commit) over the file mtime — robust across checkouts where mtime is reset — and flags both modified and newly-added (untracked) files. Recommends graphify_build(update=True) if stale.

Prompts

Interactive templates invoked by user choice

NameDescription
onboardOrient yourself to this codebase using the knowledge graph.
trace_bugInvestigate a bug symptom by tracing it through the graph.
explain_flowExplain how a named flow or feature works end to end.

Resources

Contextual data attached and managed by the client

NameDescription
reportGRAPH_REPORT.md — core nodes, surprises and suggested questions.
graph_jsongraph.json — the persistent, queryable graph (raw JSON).

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/yasinyaman/graphify-mcp'

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