Memvalidasi paket plugin Codex, skill, dan bundle MCP server untuk keamanan, struktur, dan kesesuaian runtime.
Juga dikenal sebagai Esquetta/CodexPluginDoctor, codex-plugin-doctor
- Stars
- 2
- Tools
- —
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 7 Nov 2026
- Lisensi
- MIT
Apa itu CodexPluginDoctor MCP?
CodexPluginDoctor adalah MCP server. Memvalidasi paket plugin Codex, skill, dan bundle MCP server untuk keamanan, struktur, dan kesesuaian runtime.
Ringkasan dibuat dari README proyek
Tentang CodexPluginDoctor MCP server
CodexPluginDoctor memungkinkan developer untuk memvalidasi paket plugin Codex dan bundle MCP server dari sisi keamanan serta struktur. Command-line interface tool ini menginspeksi folder plugin yang berisi file .codex-plugin/plugin.json untuk memastikan semuanya memenuhi persyaratan spesifik sebelum deployment. Tool ini memeriksa hard-coded secrets, memvalidasi skill wiring, dan memeriksa kualitas metadata untuk mencegah kesalahan konfigurasi yang umum terjadi.
User dapat melakukan inspeksi mendalam dengan menggunakan flag --runtime untuk mengeksekusi kode dari paket tersebut dan memverifikasi MCP handshake, tools, resources, serta prompts. Untuk keamanan tambahan selama runtime testing, opsi --sandbox docker akan mengisolasi local Node.js stdio servers. Tool ini juga mendukung pengecekan plugin yang sudah terinstall melalui command --installed serta memverifikasi kompatibilitas dengan client seperti Claude Desktop, Cursor, Cline, dan Windsurf.
Selain pengecekan lokal, tool ini menyediakan fungsionalitas untuk membandingkan tools dan resource templates terhadap baseline menggunakan MCP snapshots. Tool ini dirancang untuk integrasi ke dalam workflow CI melalui GitHub Actions, sehingga tim dapat mengotomatisasi security scorecards dan laporan conformance selama proses pull request.
Apa yang bisa Anda lakukan dengannya
- 1Deteksi hard-coded credentialsMengidentifikasi apakah konfigurasi MCP server mengandung API keys sensitif yang seharusnya diganti dengan referensi environment.
- 2Verifikasi runtime conformanceMenguji MCP server yang sedang berjalan untuk memastikan tools, resources, dan prompts berfungsi sesuai dengan protokol.
- 3Periksa kompatibilitas multi-clientMemastikan bahwa konfigurasi MCP valid dan siap digunakan di berbagai desktop AI client.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal CodexPluginDoctor MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal CodexPluginDoctor MCP di Claude Code
$ claude mcp add codexplugindoctor -- npx -y codex-plugin-doctorInstal CodexPluginDoctor MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"codexplugindoctor": {
"command": "npx",
"args": [
"-y",
"codex-plugin-doctor"
]
}
}
}Instal CodexPluginDoctor MCP di VS Code
.vscode/mcp.json
{
"servers": {
"codexplugindoctor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"codex-plugin-doctor"
]
}
}
}Instal CodexPluginDoctor MCP di VS Code CLI
$ code --add-mcp '{"name":"codexplugindoctor","type":"stdio","command":"npx","args":["-y","codex-plugin-doctor"]}'Instal CodexPluginDoctor MCP di Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"codexplugindoctor": {
"command": "npx",
"args": [
"-y",
"codex-plugin-doctor"
]
}
}
}Instal CodexPluginDoctor MCP di Codex
$ codex mcp add codexplugindoctor -- npx -y codex-plugin-doctorInstal CodexPluginDoctor MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.codexplugindoctor] command = "npx" args = ["-y", "codex-plugin-doctor"]
Instal CodexPluginDoctor MCP di Gemini CLI
$ gemini mcp add -s user codexplugindoctor npx -- -y codex-plugin-doctorInstal CodexPluginDoctor MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"codexplugindoctor": {
"command": "npx",
"args": [
"-y",
"codex-plugin-doctor"
]
}
}
}Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauesquetta/codexplugindoctor is public and reachablegithub.com/esquetta/codexplugindoctor ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyacodex-plugin-doctor names esquetta/codexplugindoctor as sourcenpmjs.com/package/codex-plugin-doctor ↗Lolos
- Provenance build (atestasi Sigstore)Sigstore attestation for codex-plugin-doctornpmjs.com/package/codex-plugin-doctor/v/1.92.0#provenance ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-11-07github.com/esquetta/codexplugindoctor ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerNo popular package one edit away from codex-plugin-doctorLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelTidak diperiksa
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubCodex Plugin Doctor
A CLI that checks Codex plugins, skills, and MCP servers before you ship them: the package, its security, and, if you allow it, the running MCP server.
npx codex-plugin-doctor check path/to/plugin
Point it at a folder with .codex-plugin/plugin.json. A plugin with an API key in its
.mcp.json exits with status 1 and this report (recommended commands trimmed):
Codex Plugin Doctor
===================
Status: FAIL
Target: /path/to/plugin
Summary: 1 fail, 0 warn, 1 total
Failures
--------
✖ plugin.security.hard_coded_secret
Message: The MCP server `dangerServer` contains a hard-coded secret-like env value for `OPENAI_API_KEY`.
Impact: Hard-coded credentials inside plugin bundles increase leakage risk and make secure rotation difficult.
Suggested fix: Replace the literal value for `OPENAI_API_KEY` with an environment reference or injected secret outside the package.
Fingerprint: 21da7c75027f0811929d49253412a0f20694d974f141d0421410c89ee29c8b72
Evidence: serverName=dangerServer, configPath=.mcp.json, envKey=OPENAI_API_KEY, envValue=[REDACTED]
Add --runtime to also start the plugin's MCP servers and call them. That runs the
package's own code, so it is opt-in, and --sandbox docker isolates local Node.js stdio
servers. No plugin at hand? npx codex-plugin-doctor check --installed checks the ones
in your Codex plugin cache.
What It Checks
- Package:
.codex-plugin/plugin.json, skill wiring andSKILL.mdmetadata,.mcp.jsonstructure, description quality, hard-coded secrets, and paths that escape the package. - Security (
security .): a scorecard for shell wrappers, encoded commands, remote content piped into a shell, and plain HTTP transports. - Running servers (
--runtime): the MCP handshake, then tools, resources, prompts, and pagination, with a scorecard and a conformance report. - Breaking changes: MCP snapshots compare tools, prompts, and resource templates with a committed baseline, in a pull request comment and in release notes.
- Other clients (
compat . --all --scorecard): whether the MCP config is valid and can be added to Claude Desktop, Cursor, Cline, and Windsurf on this machine. - Remote servers and publishing: opt-in Remote MCP Readiness, MCP Registry Readiness, and an offline public directory preflight.
See the CLI Reference for more commands and examples,
codex-plugin-doctor --help for all of them, and codex-plugin-doctor explain <finding-id> for
what a rule means.
Install
npm install -g codex-plugin-doctor
codex-plugin-doctor self-test
codex-plugin-doctor check .
codex-plugin-doctor check . --runtime
codex-plugin-doctor mcp path/to/mcp-package
GitHub Action
name: Validate Codex plugin
on:
pull_request:
permissions:
contents: read
jobs:
doctor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: Esquetta/CodexPluginDoctor@v1.92.0
with:
version: "1.92.0"
path: .
runtime: "true"
policy: codex-publish
runtime: "true" runs the package's code, so this job keeps a read-only token.
codex-plugin-doctor init-ci . writes a workflow for you. See
GitHub Action Usage for reports, pull request comments, and
inputs.
Documentation
- CLI Reference
- GitHub Action Usage
- MCP Snapshot
- Release Gating
- Rule Catalog
- Official Plugin Components
- Real-World Validation
- Examples
- Changelog
- All documentation
1.0 Stability
The 1.0 line is the stable compatibility baseline for plugin authors and CI consumers.
- Public JSON schema surfaces and existing rule IDs/default severities are treated as stable through 1.0.
- Runtime probing remains opt-in because it executes package-local MCP servers.
- New features stay additive unless a major version says otherwise.
See the documentation index for architecture, usage, security, and contributor guides.
Contributing
Contributions are welcome. Start with Contributing, the
Security Policy, the Code of Conduct, and the
validation tuning issue template.
npm run release-check runs the release preflight; see
Versioning and Releases.
Support
If this tool saves you time, GitHub stars and sponsorship help signal that the project is worth continuing.
- Star the repository on GitHub.
- Use GitHub Sponsors through the repository funding link.
- Open validation tuning issues for false positives or false negatives.
Pertanyaan tentang CodexPluginDoctor MCP
Bagaimana cara menambahkan CodexPluginDoctor MCP ke Claude Code?
Jalankan claude mcp add codexplugindoctor -- npx -y codex-plugin-doctor di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan CodexPluginDoctor MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Bagaimana cara saya memeriksa apakah sebuah MCP server memiliki hard-coded secrets?
Tool ini secara otomatis memeriksa hard-coded secrets seperti API keys di dalam file .mcp.json dan akan berhenti dengan status failure jika ditemukan hal tersebut.
Bisakah saya menguji MCP server yang sedang berjalan dengan tool ini?
Ya, dengan menambahkan flag --runtime, tool ini akan menjalankan MCP servers dari plugin tersebut dan memanggil tools, resources, serta prompts miliknya untuk memverifikasi kesesuaian.
Bagaimana cara saya mengisolasi MCP servers yang sedang berjalan selama pengujian?
Anda dapat menggunakan flag --sandbox docker untuk mengisolasi local Node.js stdio servers.
Bisakah saya menggunakan tool ini untuk memeriksa plugin yang sudah terinstall di cache saya?
Ya, menjalankan npx codex-plugin-doctor check --installed akan memeriksa plugin yang ada di dalam Codex plugin cache Anda.