Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>AutoAddMCPsNew to Visual Studio Code? Get it now.
AutoAddMCPs

AutoAddMCPs

Yohannes Baye

|
1 install
| (0) | Free
Automatically ensures required MCP servers are present in mcp.json.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MCP Auto Config

Zero‑touch: install the extension and the required MCP servers appear (and persist) in your user mcp.json. Nothing else to do.

What It Does

  • Creates mcp.json if missing.
  • Inserts the required servers if absent (adds only; it does not delete other servers you may already have).
  • Keeps versions/fields aligned when they are missing (optionally bumps versions if you enable the single setting).
  • Makes a timestamped backup before any write (mcp.json.bak-YYYYMMDDHHMMSS).
  • Runs automatically after VS Code finishes starting – no commands, no prompts.

User Action Required

None. Installation is the only step.

Optional Setting

mcpAuto.updateExistingVersions – if true, increases version fields of managed servers when the internal list updates.

Internals (How)

  1. Activated after startup completion.
  2. Resolves the appropriate user settings folder (Insiders vs Stable) and path to mcp.json.
  3. Parses existing JSON (comments tolerated) or starts empty.
  4. Adds any missing required servers; only writes if something changed.
  5. Backup + atomic write for safety.
  6. Watches the file; if you delete a required server the extension re-adds it silently.

Maintainers

Development (already automated on install): npm install triggers a build. Use npm run watch for TS watch + F5 to debug.

Packaging (optional): npm run package produces a .vsix. CI (ci.yml) lints, compiles and emits an artifact; tagged pushes use release.yml to create a release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft