Skip to content
Use NetCodex from Claude Code / Codex (MCP)

Use NetCodex from Claude Code / Codex (MCP)

Connect NetCodex to Claude Code and Codex so they can find, read, summarize, export and continue your previous chats, without leaving this computer.

On this page

What it does

NetCodex includes an MCP server: a small program your agent starts by itself and asks questions to. With it you can tell Claude Code or Codex things like find my previous chat about the migration, continue the Codex chat here, summarize what we did yesterday or export this conversation as a report.

ToolWhat the agent gets
list_sourcesWhich agents have history on this computer and how many chats each has.
list_chatsRecent chats with their title, folder and date (filters: source, project, title, since). Fast: no chat is opened.
search_chatsFull-text search with a short snippet per match.
get_storyA short factual story of a chat: what was asked, what was done and how it ended.
get_chatThe chat itself, page by page (readable or original view).
export_chatA Markdown, HTML or PDF document, only in your exports folder (or a folder you allow).
prepare_handoffA context pack to continue the chat, written to .netcodex/handoff in the project.

Connect it from the app

  1. Open Integrations

    Open Integrations at the bottom of the sidebar and find Use NetCodex from your agents (MCP).

  2. Choose Connect

    Next to Claude Code or Codex, choose Connect. NetCodex shows the exact command it will run (for example claude mcp add --transport stdio --scope user netcodex -- <path>\netcodex-cli.exe mcp) and runs it only when you choose Run. It uses the agent's own command-line tool; NetCodex does not edit their settings files.

  3. Restart the agent

    Open a new Claude Code or Codex session. The tools appear as netcodex. Disconnect removes them the same way.

From a terminal

The Windows app installs a console program, netcodex-cli.exe, next to NetCodex.exe (the installer can add that folder to your PATH). With pip or pipx, install the mcp extra. Use the absolute path in the commands below.

  • Claude Code

    claude mcp add --transport stdio --scope user netcodex -- "%LOCALAPPDATA%\Programs\NetCodex\netcodex-cli.exe" mcp
  • Codex

    codex mcp add netcodex -- "%LOCALAPPDATA%\Programs\NetCodex\netcodex-cli.exe" mcp
  • pipx

    pipx install "netcodex-agent-exporter[mcp]"
  • Skill

    netcodex skill install

Cursor and VS Code: the same Integrations section has ready-to-copy snippets for ~/.cursor/mcp.json and for code --add-mcp. One-click buttons for them are planned.

Privacy and limits

  • Everything runs on this computer. The agent you connected is the only one that reads the answers.
  • Tokens, passwords and your home folder are masked in every answer, as in exports.
  • The agent can write in only two places: your exports folder (or a folder you allow with netcodex mcp --allow-dir <folder>) and the handoff pack in the project's .netcodex/handoff folder.
  • Moving a chat into another agent's own history is not available to agents yet: use Continue in… in the app.
  • NetCodex never edits ~/.codex/AGENTS.md. Integrations offers an optional snippet to paste there if you prefer it to the skill.