OmniCodex
Windows-local MCP gateway for the Codex runtime, enabling owner-authenticated tool access via Streamable HTTP with optional Oracle consent companion.
README
OmniCodex
OmniCodex is a Windows-local, owner-authenticated Streamable HTTP MCP gateway for the callable tool surface of an already installed Codex runtime. It owns a separate hidden child runtime and never registers itself in the Codex desktop app, modifies Codex authentication/configuration, or controls the desktop app.
Install and configure
Requirements: Windows, Node.js 22.12 or newer, and an installed Codex runtime.
npm install --global @heelee912/omnicodex
omnicodex init --issuer https://tenant.example/ --audience https://mcp.example `
--resource https://mcp.example --subject owner-sub
omnicodex auth login # official Auth0 device flow; refresh token stays in Windows keyring
omnicodex auth setup # idempotently creates the dedicated API and strict DCR grant
omnicodex start
omnicodex status
omnicodex runtime probe --json # isolated hidden runtime + full-surface live check
Initialization is fail-closed. OAuth issuer, audience/resource, scopes, and the
owner sub must match. auth login downloads a pinned, checksum-verified
official Auth0 CLI when one is not supplied and uses its Windows-keyring-backed
device login. No Management API token is written to OmniCodex configuration.
OmniCodex binds locally to 127.0.0.1; remote access
requires an explicitly configured authenticated HTTPS ingress.
Optional Oracle consent companion
The optional companion attaches only to an explicitly configured loopback
Chrome DevTools endpoint. It never launches, profiles, navigates, or terminates
Chrome. Setup is a dry-run unless --execute is supplied.
omnicodex oracle setup --connector-id exact-id --connector-name OmniCodex `
--run-id exact-run --resource https://mcp.example/mcp --surface /mcp/full `
--cdp-endpoint http://127.0.0.1:9222 --non-interactive
omnicodex oracle status --json
omnicodex oracle test # no click
omnicodex oracle test --execute # Connect / Always allow only
omnicodex oracle disable --execute
It is bound to the exact app, run, session, resource, and surface. General, one-time, destructive, stale, ambiguous, or reconnected confirmations fail closed. Receipts contain identifiers and state hashes only—never prompts, screenshots, secrets, or raw tool content.
Architecture and safety
- The installed runtime is the authority for callable tools.
- Ordinary calls do not silently become model calls.
- Protected Codex files are read-only and hash-checked by the non-interference guard.
- Owned console children use hidden/no-window creation.
- OAuth resource, issuer, scope, and owner subject are checked before MCP sessions.
- Browser automation is optional and separate from MCP server authority.
Operational commands include doctor, logs, runtime discover, runtime probe, autostart,
auth, tunnel, update, and rollback. Run omnicodex --help for details.
Documentation: 한국어 · 日本語 · 中文 · source attribution.
Release policy
Maintainers run npm run check, npm run build, and npm pack --dry-run.
Publishing is intentionally separate: npm publish --provenance --access public
must run only from the protected GitHub release workflow after review. No local
release script publishes, pushes, deploys, or changes GitHub state.
MIT licensed. This community project is not an official OpenAI product.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.