even-g2
Click on "Deploy 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., "@even-g2Show a list artifact with my next three development tasks and confirm delivery."
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.
Even G2 Codex Harness
A standalone, open-source artifact display layer for Even Realities G2. Give Codex structured data; keep its answer beside a compact canvas artifact on your glasses.
MIT license · Architecture · Self-hosting · Even Hub setup · Codex connection

Actual browser screenshot of this project. The artifact pixels use the real template renderer; native answer text is approximated. This is a software preview, not a photograph through G2 lenses.
What is included
The original seven artifact templates: list, schedule, image, image grid, thumbnail list, card, and calendar.
A 576 × 288 split surface: native answer text on the left, a 288 × 288 canvas artifact on the right, encoded as two 288 × 144 image tiles.
Stable page structure, incremental answer updates, changed-artifact rendering, scroll, and open/close layout controls.
Authenticated stdio and Streamable HTTP MCP, strict template schemas, revision checks, expiry, bounded input history, and delivery receipts.
A no-key browser demo, editable payloads, gallery, real Even Hub SDK adapter, Docker/Caddy hosting recipe, and Even Hub packaging scripts.
This is a single-wearer developer harness. The SDK path is implemented and tested against a mocked bridge. Real G2 end-to-end verification remains pending. The phone's Even Hub app owns Bluetooth; a desktop browser cannot pair with G2 through this project. Microphone capture, arbitrary HTML, remote image fetching, and automatic Codex turns are outside this release.
Related MCP server: Canvas AIGC
Run in five minutes
Use Node 22.12+ (Node 24 recommended) and npm.
git clone https://github.com/Nikhi-l/even-g2-codex-harness.git
cd even-g2-codex-harness
npm ci
npm run check
npm startOpen the private session link printed by npm start. It connects this tab to the relay and removes the token from the address bar. State stays in memory. The token is generated locally and saved in the ignored .local/connection.json with owner-only permissions.
For a standalone gallery/demo without the relay:
npm run demo
# Open http://127.0.0.1:5173Choose a template, edit its JSON and answer, then Show artifact. Scroll moves the artifact window. Tap toggles the artifact pane. Double tap closes it. In full-width answer mode, scroll pages the answer. Clear display blanks both panes; unexpired artifacts can be selected again through MCP.
Connect Codex
Start the relay, then register the local MCP server from this checkout:
codex mcp add even-g2 -- node "$(pwd)/dist/server/mcp.js"
codex mcp get even-g2Start/reload a Codex session and ask:
Use even-g2 to show a list artifact with my next three development tasks. Put a short explanation in the answer pane. Check the delivery status afterward.
The MCP process reads the local connection file. It does not need an OpenAI API key, and its stdout contains only MCP messages. Your Codex installation provides the model and its usual permissions.
For self-hosted use, connect your MCP client to https://YOUR_DOMAIN/mcp with the relay bearer token. See Codex setup for the exact command and configuration. Installing this server in a local Codex client does not connect a separate cloud chat or desktop “dot” automatically. Input events are available through display_events; they do not wake an agent conversation.
The artifact UX

Genuine renders from the template registry. The four image assets are bundled diagram fixtures, not personal photos or remote downloads.
Template | Data | Behavior |
| Title and string or labeled rows | Scrollable seven-row window |
| Times, titles, locations, tags | Scrollable five-event window |
| Bundled image key, caption | Single cover image |
| Two to four image keys and labels | Two-column board |
| Image keys, primary/secondary labels | Scrollable five-row window |
| Title, subtitle, optional image, key/value rows | Structured detail card |
| Explicit month and marked days | Monday-first month view |
Phone screenshot · Template authoring · Source extraction map
Architecture
Codex → MCP → authenticated relay → validated artifact state → phone renderer → Even Hub SDK → G2
The same state feeds the browser preview. SDK writes are serialized. A receipt means either browser-rendered or bridge-accepted; neither is proof that pixels appeared on physical lenses. Architecture and recovery details cover the lifecycle, trust boundaries, and extension points.
Host it and test on G2
Host the relay behind HTTPS using HOSTING.md. Use one isolated instance and secret per wearer.
Build a package for your actual relay origin and your registered Even Hub package ID:
npm run package:hosted -- --origin https://glasses.example.com --package-id your.registered.packageReview
.local/app.hosted.json, install the resulting.local/even-g2-harness.ehpkthrough your Even Hub developer workflow, and enter the relay token at runtime.Connect the glasses in the Even app, launch the harness, and press Connect Even Hub.
Follow the end-to-end acceptance checklist before claiming hardware support.
The manifest generator embeds only a public relay origin and exact network whitelist. It never bundles your bearer token. No server or Even Hub listing is deployed by these scripts.
Verify and contribute
npm run check # types, lint, unit/integration tests, build, file audit
npm run test:browser # browser regression suite (install Chromium first)
npm audit
npm run pack:g2 # demo-only Even Hub package; no network permissionsThe tested baseline is SDK 0.0.14, CLI 0.1.14, and Even app 2.2.9+. npm also offered SDK 0.0.16 during development; it is not silently substituted for this pinned baseline. See compatibility and limitations, verification evidence, security, and contributing.
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared, versioned context that humans and AI agents can publish, review, annotate, and continue.
Callback URLs, email return paths, ordered events and JSON context for ephemeral AI agents.
Creative workspace. Public MCP: outline previews for Codex and Claude Code; media in the web app.
Collaboration layer for AI agents. Publish assets, send messages, manage threads and contacts.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides verifiable, append-only context handoffs for Codex and MCP clients, enabling memory persistence and resume across chat sessions.1MIT
- AlicenseNot gradedqualityDmaintenanceA MCP server that bridges web canvas with local Codex/Claude, exposing 23 tools for reading, creating, modifying, connecting, and generating canvas content via local HTTP bridge and stdio MCP.AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceProvides a visual workspace for OpenAI Codex, enabling users to arrange images, notes, and creative assets on an infinite canvas, with secure image browsing, annotation, and attachment to conversations.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables Claude Code to request and read hand-drawn sketches or annotations on a persistent canvas displayed on local or networked devices.1-