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

@akeyless-community/codex-mcp

v1.0.0

Published

Akeyless Agentic Runtime Authority (ARA) MCP server for OpenAI Codex — secretless database and cloud access, no CLI required

Readme

Akeyless ARA MCP for OpenAI Codex

SDK-based MCP server that brings Akeyless Agentic Runtime Authority (ARA) to OpenAI Codex — without installing the Akeyless CLI.

This package exposes only the ARA MCP tools (list-secrets, query-db, service-execute, list-sub-tools), matching akeyless mcp-runtime-authority. It does not include static-secret or environment-variable tools.

Codex orchestrates. Akeyless holds the credentials. Secret values never enter the model context.

Install

npm install -g @akeyless-community/codex-mcp

Or run without installing:

npx -y @akeyless-community/codex-mcp

Quick start

1. Configure auth

Set credentials in the MCP server process environment (not in Codex prompts):

export AKEYLESS_ACCESS_ID="p-xxxxx"
export AKEYLESS_ACCESS_KEY="your-access-key"
export AKEYLESS_GATEWAY_URL="https://your-gateway.example.com:8000"
export AKEYLESS_AGENT_ID="codex-agent"

AKEYLESS_GATEWAY_URL is the only gateway setting required. The SDK API base (/api/v2) and ARA execution base are derived automatically — same pattern as the Claude connector.

See .env.example for JWT, Universal Identity, cloud IAM, and token auth.

2. Connect Codex

Add to ~/.codex/config.toml:

[mcp_servers.akeyless-ara]
command = "npx"
args = ["-y", "@akeyless-community/codex-mcp"]
enabled = true
default_tools_approval_mode = "prompt"
startup_timeout_sec = 20
tool_timeout_sec = 120

[mcp_servers.akeyless-ara.env]
AKEYLESS_ACCESS_ID = "p-xxxxx"
AKEYLESS_ACCESS_KEY = "your-access-key"
AKEYLESS_GATEWAY_URL = "https://your-gateway.example.com:8000"
AKEYLESS_AGENT_ID = "codex-agent"

[mcp_servers.akeyless-ara.tools.query-db]
approval_mode = "prompt"

[mcp_servers.akeyless-ara.tools.service-execute]
approval_mode = "prompt"

[mcp_servers.akeyless-ara.tools.list-secrets]
approval_mode = "auto"

Or use the CLI:

codex mcp add akeyless-ara \
  --env AKEYLESS_ACCESS_ID=p-xxxxx \
  --env AKEYLESS_ACCESS_KEY=your-key \
  --env AKEYLESS_GATEWAY_URL=https://your-gateway.example.com:8000 \
  -- npx -y @akeyless-community/codex-mcp

Project-scoped config: copy examples/.codex/config.toml.

3. Ask Codex

"List my Akeyless ARA secrets."

"Run SELECT count(*) FROM users against /prod/db/postgres-readonly."

"Use service-execute on /prod/aws/devops to list S3 buckets."

MCP tools (ARA only)

| Tool | Purpose | |---|---| | list-secrets | List dynamic, rotated, and custom-MCP secrets with ara_allow_access | | query-db | Run database queries (MySQL, PostgreSQL, MSSQL, Oracle, Snowflake, etc.) | | service-execute | Run AWS, GCP, Azure, Kubernetes, GitHub, or custom-MCP actions | | list-sub-tools | (Optional) Discover sub-tools on a service secret before service-execute |

Architecture

sequenceDiagram
    participant Codex as OpenAI Codex
    participant MCP as akeyless-codex-ara
    participant API as Akeyless API
    participant GW as Akeyless Gateway
    participant Target as Database / Cloud

    Codex->>MCP: list-secrets
    MCP->>API: list-items (ara-only: true)
    API-->>MCP: secret paths + target types
    MCP-->>Codex: metadata only
    Codex->>MCP: query-db / service-execute
    MCP->>GW: /config/target_query
    GW->>Target: action with JIT credentials
    Target-->>GW: results
    GW-->>MCP: JSON results
    MCP-->>Codex: results (no credentials)

Requirements

  • Akeyless Gateway with Runtime Authority and AI Insights configured
  • ARA role rules with Allow Access on secret paths
  • Dynamic secrets with Agentic Runtime Authority enabled in the Console

When list-secrets returns zero results, check the diagnostics.troubleshooting hints in the response.

Install as a Codex plugin

codex plugin marketplace add akeyless-community/codex-akeyless-mcp

Then in Codex: /pluginsAkeyless Community → install Akeyless ARA.

See Marketplace guide.

Security model

  • Secretless by design — list tools return metadata only; execute tools use credentials server-side via the Gateway
  • Codex approval — set prompt or approve for query-db and service-execute
  • Least privilege — scope RBAC to ARA-enabled secret paths only
  • Single gateway URL — point AKEYLESS_GATEWAY_URL at your organization's gateway

See SECURITY.md.

Development

cd codex-akeyless-integration
npm install
npm test
npm run build
npm start

Related projects

License

Apache-2.0