G
Graphify
graphify.homes
Codex setup

How to install Graphify for Codex

Codex can use Graphify through the official plugin, a manual hosted MCP connection, or the open-source CLI and skill. The plugin is the quickest managed path: install it, connect your Graphify account with OAuth, and start a new Codex session. The local CLI path builds the graph in your repository instead. Both paths can answer structural questions, but they read different graphs; label which one produced an answer before relying on it.

Published Updated

Graphify outputs
graph.html
graph.json
GRAPH_REPORT.md

Graphify stores inspectable artifacts so codebase knowledge can be reviewed by humans and reused by AI coding assistants.

A Codex command surface connected by a secure graph conduit to a repository constellation

Quickest path

Official plugin

Install the Graphify plugin from the shared Codex and ChatGPT plugin directory, then connect with OAuth.

Manual hosted path

codex mcp add

Add the Streamable HTTP MCP endpoint directly when you want the connection in your own Codex configuration.

Local path

graphifyy CLI

Install graphifyy, register the Codex skill, and build graph artifacts from the repository on your machine.

Which Graphify path should a Codex user choose?

Choose the plugin when you want the managed graph and the shortest setup. Choose manual MCP when you want the hosted server in your own Codex config. Choose the local CLI when the graph must be built from files on your machine or when you want the open-source workflow.

  • Plugin: install, connect, sign in, and start a new session.
  • Manual MCP: one command plus OAuth login.
  • Local CLI: install graphifyy, register the Codex skill, and build in the repository.
  • Do not run plugin and manual MCP at the same time unless duplicate tools are acceptable.

How do you install the official Graphify plugin in Codex?

Open /plugins in Codex CLI and search for Graphify, or add the plugin marketplace and install it from the terminal. The documented terminal sequence adds Graphify-Labs/graphify-codex-plugin, installs graphify@graphify, and then signs in through the browser. Start a new Codex session after the install.

  • Use the plugin directory when you want the one-click path.
  • The terminal install still needs an OAuth sign-in.
  • The same plugin is shared with ChatGPT.
  • The Codex IDE extension does not support plugins yet; use manual setup there.

How do you add the Graphify MCP server manually?

Run codex mcp add graphify --url https://api.graphify.com/mcp, then complete the login flow if Codex reports that authentication is required. The server uses Streamable HTTP and OAuth, so there is no API key to paste.

  • Run the command in a terminal, not inside a model prompt.
  • Use the exact endpoint documented by Graphify.
  • Complete the browser sign-in with the account that can access the indexed repository.
  • Start a fresh session after the login completes.

How do you install the local Graphify skill for Codex?

Install the official graphifyy package with uv or pipx, run graphify install --platform codex, and open Codex in the repository. The installer can target the user scope or a project registration when you want the setup committed with the repository.

  • Use uv tool install --python 3.12 graphifyy for an isolated environment.
  • Run graphify install --platform codex after the package install.
  • Use --project when the registration should live with the repository.
  • Review the files written by the installer before committing them.

How do you build and verify a Codex graph?

Open the repository in Codex and send /graphify . to build the graph for the current folder. Then ask a narrow architecture question and require citations. A good verification asks Codex to show the files, symbols, relationship path, and confidence labels behind the answer before it edits anything.

  • Start with one subsystem in a large repository.
  • Ask for extracted versus inferred relationships.
  • Open the cited files and compare them with the graph.
  • Run tests or compiler checks when the answer affects behavior.

What does the Codex plugin add compared with a plain prompt?

The plugin connects Codex to a workspace graph that persists outside the prompt. Codex can use graph tools to search repositories, follow callers and dependencies, and check what a change could reach. That is different from asking a model to infer structure from whatever files happen to fit in the current context.

  • The graph is built and refreshed independently of the prompt.
  • The agent can use explicit relationship tools.
  • Answers can cite indexed project structure.
  • The same workspace can serve multiple agent sessions.

What should you do when Codex shows Graphify tools twice?

You probably installed both the plugin and a manual MCP server entry. Choose one path, remove the duplicate entry, and start a new session. Duplicate tools waste context and make routing ambiguous.

  • Keep the plugin for the managed, directory-based path.
  • Keep manual MCP when you need an explicit config entry.
  • Remove the other entry rather than disabling tools ad hoc.
  • Restart Codex after changing the MCP configuration.

How do you keep the local graph fresh for Codex?

Refresh after structural changes, large file moves, or interface updates. The open-source CLI documents update, watch, and hook workflows. The hosted product updates its indexed repositories through its own indexing process. In both cases, record the build revision beside the answer.

  • Refresh the graph after changing imports or package boundaries.
  • Do not compare graphs built from different branches.
  • Re-run skill registration after a CLI upgrade.
  • Treat stale structural evidence as a risk, not a minor detail.

What is the safest team policy for Codex and Graphify?

Document the chosen path, the account and workspace, the repository scope, and the refresh policy. Require source citations and a clear distinction between graph evidence and model inference. Keep secrets and generated caches out of the graph inputs.

  • State whether Codex should use hosted or local Graphify.
  • Require evidence before code edits.
  • Define who owns the index and access.
  • Review data-boundary and retention settings.

How should teams review Codex and Graphify configuration?

Review the registration that Codex actually loads, whether it is user or project scoped, the server or skill source, the account it authenticates to, and the repository paths it may read. Do not treat a successful tool listing as proof of correct scope. A teammate should be able to repeat the same setup from the repository instructions without copying a personal token or local absolute path.

  • Verify which scope Codex is reading before troubleshooting behavior.
  • Record the plugin or server source without embedding credentials.
  • Confirm that project instructions match the selected hosted or local path.
  • Remove duplicate manual registrations after adopting the plugin.
  • Test the setup from a fresh Codex session on a clean checkout.

What prompt pattern produces better Codex graph answers?

Ask Codex to start from a named module or symbol, query Graphify before broad file reads, and return the relevant paths, symbols, relationship types, confidence, and graph revision. Then ask it to verify the cited files against the current branch. This structure keeps the graph as an evidence source and prevents a plausible architecture summary from replacing source-level checks.

  • Name the subsystem, symbol, or user flow you want to investigate.
  • Require graph paths before opening a large set of files.
  • Ask for confidence and ambiguity in the returned relationships.
  • Require verification against the current branch and tests.
  • Ask for the smallest next action after the evidence review.

How should teams handle Codex plugin and CLI version drift?

Record the Graphify CLI, plugin, and hosted server versions used for an accepted workflow, then retest after upgrades. Plugin and command surfaces can change independently, and a graph built by one version may not match the assumptions of another. Pin what can be pinned, keep a smoke command in the repository documentation, and verify tool names before changing team-wide instructions.

  • Record the versions used for the first successful project graph.
  • Run a documented smoke query after every upgrade.
  • Check whether tool names or authentication steps changed.
  • Rebuild the graph when extraction or schema behavior changes.
  • Keep an upgrade note with any instruction-file changes.
Working commands

How do the setup commands fit together?

Install the official Codex plugin

Shell
codex plugin marketplace add Graphify-Labs/graphify-codex-plugin
codex plugin add graphify@graphify
codex mcp login graphify

Add the hosted MCP server manually

Shell
codex mcp add graphify --url https://api.graphify.com/mcp

Install the local Codex skill

Shell
uv tool install --python 3.12 graphifyy
graphify install --platform codex
graphify install --project --platform codex
FAQ

Frequently asked questions

Does the Codex plugin require an API key?

No. The documented hosted server uses OAuth. Install the plugin or add the MCP server, then complete the browser sign-in.

Does the Codex IDE extension support the plugin?

The Graphify documentation says plugins work in Codex CLI and Codex inside the ChatGPT desktop app, while the IDE extension currently needs manual MCP setup.

What is the manual Codex MCP command?

The documented command is codex mcp add graphify --url https://api.graphify.com/mcp.

How do I use the open-source graph instead of the hosted graph?

Install graphifyy, run graphify install --platform codex, and build in the repository. The local skill reads graphify-out rather than the hosted workspace.

Why does Codex still ask me to authenticate?

Installing from the terminal does not complete sign-in. Run the documented login command, finish the browser flow, and start a new Codex session.

Can Codex use Graphify and another code graph at once?

Yes, but give each tool a clear routing rule. Otherwise duplicate tools produce inconsistent evidence and waste context.

Can Codex use Graphify without a hosted Graphify account?

A local Graphify CLI and skill can be used without a hosted Graphify account. The official plugin and hosted MCP path may require their own authentication and service setup. Choose the path that matches the repository's data policy, then verify the actual tool registration rather than assuming a local npm or Python install created the intended integration.

Does installing the Codex plugin modify the repository?

Plugin installation and project registration are separate actions. Review the command output and configuration that Codex loads to see what changed and at which scope. Any project-level instruction or artifact intended for teammates should be reviewed and committed deliberately; personal registration state and credentials should not be added to the repository.

How should Codex handle a stale graph during a long task?

Check the graph revision before relying on structural evidence after a rebase, package move, or interface change. If the graph is stale, refresh it or limit the answer to relationships already verified in the current checkout. A long agent session should not silently continue from a map built against an older branch.

Key takeaways

What should you remember?

  • Use the official plugin for the fastest managed Codex setup.
  • Use codex mcp add when you need a manual hosted connection.
  • Use graphifyy plus --platform codex for on-machine graph builds.
Sources

Where can you verify the details?

Related Graphify guides

Continue through the Graphify topic cluster with pages that explain assistant context, architecture review, documentation, and graph-based codebase understanding.

Turn this concept into a real project graph

Start from the use cases page or upload a project ZIP to build a graph that your team can inspect and reuse.