Code Lens
Reads uncommitted Git changes in the current project to build read-only Code Lens boards of changed methods and call flows; it does not edit, stage, or commit the repository.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Code Lens
See what your AI agent changed, as a map of the real code. Ask "Make a Code Lens board of my changes" and the agent builds one board next to the chat: every changed method as a card with its whole body, arrows from the exact call lines, one frame per flow, and a Show changes switch between Before and After. The board is saved locally, so you can reopen it tomorrow without rebuilding.

Download and install (version 0.7.2)
Codex Desktop: CodeLens-Codex-0.7.2-Direct.zip → Plugins → Add → New plugin → pick the ZIP (do not unpack). Needs Node.js 20+. Step-by-step guide
Claude Desktop (regular chat and the Code tab): CodeLens.mcpb → Settings → Desktop app → Extensions → Manage → Advanced settings → Extension Developer → Install Extension… (uninstall an older Code Lens entry first). Step-by-step guide
All files, checksums and later versions: Releases.
Then, in a project with uncommitted Git changes, ask: Make a Code Lens board of my changes.
Status of 0.7.2: checked with automated tests on the built packages (a simulated app host). The owner also checked it live on a small synthetic project: building a board in Codex Desktop, and building and reopening a board in the Code tab of Claude Desktop. Not yet checked live with 0.7.2: reopening in Codex Desktop and the regular Claude chat (0.7.1 was checked live in both Desktop apps, in the Code tab for Claude).
Related MCP server: mcp-feature-analyzer
What you get
One interactive Code Map, not a summary: whole method bodies, arrows from the real call lines, frames per flow, Before/After of the same change, explicit limits written inside each frame ("static path, not a runtime trace").
Saved boards reopen from the chat after a restart: "Show my last Code Lens board", "Open the board about the discount and go to discount()". In a new chat in the same project folder you get that project's board; in a chat without a folder the agent asks which project, or tells you whose board it opened. If several boards match, it asks.
Extended board only when you ask ("Make an extended Code Lens board of my changes"): adds a side frame of the classes involved, unchanged callers/helpers that explain the change and short line notes. A normal request stays compact. See saved and extended boards, local and offline use.
Read-only: Code Lens never edits, stages or commits your project and runs no project code.
Where it works
Client | File | Board panel next to the chat | Status |
Codex Desktop |
| yes (MCP App) | 0.7.2: board build checked live, reopening and the rest checked locally; 0.7.1 checked live |
Claude Desktop: regular chat and Code tab |
| yes (MCP App) | 0.7.2: Code tab checked live (build and reopen); regular chat checked live only with an earlier test build |
Codex CLI (terminal) |
| no panel in a terminal | install/remove checked automatically in a throwaway |
Claude Code (terminal CLI) | none | no | not supported in this release; a different client from the Code tab of Claude Desktop, and |
Requirements
Codex Desktop / Codex CLI: Node.js 20 or newer on
PATH(node -v); the plugin starts its server withnode.Claude Desktop: nothing extra, extensions run on Claude's built-in Node.js.
A Git project with changes. Tested on Windows; macOS and Linux paths exist in the code but are untested.
Privacy, in one paragraph
The model receives only the board title and counts (and, when it must ask, a short list of title/date/id). Code and
notes go only to the board panel through app-only tools. Boards and drafts stay in a local folder
(%LOCALAPPDATA%\CodeLens on Windows). This describes what the Code Lens protocol sends; it does not prove what
the host app or the agent itself does with your code, because the agent reads your diff to build the board.
Support the project
If Code Lens is useful to you, you can support it on Patreon.
Contributing
Ideas and pull requests from forks are welcome; see CONTRIBUTING.md.
Build from source (for contributors)
npm ci
npm run releaseThis builds everything, runs the unit tests, writes the packages and SHA256SUMS.txt into release-assets/ and runs
the package smoke test on the unpacked packages. Browser tests: npm run test:e2e. Details:
docs/development.md.
License
Code Lens is released under the MIT License. The packages bundle third-party components under their own
licences, listed with their texts in THIRD_PARTY_NOTICES.txt inside each package.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Code-map tools for AI agents: see a repo's structure first, then edit only what matters.
Create, read and live-edit visual boards, Kanban plans, Gantt timelines and diagrams with AI agents.
A collaborative whiteboard your AI assistant can read, fill and show live, with changes you review.
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to perform code reviews by providing access to staged files, git diffs, and repository file content. It allows users to evaluate changes and context within any local git repository before committing or pushing.34 npmISC
- AlicenseAqualityBmaintenanceEnables humans to review AI-generated code changes through a GUI: agents freeze git diffs and add findings/diagrams, while reviewers annotate and save decisions returned as an exact correction prompt.17757 npmISC
- AlicenseNot gradedqualityBmaintenanceEnables reviewing diffs, staging/unstaging, discarding changes, committing, pulling, pushing, and stashing directly from the chat through a side panel with list/tree views, side-by-side compare, and image previews. It also generates Conventional Commits messages from the staged diff via host model sampling.1MIT
- AlicenseNot gradedqualityBmaintenanceGives AI coding agents a shared, persistent canvas they can read and edit through a compact set of tools, so they can map code, lay out plans, and revise them in validated atomic batches. Users steer by selecting cards, commenting, and answering or accepting the agent's proposals directly on the board.MIT