npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@normahq/codex-acp-bridge-darwin-x64

v0.0.3

Published

@normahq/codex-acp-bridge binary for darwin/amd64

Readme

codex-acp-bridge

codex-acp-bridge runs codex mcp-server and exposes it as an ACP agent over stdio.

Installation

Global install (distributed via npm):

npm install -g @normahq/codex-acp-bridge@latest

One-off run with npx (no global install):

npx @normahq/codex-acp-bridge@latest

Run

codex-acp-bridge

Examples:

codex-acp-bridge
codex-acp-bridge --name team-codex
codex-acp-bridge --codex-model gpt-5.4 --codex-sandbox workspace-write
codex-acp-bridge --debug

Flags

  • --name: ACP agent name override (default: MCP server name from codex mcp-server initialize metadata).
  • --codex-model: model for MCP codex tool calls.
  • --codex-sandbox: sandbox for MCP codex tool calls (read-only|workspace-write|danger-full-access).
  • --codex-approval-policy: approval policy for MCP codex tool calls (untrusted|on-failure|on-request|never).
  • --codex-profile: profile for MCP codex tool calls.
  • --codex-base-instructions: base instructions for MCP codex tool calls.
  • --codex-developer-instructions: developer instructions for MCP codex tool calls.
  • --codex-compact-prompt: compact prompt for MCP codex tool calls.
  • --codex-config: JSON object for MCP codex tool config field.
  • --debug: enable debug logs.

Behavior

  • Validates that Codex MCP tools codex and codex-reply are available.
  • Creates separate backend Codex MCP sessions per ACP session.
  • Supports ACP session/set_model and propagates the selected model to new Codex tool calls.
  • Accepts ACP session/set_mode and resets backend session/thread state, but does not propagate mode to Codex MCP tool arguments.
  • Supports per-session MCP servers via ACP session/new mcpServers parameter (stdio and http transports). SSE transport is not supported, and each server entry must declare exactly one transport.
  • For ACP initialize.agentInfo, forwards MCP serverInfo.name and serverInfo.version by default; --name overrides only the name.

MCP Servers

The bridge supports passing MCP servers to the Codex tool via the ACP session/new request. On the first turn of a session (no thread ID), any MCP servers provided in the mcpServers parameter are translated into Codex config values under config.mcp_servers.

Example ACP session/new request with MCP servers:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "session/new",
  "params": {
    "cwd": "/workspace",
    "mcpServers": [
      {
        "stdio": {
          "name": "filesystem",
          "command": "npx",
          "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
        }
      },
      {
        "http": {
          "name": "github",
          "url": "https://api.github.com"
        }
      }
    ]
  }
}

Supported transports: stdio, http. The sse transport is explicitly rejected.

Notes

  • See also: docs/codex-acp-bridge.md.

Repository

Contact

License

MIT. See the repository LICENSE.