Skip to content
Julien LeveneurFull-stack & AI engineer
← Back to projects

Nº 04 — Open-source CLI published on npm

agentcfg

One MCP config for Cursor, Claude Code, Codex, VS Code and Gemini CLI, plus a scan that finds every MCP server on the machine.

Nº 04 — Diagram
agentcfg.jsonsyncCLICursorClaude CodeCodexVS CodeGemini CLI
Year
2026
Role
Author and maintainer
Stack
TypeScriptNode.jsnode:testnpm

01Context

Every coding agent keeps its MCP servers its own way: its own file, its own format, its own syntax for a secret. The same server ends up written three times, and drifts.

02What I built

  • A single manifest, from which the CLI writes each agent's files in its own format.
  • A read-only scan that groups servers by what they point to, so one server spelled three ways shows up once.
  • Skills shared between agents, and support for CLAUDE_CONFIG_DIR and CODEX_HOME.

03Technical decisions

  • No internal monorepo dependency: the package builds to dist/ for Node 22.13 and later.
  • Published through trusted publishing (OIDC, with provenance): no npm token is stored.
Next projectNext.js starter