Peckboard Graphify
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Peckboard Graphifyfind the shortest path between the auth module and the database layer"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Peckboard Graphify plugin
A Peckboard WASM plugin that turns each repo in a folder into a queryable knowledge graph, hands that graph to the agent as MCP tools, and ships a per-repo visualizer.
Deterministic builds — graphify's tree-sitter AST pass plus its cross-file call-graph second pass. No LLM, no network, no tokens spent.
MCP tools — the agent builds a graph, walks the shortest path between two concepts, and explains one concept with its neighbours, community, and centrality.
A session system prompt — every session in the folder is told the graph exists, how big it is, and when querying it beats opening files.
Off until you say otherwise — a folder carries a Graphify switch, and each repo inside it carries its own. Both start off.
Visualizer — a sidebar page ("Graphify") that lists every repo in the folder, carries those switches, shows its headline numbers, and draws the graph.
graphify runs as a Python library, not a service: the plugin ships a driver
program it executes through the peckboard_exec host function, so nothing is
installed globally and no daemon is left running.
MCP tools
Tool | What it does |
| Build or refresh the graph → |
| Shortest path between two concepts, hop by hop, with the relation and confidence on each edge, plus a diagram of the chain the chat renders inline. |
| One concept: where it is defined, every direct neighbour with relation + confidence, the community it belongs to with its other members, and its degree rank. |
Every tool takes an optional repo — a path relative to the folder root
(. = the folder itself), because core pins command execution to that root.
graphify_path and graphify_explain need a graph; both answer with an
explicit "call graphify_build first" when there isn't one.
Edges carry a confidence: EXTRACTED (stated in the source), INFERRED (deduced by the cross-file pass), AMBIGUOUS (uncertain).
Related MCP server: OpenCodeHub MCP Server
Switching it on
Nothing runs until it is switched on, at two levels:
Switch | Where | Default |
Graphify in this folder | top bar of the Graphify page | off |
One repo inside that folder | the repo's card | off |
Installing the plugin therefore changes nothing on its own — including for a folder that was already using it before the switches existed, which goes quiet until someone turns it back on.
While a folder or repo is off:
all three MCP tools answer
{enabled: false, error, next_step}naming the switch to flip.mcp_toolsis manifest-level, so a tool cannot be hidden per folder — refusing is the honest equivalent, and the refusal is a normal tool result the agent can act on;the session system prompt is not written (and an existing one is taken back off) — advertising tools that will refuse is worse than saying nothing;
the page still lists repos, because that is how you choose one to enable, but it will not build or draw them.
The switches are written only from the authed page, under the operator's authority. The agent reads them and stops; it cannot turn itself on.
Both live in the plugin document store, keyed by folder (folders/<folder id>)
and by folder-and-repo (repos/<folder id>|<repo path>). The folder id is part
of the key because core scopes that store by plugin, not by folder — which is
also why the old build records, keyed on the bare repo path, collided between
two folders that each had a . repo.
The path diagram
A found graphify_path also comes back as a PNG: the hop chain drawn as a lit
polyline zig-zagging across a dim constellation, each node named and each
segment labelled with its relation and confidence. The tool result carries it as
_image_base64, which core (peckboard/src/routes/mcp.rs) turns into an MCP
image content block: the chat shows it in the tool card and a vision model sees
the route rather than parsing JSON. Turn it off with the Draw the path in
chat setting when the vision tokens aren't worth it.
The renderer (src/pathimage.ts, inlined into the driver) is standard-library
Python — zlib for the PNG stream, and antialiased lines, radial glows and a
5x7 bitmap font written by hand on a byte buffer. That is deliberate: the venv
is graphify's, and matplotlib only lands in it as a graspologic dependency. Two
things the layout does that are worth knowing before editing it:
Rows are serpentine, bands follow the column. Five nodes a row, running left-to-right then right-to-left, and because
PER_ROWis odd every row both starts and ends on the lower band — so a row change is a clean vertical drop rather than a diagonal across the labels.Labels are placed, not just drawn. Every node label reserves a box; each edge label then takes the first offset along its segment's perpendicular that lands clear of what is already there. Without it the row-seam labels stack.
The background field is decorative — a seeded LCG lays it out, not real neighbours — so the picture is deterministic per query without pretending to show graph structure it hasn't got. A render failure is swallowed, so a diagram bug can never cost the caller the answer, and paths longer than 14 nodes are drawn to that cap with the remainder stated in the footer.
What the graph does not contain
graphify_build is graphify's code-only pass: source files parsed by
tree-sitter (.py .ts .js .go .rs .java .cpp .c .rb .swift .kt .cs .scala .php .cc .cxx .hpp .h .kts). It does not read docs, PDFs, or images. For a
multimodal graph, run graphify's own /graphify skill — the session prompt says
so, so the agent doesn't ask this graph for prose it never ingested.
Visualizer
The manifest contributes the same Graphify page three ways — a project menu
entry, a session menu entry, and a button on each row of the Folders page —
served at /plugin-api/v1/graphify and framed in a sandboxed iframe. Never a
global sidebar entry: a global page carries no scope header, so core resolves no
folder for it and every route below refuses. All three surfaces read the same
state — the switches are keyed by folder id — so a folder enabled from a project
reads back enabled on the Folders page. It reads its data from the
authenticated /api/plugin-ui/graphify/* routes through the standard
parent-proxied fetch bridge:
Route | Returns |
|
|
| Every graph target in the folder with its switch, counts, confidence split, god nodes, and build time — plus |
| Nodes (with degree), edges, communities, and whole-graph |
| Same summary |
|
|
|
|
/graph returns the highest-degree slice of a large graph and flags it with
truncated; stats always describes the whole graph, so a capped drawing
never misreports its size.
Installing graphify
Installing is a handoff, not an integration. Peckboard plugins are fully isolated from each other, so graphify cannot invoke the App Manager (or any other plugin) — it can only point a person at it, and nothing installs automatically.
When a tool runs and graphify's Python package is missing, the tool answers with a structured handoff instead of installing anything:
{
"installed": false,
"error": "graphify is not installed for python3",
"next_step": "open the App Manager page (/plugin-page/app-manager/app-manager?install=python3,pip,graphifyy&from=graphify) and install 'python3', 'pip', 'graphifyy' — …",
"app_manager": {
"page": "/plugin-page/app-manager/app-manager?install=python3,pip,graphifyy&from=graphify",
"install": ["python3", "pip", "graphifyy"],
"note": "A handoff, not an integration: …"
},
"manual_command": "python3 -m venv .graphify-venv && .graphify-venv/bin/python -m pip install graphifyy"
}App Manager path (recommended): every "graphify isn't installed" banner on the Graphify page — including the install failed and timed out ones — carries an Install from App Manager button. Clicking it asks the host to open the App Manager page with the request prefilled (
?install=python3,pip,graphifyy&from=graphify, read by App Manager 0.6.0 and later), so those three land in a request bar with an Install button each. The App Manager tracksgraphifyyin its own pip namespace (versions viapip list --format=freeze, dependency edges viapip show), clearly labelled apart from system packages. The link only prefills the form — a person still clicks Install there; graphify cannot do it for them.The button posts
plugin-ui-open-pageto the host rather than opening a tab, and so needs Peckboard >= 0.0.168. Atarget=_blanktab cannot work: plugin pages are framed in an iframe sandboxed withoutallow-same-origin, a popup inherits that sandbox, and the opaque origin it lands in makes the app's own asset requests carryOrigin: null— which core's CSRF origin check answers with 403, so the tab renders blank.Manual fallback (no App Manager installed):
python3 -m venv .graphify-venv && .graphify-venv/bin/python -m pip install graphifyyLegacy self-install: the
auto_installsetting (off by default) restores the old behaviour: before the first build the plugin creates a private venv.graphify-venv/at the folder root and pip-installsgraphifyyinto it. A cold install pulls graspologic (scipy/numba) plus ~14 tree-sitter wheels and can legitimately outrun core's 600-second command ceiling; when it does, the result carries the manual command rather than reporting a success that never happened. The Graphify page's Install graphify button runs this same self-install on an explicit click, whatever the setting says.
The driver probes with the configured interpreter and also looks inside the
folder-root .graphify-venv/, so either install location works. The App
Manager's pip install goes to the user site, not that venv — the two
locations are independent, and the App Manager neither sees nor manages
.graphify-venv/.
python_bin must name an interpreter on core's exec allowlist — python3 or
python.
Security
The
repoargument is plugin-supplied, so it is jailed twice: once in TypeScript before the driver is invoked, and once in the driver against the real filesystem. Relative segments only; an absolute path or a..that climbs above the folder root is refused either way.Commands run through
peckboard_exec: a bare executable name from core's allowlist, an argv array (never a shell string, so there is nothing to interpret metacharacters), cwd pinned to the folder root, output capped at 1 MiB per stream, and the child killed past the timeout.The driver reaches the network only when installing graphify. Building and querying a graph are local and offline.
The plugin writes into the folder it is pointed at (
graphify-out/) and reads nothing outside it.
Settings
Key | Type | Default | Description |
| enum |
| Interpreter that runs the driver. Must be on core's exec allowlist. |
| boolean |
| Off: a missing graphify becomes an App Manager handoff — nothing installs itself. On (legacy): self-install into |
| enum |
| Whether to tell the agent about the graph: only when one exists, always, or never. |
| boolean |
| Return a found |
| integer |
| How long one build may run before core kills it. |
How it works
src/driver.ts holds one Python program, run as
python3 -c "<driver>" <subcommand> [args]. Its subcommands are probe,
repos, build, summary, graph, path, and explain; the last line of
stdout that parses as a JSON object is the result, so a chatty dependency can't
confuse the reader, and every failure path emits {"error": …} rather than
letting a traceback be the only output.
graphify ships no build CLI — its __main__ only offers install / benchmark
/ hook — so the driver reimplements graphify.watch._rebuild_code: extract →
build → cluster → analyze → report → export. Reimplementing rather than calling
it buys three things: a build can target a subdirectory, a full rebuild can drop
the extraction cache, and files are filtered on their path relative to the repo
(graphify's own filter drops any file whose absolute path contains a dotted
part, which silently empties a repo checked out under .peckboard/worktrees/).
Aggregate counts are computed in Python, because a large graph does not fit
through the 1 MiB stdout cap. src/graph.ts owns everything that can be done on
the TypeScript side, and is pure so it can be unit-tested without an Extism host.
Build
Targets the Extism js-pdk. Requires extism-js on PATH and Node/npm.
./build.sh
# or:
npm install && npm run build
# → dist/plugin.wasmRun the unit tests with npm test. They need the page bundle generated first
(npm run bundle), because src/page.ts imports it.
Install
Copy the built module into Peckboard's plugins directory, named to match its config key (the file stem is the plugin id):
cp dist/plugin.wasm <dataDir>/plugins/graphify.wasmRestart Peckboard, then approve the plugin (Settings → Plugins) — it declares
provide_mcp_tools, process_exec, project_files_read, data_store,
session_read, session_prompt_write, user_authority, and
contribute_sidebar.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Stateless agentic tools over MCP: concept extraction, long-context, knowledge graph, planning.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search code by meaning, explore codebase structure, store and query knowledge with temporal facts, and read source code through a set of MCP tools.4817MIT
- AlicenseNot gradedqualityAmaintenanceProvides code intelligence for AI coding agents by indexing repositories into a hybrid knowledge graph, enabling agents to query dependencies, impact, and context through 28 MCP tools.3Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query and analyze code across multiple repositories through a unified knowledge graph, with tools for symbol search, impact analysis, and graph algorithms.94MIT
- AlicenseAqualityCmaintenanceTurns a repository into a deterministic, local-first knowledge graph for coding agents, enabling navigation of code structure and relationships via MCP tools.10MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/PeckBoard/graphify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server