Setup
Set up the Unified Product Graph
Install the CLI, create your product graph, wire up the MCP server, and start talking to your AI assistant about your product. Five steps, one binary.
Prerequisites
Before you start
Node.js 18+ and npm are required. If Node is missing or below 18, install the LTS from nodejs.org and stop here until node -v reports 18 or higher.
Quick start
Five steps to your first graph
Verify:
Provides the upg binary. On EACCES / permission errors, do not use sudo: fix your npm prefix (npm config get prefix) or use a Node version manager (nvm, fnm, volta).
A global npm install needs write access to npm’s global prefix (npm config get prefix). If that is a system path you cannot write to, switch to a user-owned Node (nvm/fnm/volta) so -g installs into your home directory, with no sudo required.
Run inside the folder the graph should live in. Writes product.upg to the current directory. --yes is required for non-interactive use; add --force to overwrite. Templates: blank, saas, marketplace, mobile, oss.
All projects:
Writes a standard .mcp.json entry; the server runs on demand via npx, nothing else to install. Default is this project; --scope user makes UPG available in every project.
All projects:
Brings the full set of /upg-* slash commands (show-tree, check-gaps, show-status, new-discovery, and more) into your AI tool.
Expected: health reports a valid graph and mcp status shows connected. If it shows disconnected, restart your AI tool so it reloads .mcp.json.
What it enables
An agent that can reason over your product
The graph is a file the server reads and writes directly. Watch one conversation move through it:
Read your product's structure: personas, outcomes, opportunities, solutions.
Start a conversation
Ask anything about your product
get_product_contextcreate_nodesearch_nodesThe agent picks the right tool and calls it. You just describe what you want.
Not comfortable editing config files? Let your AI assistant set it up for you with a single prompt.
Tools
95 tools across 9 groups
AI agents discover these automatically via the MCP tools/list method. Local and cloud share most signatures; cloud adds collaboration tools.
Agent workflows
How agents use the graph
Chain persona to job to need to outcome. Every create/update response scores completeness and lists missing fields.
The ontology is the framework. BMC, OKR, OST, GTM each map to a known set of entity types.
create_edge connects entities across hierarchies; the server infers the edge type from the pair.
get_graph_digest finds orphans and counts by type. Fill the gaps through conversation.
One file, every surface
Your graph, everywhere
The same .upg file powers every surface. Every one speaks UPG.
Browse your graph in the sidebar: entity tree, overview, detail panels.
The local graph in a native shell, offline-first with a dock icon.
Capture ideas on the go. Voice-to-graph, quick entity creation.