cdp

cdp is an MCP server for Claude Code, Codex, Cursor, Gemini CLI, OpenCode from Lykhoyda/rn-dev-agent. Its token cost is not measured, scanned A, original, MIT.

An MCP server that provides the CDP connection for rn-dev-agent. It starts the plugin's supervisor, which connects the assistant to React Native development and inspection tools.

In plain words
What is it for?
Use it to access rn-dev-agent's CDP tools while developing or diagnosing a React Native app.
Why use it?
It supplies the connection needed for checking app status, logs, screens, components, state, and other runtime details.

MCP server for Claude CodeCodexCursorGemini CLIOpenCode

Written for no agent in particular: it speaks MCP, so any client can run it. Also seen: mentions Codex; listed in a Claude config.

Good fit Use it to access rn-dev-agent's CDP tools while developing or diagnosing a React Native app.

Compare 6 mcp servers from other repositories ↓
Install with agentmods
npx agentmods add mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp

Installing this writes the configuration, not the program: `node` runs a file from the repository, so clone it first and make the path in the command match where you put it.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Lykhoyda/rn-dev-agent

Installing this writes the configuration, not the program: `node` runs a file from the repository, so clone it first and make the path in the command match where you put it.

Made for: Claude Code, Codex, Cursor, Gemini CLI, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cdp

README.md
[![agentmods](https://agentmods.dev/badge/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp/github.svg)](https://agentmods.dev/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp)
Your own site
<a href="https://agentmods.dev/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp"><img src="https://agentmods.dev/badge/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cdp

Your own site · 80×15
<a href="https://agentmods.dev/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp"><img src="https://agentmods.dev/badge/mcp/lykhoyda/rn-dev-agent/codex-plugin-cdp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

cdp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

"const f=require('fs'),p=require('path'),o=require('os'),c=require('child_process');const V='1.0.14';const D=x=>{try{return f.readdirSync(x).map(n=>p.join(x,n)).filter(z=>{try{return f.statSync(z).isDirectory()}catch{ret
packages/codex-plugin/.mcp.json · 10 lines

What it actually says

{
  "cdp": {
    "command": "node",
    "args": [
      "-e",
      "const f=require('fs'),p=require('path'),o=require('os'),c=require('child_process');const V='1.0.14';const D=x=>{try{return f.readdirSync(x).map(n=>p.join(x,n)).filter(z=>{try{return f.statSync(z).isDirectory()}catch{return false}})}catch{return[]}};const C=process.env.CODEX_HOME||p.join(o.homedir(),'.codex');const R=[process.env.RN_DEV_AGENT_CODEX_PLUGIN_ROOT,...D(p.join(C,'plugins','cache')).map(m=>p.join(m,'rn-dev-agent',V))].filter(Boolean);let L=null;for(const r of R){const x=p.join(r,'bin','cdp-supervisor.js');if(f.existsSync(x)){L=x;break}}if(!L){process.stderr.write('rn-dev-agent: Codex launcher not found for rn-dev-agent '+V+'\\n');process.exit(1)}const ch=c.spawn(process.execPath,[L,...process.argv.slice(1)],{stdio:'inherit',cwd:process.cwd(),env:process.env});ch.on('error',e=>{process.stderr.write('rn-dev-agent: failed to spawn Codex launcher '+L+': '+e.message+'\\n');process.exit(1)});for(const s of ['SIGTERM','SIGINT','SIGHUP'])process.on(s,()=>{try{ch.kill(s)}catch{}});ch.on('exit',(code,sig)=>{if(sig){process.removeAllListeners(sig);try{process.kill(process.pid,sig)}catch{process.exit(1)}}else process.exit(code??0)})"
    ],
    "tool_timeout_sec": 900
  }
}
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 26d ago Changed 342195f82c33
  2. 1mo ago Changed 482aa1fc3569
  3. 1mo ago Changed 2bbf3459a29e
  4. 1mo ago Changed cdab5fe67480
  5. 1mo ago Changed 1ebbcf859553
  6. 1mo ago Changed f42758f0c526
  7. 1mo ago Changed 3dd12574052a
  8. 1mo ago Changed 09cc60707ad2
  9. 1mo ago Changed c64afb63066a
  10. 1mo ago First seen · 10 lines scan A 7f5287fcf105

Subscribe to this mod's changes

cdp is an MCP server published in the GitHub repository Lykhoyda/rn-dev-agent (20 stars, last pushed today), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.