Repository navigation
feat(201): add NerdGram remote MCP and nerdgram-diagrams skill - #379
Merged
automateyournetwork merged 2 commits intoNov 29, 2026
Merged
automateyournetwork merged 2 commits into
automateyournetwork merged 2 commits into
Conversation
Spec Kit artifacts for spec 201: spec, research, plan, data model, contracts, quickstart, tasks and the requirements checklist.
Register the operator's own NerdGram1337 /mcp endpoint as nerdgram-mcp
(url plus Bearer ${NERDGRAM_TOKEN}, default http://127.0.0.1:8787/mcp)
and add the nerdgram-diagrams skill for the 21 NerdGram tools: 8 with a
read token, 21 with read-write.
Update the catalog, installer, effects pins, HUD, README, SOUL,
SOUL-SKILLS, TOOLS and .env.example. Add the offline nerdgram contract
suite with an opt-in read-only live check, the verification notes and
release 1.27.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and resulting behavior
The maintainer invited this PR to ship a NerdGram skill with NetClaw. NerdGram1337 (MIT) is a self-hosted library of Mermaid
.mmdnetwork diagrams that serves an MCP server at/mcp. Until now, NetClaw had no way to keep a diagram, refresh it from new device data, or compare it over time.This PR:
nerdgram-mcp, withurl${NERDGRAM_MCP_URL}(defaulthttp://127.0.0.1:8787/mcp) andAuthorization: Bearer ${NERDGRAM_TOKEN}. It has the same shape astopolograph-mcpand vendors nothing.nerdgram-diagrams. It can list, search, read, lint, render and diff diagrams. With aread-writetoken it can also create diagrams from CDP, LLDP,show ip route, ARP/MAC, CSV or JSON data, refresh them, link site diagrams and tag L1/L2/L3/VLAN/VRF layers.readtoken and 21 withread-write. The skill recommendsread.expectedHash), verify after, record writes in GAIT, and ask beforenerdgram_trashornerdgram_replace_apply. Both of those tools are DefenseClaw-blocked by default.pyats-topologyor from pasted output.Numbered Spec Kit specification (required for every PR)
specs/201-nerdgram-skill/.specify/memory/constitution.md(v1.2.1) and.specify/templates, in the order specify → clarify → plan → tasks → implement. The spec was committed before the implementation, in a separate commit. The NerdGram facts come from NerdGramserver/src/mcp/server.tsanddocs/mcp.md(release v2.6.0).Release
scripts/prepare-release.py --bump minor --spec 201 --applyCHANGELOG.mdValidation
All of these are offline on Linux, with no NerdGram and no token. Full results are in verification.md.
bash tests/nerdgram/run-tests.sh: 71 checks pass. They cover the registration shape, the absence of literal tokens, the catalog, installer and HUD joins, and the skill naming exactly the 21 contract tools.run-contract-tests.py --suite nerdgram: PASS.--suite unit --prepare: PASS.verify-spec-artifacts,reconcile-mcp.py(catalog, dependencies, docs, meraki-ids, packages and portability surfaces),check-fastmcp-compatandcheck-mcp-tasks: pass.build-catalog.mjs --check,build-catalog.py --check,check-catalog-metadata,verify-catalog-coverage,verify-inventory-counts(244 skills, 184 MCP),check-skill-limits(81%, the same asmain) andcheck-package-references: pass.test_setup_catalog,test_pyats_testbeds,test_testbed_setup) pass. HUDnpm test: 554 pass.prepare-release.py --check: PASS 1.27.0.tests/nerdgram/live-api.sh(read-onlyinitializeandtools/list) passed only against a loopback mock, for both scopes.Not tested:
${VAR}in this entry, which has the same shape astopolograph-mcpCompatibility, migration and risks
NERDGRAM_TOKEN.fullprofile only, because it needs an operator-run NerdGram./mcpis plain HTTP. The docs say to keep a LAN endpoint on a trusted network.read-writetoken can overwrite or trash diagram files, but never device configuration.NERDGRAM_TOKEN.Contributor checklist
mcp-servers/<name>/README.mdbecause the server is not vendored.