🔧 AI Nachrichten EU knöpft sich ChatGPT vor: Was sich für Nutzer jetzt ändert(02.09.2026 um 11:00 Uhr)
🔧 AI Nachrichten Podcast: ChatGPT schwatzt Nutzern in Deutschland jetzt Werbung auf(28.08.2026 um 08:46 Uhr)
🪟 Windows TippsMicrosoft bringt Emoji 17.0 auf Windows 11(31.08.2026 um 08:16 Uhr)
🔧 AI Nachrichten EU knöpft sich ChatGPT vor: Was sich für Nutzer jetzt ändert(02.09.2026 um 11:00 Uhr)
🔧 AI Nachrichten Podcast: ChatGPT schwatzt Nutzern in Deutschland jetzt Werbung auf(28.08.2026 um 08:46 Uhr)
🪟 Windows TippsMicrosoft bringt Emoji 17.0 auf Windows 11(31.08.2026 um 08:16 Uhr)

🔧 Programmierung 🕛 kürzlich 2 Min Lesezeit
0

Stop Hand-Editing MCP Configs: A Zero-Dependency Go CLI

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

If you are experimenting with Model Context Protocol (MCP) servers using AI clients like Claude Desktop, Cursor, or terminal agents, you've probably hit this friction point: managing the configuration file.



Adding a new local or remote server usually means:




  1. Hunting down the hidden mcp_config.json file (which lives in entirely different directories depending on your OS and the client you use).

  2. Manually editing a deeply nested JSON structure.



It sounds simple until you miss a comma, leave a trailing comma, or break a bracket, and suddenly your AI client crashes or fails to boot.



I got tired of breaking my configs, so I built a tiny utility to handle it straight from the terminal.






Enter agmcp







Why build this?



There are package managers for everything, but MCP configs are uniquely annoying because they are just raw JSON files sitting in arbitrary system paths. I wanted a tool that was:





  • Blazing Fast & Lightweight: Written in Go using strictly the standard library (encoding/json, os, path/filepath). Absolutely no CGO.


  • Safe: It performs safe JSON patching. It won't overwrite or format over other custom settings your client might have saved in the file.


  • Frictionless: It cross-compiles for Linux and Windows, with native install scripts that handle OS-level PATH injection automatically.





Usage



Once installed, you don't even need to know where the config file is. You just run:




CODE
# Add a GitHub MCP server
agmcp add github npx -y @modelcontextprotocol/server-github

# Remove a server
agmcp remove github

# List active servers
agmcp list









Try it out



If you are testing a lot of servers locally, give it a try. It is entirely open-source, and I'd love to get feedback from other developers on the Go architecture or the JSON patching approach.



GitHub Repository: https://github.com/simplychiragk/agmcp



Let me know what you think or if you run into any edge cases with specific MCP clients!

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 44%
🟡 In Evaluierung 29%
🟢 Keine Auswirkung 18%
Spannende Innovation 9%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
Creator Panel – One Creator, Full Production: Der neue Creator Workflow
1 Quelle
ChatGPT showing blank screen [Fix]
1 Quelle
Sofort deinstallieren: Diese 19 Browser-Erweiterungen sind mit Malware verseucht
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Stop Hand-Editing MCP Configs: A Zero-Dependency Go CLI

Thematisch verwandte Begriffe: Stop, HandEditing, Configs, ZeroDependency · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...