Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@kaiva/cli

Latest version: v0.2.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: kaiva
1 Stars
0 Forks
2 Versions
JavaScript Repo language

Scan summary

@kaiva/cli was last scanned on 1 Dec 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 1 Dec 2026.
  • Findings: No rules fired in version 0.2.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 1 Dec 2026 No rules fired
0.0.0-stage 1 Dec 2026 Not shown

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Kaiva Bridge

npx @kaiva/cli gives you kaiva, one command line for Kaiva Cloud and Kaiva Bridge. Kaiva Bridge turns your API, database or documents into a managed MCP server that Claude, ChatGPT, Cursor, VS Code and other AI clients can use; Kaiva Cloud gives your app a Postgres database with its own MCP server. This page covers the Kaiva Bridge connector, ai.kaiv/bridge, first; the kaiva command line follows.

Kaiva Bridge as an MCP connector (ai.kaiv/bridge)

Kaiva Bridge is also an MCP server itself, so your AI client can create and manage MCP servers from inside a chat. It is listed in the official MCP Registry as ai.kaiv/bridge and in Claude's connector directory.

  • Address: https://api.kaiv.ai/api/bridge/manage/mcp (Streamable HTTP)
  • Sign-in: OAuth 2.1 with your Kaiva Bridge account (free, no card). No key to copy.
  • Tools: list_my_servers, get_server, create_server (drafts a server from an OpenAPI spec URL) and reintrospect_server (refreshes a server's tools when the API changes).

The connector drafts and lists. Publishing a server and switching its tools on happen in the console, by you.

VS Code and GitHub Copilot: click Add to VS Code on kaiv.ai/bridge, or run MCP: Add Server in VS Code with the address above, then sign in when asked. Claude: claude.ai/directory/kaiva-bridge. Claude Code: claude mcp add --transport http --scope user kaiva-bridge https://api.kaiv.ai/api/bridge/manage/mcp. Cursor and ChatGPT: the Add menu on kaiv.ai/bridge.

Then ask: "List my Kaiva Bridge servers" or "Create a Kaiva Bridge server from https://petstore3.swagger.io/api/v3/openapi.json".

The command-line tool

kaiva is one command line for both products, with one sign-in: Kaiva Cloud (a Postgres database with its own MCP server) and Kaiva Bridge (an OpenAPI spec, a database such as PostgreSQL, MySQL, MariaDB or SQL Server, documents or a remote MCP server, as a managed MCP server your agents can call). It drives them over the Management API. Every setup command is safe to run again.

npx @kaiva/cli --help

@kaiva/bridge is the same CLI under its earlier name, with the command kaiva-bridge, and every older command still works: npx @kaiva/bridge push, create, databases and the rest do exactly what they did.

For your coding agent

Connect your AI agent to APIs, databases and documents with Kaiva Bridge. Install the skill so your coding agent can set up managed MCP connections for you. Try public APIs without an account.

Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and other compatible coding agents.

npx skills add ai-kaiva/bridge

Install

Nothing to install. Node 18+ has everything:

npx @kaiva/cli help

Or install it once with npm install -g @kaiva/cli and type kaiva instead of npx @kaiva/cli in the commands below.

Try it with no account

For a public API spec, one command gives you a working MCP server. No account, no login:

npx @kaiva/cli bridge try --openapi https://petstore3.swagger.io/api/v3/openapi.json

You get the server's address, a key for that one server, and a claim link. The server offers only the spec's GET operations, and lasts 72 hours or 500 calls. Open the claim link to keep it in your workspace: it keeps its address and your plan's limits apply. The key stops working at claim, so connect your AI client again from the console. Then you can add an API key and switch on other operations. Coding agents can do this themselves (--json prints one JSON object).

In a cloud agent sandbox (Codex cloud, Claude Code on the web), allow the domains api.kaiv.ai and registry.npmjs.org first: their network access is off or limited by default.

Claude Code plugin

claude plugin marketplace add ai-kaiva/bridge
claude plugin install kaiva-bridge@kaiva

Or copy just the skill: npx @kaiva/cli bridge skill install.

Postgres on your machine, no account

For a Postgres database that only the AI clients on your machine use, Kaiva Postgres MCP is a free, open-source MCP server that runs locally and only reads. It replaces the archived @modelcontextprotocol/server-postgres: change the package name and nothing else changes.

claude mcp add postgres -- npx -y @kaiva/postgres-mcp postgresql://localhost/mydb
# or, from the same plugin marketplace as above (reads DATABASE_URL from your environment)
claude plugin install postgres-mcp@kaiva

When you need the same database in Claude.ai or ChatGPT, or for your team, kaiva bridge push --db below serves it from Bridge.

Auth

npx @kaiva/cli login

One sign-in, for Kaiva Cloud and Kaiva Bridge. The terminal shows a code and opens the console. Enter the code there and approve it (owner or admin of the workspace). The key is saved for this machine in ~/.config/kaiva-bridge/credentials.json, readable only by you, and both kaiva and kaiva-bridge use it. whoami shows the workspace and key in use; logout revokes the key and removes it.

For CI and scripts, use a Management key from the console (Keys & access, key type Management) instead. When set, it is used in place of a saved login:

export KAIVA_TOKEN=kv_mgmt_...

KAIVA_BRIDGE_TOKEN works the same way. If both are set, KAIVA_BRIDGE_TOKEN wins.

logout revokes only a saved login. A key you supply in KAIVA_TOKEN or KAIVA_BRIDGE_TOKEN is yours to manage: unset it, and revoke it in the console when it is no longer needed. Signing in again revokes the login it replaces.

Management keys are refused by the MCP gateway, and gateway keys are refused by the Management API: the two credential types are never interchangeable.

Kaiva Cloud

A Postgres database for your app, with its own MCP server over its tables, so your AI clients can use the same data.

kaiva cloud create <name>     # a new Postgres database, with its own MCP server
kaiva cloud list              # your databases
kaiva cloud rotate <name>     # a new connection string
kaiva cloud delete <name>     # delete it (asks for your 2FA or emailed code; recoverable for 7 days)
kaiva cloud recover <name>    # bring a deleted database back (within 7 days; asks for your code)

create waits until the database and its MCP server are ready and writes the connection string, shown once, to DATABASE_URL in .env (a new file only you can read, or one line added to an .env that has none; --env <file> or --no-env choose otherwise). Not signed in, the database is made without an account for 72 hours, with a claim link.

delete and recover ask the person who made the key to confirm: the 6-digit code from your authenticator app if you have 2FA on, otherwise a code we email you. On a terminal you are asked for it; in a script, run the command again with --code <code> (it never waits for input). With --json the result says confirmation_required and the method. Over the Management API, send the code in the X-Kaiva-Confirm header. A deleted database can be recovered for 7 days, with a new connection string.

kaiva cloud --help lists every Cloud command, functions (kaiva cloud fn) and hosting (kaiva cloud deploy) included.

Kaiva Bridge

kaiva bridge push <name> --openapi <url>   # an MCP server for your API
kaiva bridge push <name> --db              # an MCP server for your existing database
kaiva bridge push <name> --graphql <url>   # an MCP server for a GraphQL API
kaiva bridge push <name> --docs <folder>   # an MCP server for your documents
kaiva bridge push <name> --mcp <url>       # an MCP server in front of a remote MCP server
kaiva bridge try --openapi <url>           # try one with no account (72 hours)
kaiva bridge servers                       # your MCP servers
kaiva bridge install <name> --client claude-code|cursor   # add an MCP server to your AI client
kaiva bridge doctor <name>                 # check an MCP server works
Quickstart: source to live server
# An API spec (only operations that read are exposed with --read-only)
npx @kaiva/cli bridge push my-api --openapi https://api.example.com/openapi.json --read-only

# A database: DATABASE_URL from the environment or .env; Postgres, MySQL, MariaDB or SQL Server
npx @kaiva/cli bridge push shop-db --db --read-only
# → LIVE  https://api.kaiv.ai/api/bridge/mcp/shop-db-a1b2c3d4
# → check  first call: get_orders answered in 84ms (and what the AI is given)

# Documents: PDF, Word, PNG, JPEG, text or Markdown files, or a folder of them
npx @kaiva/cli bridge push handbook --docs ./policies
# waits until each file is read, then → LIVE  https://api.kaiv.ai/api/bridge/mcp/handbook-a1b2c3d4

npx @kaiva/cli bridge install my-api --client claude-code   # or --client cursor

install adds the server to Claude Code (this folder's .mcp.json, or --global) or Cursor (~/.cursor/mcp.json, or --project), keeping every other entry. The client signs in with your Kaiva account the first time; --key writes a key for this one server instead. --dry-run shows the change; uninstall removes it. For any other MCP client, kaiva bridge key <server-id> --label <client> --replace makes a gateway key to paste with the endpoint. Run the same commands again and nothing is duplicated: push reuses the server with that name, install leaves an existing entry as it is, and key --replace swaps the key with that label.

Let your coding agent do it

npx @kaiva/cli bridge skill install    # adds the setup skill to Claude Code (~/.claude/skills)

Then ask: "connect my database to Claude Code with Kaiva Bridge". The skill runs the commands below, asks you before connecting without certificate checks or exposing operations that write, and confirms with a first tool call.

Examples

Runnable scripts in examples/:

  • database-to-claude-code.sh: a Postgres, MySQL or MariaDB database into Claude Code
  • openapi-to-cursor.sh: an OpenAPI spec into Cursor for this project
  • call-from-your-app.mjs: call your MCP server from your own Node app, no dependencies

Commands

Each is kaiva <command> (or npx @kaiva/cli <command>). The older forms without bridge (kaiva-bridge push, kaiva push and so on) do the same.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @kaiva/cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229