project-graph-agent-bridge
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., "@project-graph-agent-bridgeInspect demo, create a text node, and connect it to Plan."
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.
Project Graph Agent Bridge
Read and edit Project Graph files from Codex or another local MCP client. The bridge uses the official Project Graph runtime; it does not parse or rewrite the .prg format.
Windows x64 preview v0.1.1. Includes seven MCP tools and a pinned companion runtime. The stock Project Graph 4.2.3 application alone does not expose the required Tool CLI. See compatibility.
Install on another Windows PC
Prerequisites: Windows 10/11 x64, Codex installed and signed in, Microsoft Edge WebView2 Runtime (normally installed with Project Graph), and an internet connection for the first install. Node.js and the required Visual C++ runtime DLLs are included. No pnpm, Rust, build tools or administrator rights are required by the installer.
Clone this repository or download its source ZIP and extract it.
Open Windows PowerShell in the extracted directory:
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1The installer downloads the pinned release ZIP, checks SHA256 before execution, creates a disposable demo from the public fixture, registers project-graph with Codex, and opens the compatible desktop. It does not replace the installed Project Graph application. Existing configuration and MCP registrations are preserved; conflicts produce an actionable error.
Start a new Codex task and say:
Use Project Graph to inspect demo. Create a new text node and connect it to Plan.
If the new tools do not appear, restart Codex. Save open-project edits with Ctrl+S in the companion desktop.
The bridge needs no API key or subscription of its own. Codex account access is handled by Codex. Do not put account tokens or API keys in this repository.
Related MCP server: CodeGB
Use your own graph
powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -ProjectFile "C:\Graphs\example.prg" -Alias exampleFor an existing installation, edit the private bridge.local.json: register the existing .prg under projects, add its parent directory under allowedRoots, and set permissions. Restart the MCP client after changing configuration. Close the same graph in an incompatible older desktop before opening it in the companion runtime. Formats requiring upgrade are rejected by the bridge rather than upgraded silently.
Set-ExecutionPolicy -Scope Process Bypass
.\scripts\start-project-graph.ps1 -Project example
.\scripts\bridge.ps1 prg_inspect -InputJson '{"project":"example","search":"Plan"}'All tool calls use aliases, never arbitrary filesystem paths. Configured roots are canonicalized to reject symlink escapes. Default demo data permits deletion; a graph supplied with -ProjectFile does not. Deleting nodes also deletes their associated edges.
Real example
Computer knowledge and skills learning map: an editable 152-node, 151-edge learning map with 30 BYOX practice projects, a desktop preview, and a readable outline.
Tools
Tool | Purpose |
| Discover aliases and permissions |
| Read, literal text search, paginated snapshots, connected neighborhoods |
| Create a TextNode in the open project's viewport |
| Edit text, color and dimensions |
| Add directed edges |
| Delete nodes and associated edges, if permitted |
| Native left-to-right layout for a connected DAG |
Inspect before editing and use refs from that project's latest snapshot. Partial failures and timeouts are not automatically retried. The bridge reads again after writes and returns verification details. Section member refs are exposed; fields omitted by the official snapshot are not recovered through private file parsing.
Advanced installation
-CodexPath "C:\path\codex.exe": locate a portable Codex installation explicitly.-McpName another-name -ConfigPath "C:\path\bridge.local.json": install an additional independent registration.-SkipCodexRegistration: configure another MCP client manually.-NoLaunch: do not open the companion desktop.-BundlePath "C:\Downloads\runtime.zip": offline installation with the exact release ZIP; SHA256 is still checked.
Manual MCP command: the installed bundle's node/node.exe, with arguments bridge/dist/index.js mcp stdio --config <absolute-config-path>. Paths in an MCP configuration should be absolute. Prefer a 180-second tool timeout for large graphs.
Development and tests
Developer prerequisites are separate from end-user installation: Node 24+, pnpm 11.19.0.
pnpm install --frozen-lockfile
pnpm typecheck
pnpm testTests use synthetic protocol data and a public fixture. See testing for the real CLI/MCP/GUI acceptance workflow and runtime builds for reproducible companion builds.
Privacy and licensing
Local configuration, user graphs, downloaded runtimes, logs and machine-specific evidence are excluded by .gitignore. Keep private screenshots and credentials in ignored local directories. Only the explicitly reviewed fixture and learning-map showcase are tracked. See privacy before contributing diagnostics.
GPL-3.0-only; see LICENSE. This is an independent community integration, not an official Graphif or OpenAI release. Third-party components retain their original licenses; see notices. Corresponding upstream source and build instructions accompany runtime releases.
Chinese users: clone 后运行上述 install.ps1,再在 Codex 新任务中说“读取 demo”。首次安装会下载兼容运行时,不需要自行编译。创建节点需打开配套桌面;改完按 Ctrl+S 保存。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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
Multiple MCP tools, persistent graph memory, token-saving data pointers, and more.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
251Render, verify, describe, and safely edit Mermaid diagrams through MCP.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that builds a knowledge graph from code and text documents, enabling Q\&A and implementation planning via tools like graph_create, graph_plan, and graph_query.7MIT
- FlicenseNot gradedqualityFmaintenanceProvides a local code knowledge graph for Java projects, enabling querying of classes, methods, fields, calls, inheritance, and imports via MCP tools like query, context, impact, and cypher.1-
- AlicenseNot gradedqualityAmaintenanceGraph-based context extraction engine and MCP server for Unity projects, providing targeted code context slicing and compression for LLMs.MIT
- AlicenseNot gradedqualityBmaintenanceExposes code graphs across multi-program repositories via MCP, enabling humans and agents to query the fleet with evidence.MIT
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/zhaoyj13282-commits/project-graph-agent-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server