Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

SpecMgr

by dfchversion 0.38.0i★ 2 (Stars for the whole repo)iRuns on your computer
Registry nameio.github.dfch/biz-dfch-specmgr

How to install

What it does

An artifact manager for system specifications.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Install

Pick the AI app you use, then copy the settings.

Passed 3/3 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Sign up and create a SpecMgr key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the SpecMgr site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "biz-dfch-specmgr": {
          "command": "uvx",
          "args": [
            "biz-dfch-specmgr",
            "-m",
            "biz.dfch.specmgr",
            "mcp"
          ],
          "env": {
            "SPECMGR_MCP_TRANSPORT": "your-value",
            "SPECMGR_MCP_HOST": "your-value",
            "SPECMGR_MCP_PORT": "your-value",
            "SPECMGR_ADR_DIR": "your-value",
            "SPECMGR_DOCS_DIR": "your-value",
            "SPECMGR_FEAT_DIR": "your-value",
            "SPECMGR_SIMILARITY_DISABLED": "your-value",
            "SPECMGR_FEAT_WARMUP_DISABLED": "your-value",
            "SPECMGR_PLANTUML_JAR": "your-value",
            "SPECMGR_PLANTUML_BIN": "your-value",
            "SPECMGR_PLANTUML_URL": "your-value",
            "SPECMGR_DIAGRAM_MAX_TITLE": "your-value",
            "SPECMGR_TESTS_NO_DOTENV": "your-value",
            "FASTEMBED_CACHE_PATH": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use SpecMgr and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using SpecMgr or shows a SpecMgr tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect SpecMgr yet

SpecMgr runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect SpecMgr

  • You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
  • You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Sign up and create a SpecMgr key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the SpecMgr site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user biz-dfch-specmgr --env SPECMGR_MCP_TRANSPORT=your-value --env SPECMGR_MCP_HOST=your-value --env SPECMGR_MCP_PORT=your-value --env SPECMGR_ADR_DIR=your-value --env SPECMGR_DOCS_DIR=your-value --env SPECMGR_FEAT_DIR=your-value --env SPECMGR_SIMILARITY_DISABLED=your-value --env SPECMGR_FEAT_WARMUP_DISABLED=your-value --env SPECMGR_PLANTUML_JAR=your-value --env SPECMGR_PLANTUML_BIN=your-value --env SPECMGR_PLANTUML_URL=your-value --env SPECMGR_DIAGRAM_MAX_TITLE=your-value --env SPECMGR_TESTS_NO_DOTENV=your-value --env FASTEMBED_CACHE_PATH=your-value -- uvx biz-dfch-specmgr -m biz.dfch.specmgr mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see SpecMgr listed as connected

  6. Try it

    Use SpecMgr and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using SpecMgr or shows a SpecMgr tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Sign up and create a SpecMgr key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the SpecMgr site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the SpecMgr settings, SPECMGR_MCP_TRANSPORT, SPECMGR_MCP_HOST, SPECMGR_MCP_PORT, SPECMGR_ADR_DIR, SPECMGR_DOCS_DIR, SPECMGR_FEAT_DIR, SPECMGR_SIMILARITY_DISABLED, SPECMGR_FEAT_WARMUP_DISABLED, SPECMGR_PLANTUML_JAR, SPECMGR_PLANTUML_BIN, SPECMGR_PLANTUML_URL, SPECMGR_DIAGRAM_MAX_TITLE, SPECMGR_TESTS_NO_DOTENV, FASTEMBED_CACHE_PATH is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use SpecMgr and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using SpecMgr or shows a SpecMgr tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a SpecMgr key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)

  1. Install Python (uv)

    One time only; it works for every server that needs Python (uv)

    Open the Python (uv) download page ↗

  2. Sign up and create a SpecMgr key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the SpecMgr site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the SpecMgr settings, SPECMGR_MCP_TRANSPORT, SPECMGR_MCP_HOST, SPECMGR_MCP_PORT, SPECMGR_ADR_DIR, SPECMGR_DOCS_DIR, SPECMGR_FEAT_DIR, SPECMGR_SIMILARITY_DISABLED, SPECMGR_FEAT_WARMUP_DISABLED, SPECMGR_PLANTUML_JAR, SPECMGR_PLANTUML_BIN, SPECMGR_PLANTUML_URL, SPECMGR_DIAGRAM_MAX_TITLE, SPECMGR_TESTS_NO_DOTENV, FASTEMBED_CACHE_PATH is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use SpecMgr and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using SpecMgr or shows a SpecMgr tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use SpecMgr💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user biz-dfch-specmgr --env SPECMGR_MCP_TRANSPORT=your-value --env SPECMGR_MCP_HOST=your-value --env SPECMGR_MCP_PORT=your-value --env SPECMGR_ADR_DIR=your-value --env SPECMGR_DOCS_DIR=your-value --env SPECMGR_FEAT_DIR=your-value --env SPECMGR_SIMILARITY_DISABLED=your-value --env SPECMGR_FEAT_WARMUP_DISABLED=your-value --env SPECMGR_PLANTUML_JAR=your-value --env SPECMGR_PLANTUML_BIN=your-value --env SPECMGR_PLANTUML_URL=your-value --env SPECMGR_DIAGRAM_MAX_TITLE=your-value --env SPECMGR_TESTS_NO_DOTENV=your-value --env FASTEMBED_CACHE_PATH=your-value -- uvx biz-dfch-specmgr -m biz.dfch.specmgr mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr",
        "-m",
        "biz.dfch.specmgr",
        "mcp"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "your-value",
        "SPECMGR_MCP_HOST": "your-value",
        "SPECMGR_MCP_PORT": "your-value",
        "SPECMGR_ADR_DIR": "your-value",
        "SPECMGR_DOCS_DIR": "your-value",
        "SPECMGR_FEAT_DIR": "your-value",
        "SPECMGR_SIMILARITY_DISABLED": "your-value",
        "SPECMGR_FEAT_WARMUP_DISABLED": "your-value",
        "SPECMGR_PLANTUML_JAR": "your-value",
        "SPECMGR_PLANTUML_BIN": "your-value",
        "SPECMGR_PLANTUML_URL": "your-value",
        "SPECMGR_DIAGRAM_MAX_TITLE": "your-value",
        "SPECMGR_TESTS_NO_DOTENV": "your-value",
        "FASTEMBED_CACHE_PATH": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr",
        "-m",
        "biz.dfch.specmgr",
        "mcp"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "your-value",
        "SPECMGR_MCP_HOST": "your-value",
        "SPECMGR_MCP_PORT": "your-value",
        "SPECMGR_ADR_DIR": "your-value",
        "SPECMGR_DOCS_DIR": "your-value",
        "SPECMGR_FEAT_DIR": "your-value",
        "SPECMGR_SIMILARITY_DISABLED": "your-value",
        "SPECMGR_FEAT_WARMUP_DISABLED": "your-value",
        "SPECMGR_PLANTUML_JAR": "your-value",
        "SPECMGR_PLANTUML_BIN": "your-value",
        "SPECMGR_PLANTUML_URL": "your-value",
        "SPECMGR_DIAGRAM_MAX_TITLE": "your-value",
        "SPECMGR_TESTS_NO_DOTENV": "your-value",
        "FASTEMBED_CACHE_PATH": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "biz-dfch-specmgr": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr",
        "-m",
        "biz.dfch.specmgr",
        "mcp"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "your-value",
        "SPECMGR_MCP_HOST": "your-value",
        "SPECMGR_MCP_PORT": "your-value",
        "SPECMGR_ADR_DIR": "your-value",
        "SPECMGR_DOCS_DIR": "your-value",
        "SPECMGR_FEAT_DIR": "your-value",
        "SPECMGR_SIMILARITY_DISABLED": "your-value",
        "SPECMGR_FEAT_WARMUP_DISABLED": "your-value",
        "SPECMGR_PLANTUML_JAR": "your-value",
        "SPECMGR_PLANTUML_BIN": "your-value",
        "SPECMGR_PLANTUML_URL": "your-value",
        "SPECMGR_DIAGRAM_MAX_TITLE": "your-value",
        "SPECMGR_TESTS_NO_DOTENV": "your-value",
        "FASTEMBED_CACHE_PATH": "your-value"
      }
    }
  }
}

Values you fill in

  • SPECMGR_MCP_TRANSPORT env
    Transport mode for the MCP server.
  • SPECMGR_MCP_HOST env
    Bind address, SSE/streamable-http mode only.
  • SPECMGR_MCP_PORT env
    TCP port, SSE/streamable-http mode only.
  • SPECMGR_ADR_DIR env
    Base directory scanned for Architecture Decision Record (.md) files.
  • SPECMGR_DOCS_DIR env
    Shared base directory root for the document-type domains that do not have their own dedicated directory environment variable (req, uc, tsk, qa, prb, gol, rsk, dec, sop, vcr, sysrs, txt). Each domain'…
  • SPECMGR_FEAT_DIR env
    Base directory scanned for Feature folders ( / /README.md).
  • SPECMGR_SIMILARITY_DISABLED env
    Presence-based opt-out for the semantic-similarity search feature (the find_related and find_similar_text tools): set to any value to disable the feature, so that every call returns a structured unav…
  • SPECMGR_FEAT_WARMUP_DISABLED env
    Presence-based opt-out for the feat domain's two background cache-warming phases (frontmatter and full-parse) of the unified server-startup warmup thread: set to any value to skip both phases; when s…
  • SPECMGR_PLANTUML_JAR env
    Path to a plantuml.jar, one of exactly three PlantUML validation-source selectors (the first one set, in JAR then BIN then URL order, is the only source used; no fall-through, no PATH discovery, no p…
  • SPECMGR_PLANTUML_BIN env
    Path to an executable speaking the PlantUML CLI contract, one of exactly three PlantUML validation-source selectors (the first one set, in JAR then BIN then URL order, is the only source used; no fal…
  • SPECMGR_PLANTUML_URL env
    PlantUML server base URL, one of exactly three PlantUML validation-source selectors (the first one set, in JAR then BIN then URL order, is the only source used; no fall-through, no PATH discovery, no…
  • SPECMGR_DIAGRAM_MAX_TITLE env
    Maximum length (in characters) of a resolved node's title label in the reference-graph diagrams (the get_reference_diagram / get_reference_diagram_all MCP tools and the specmgr diagram refs CLI): lab…
  • SPECMGR_TESTS_NO_DOTENV env
    Presence-based test/CI sentinel: set to any value to skip the CLI's module-level default .env load entirely, so the process runs under the CI (source-less) condition whatever the local (gitignored) .…
  • FASTEMBED_CACHE_PATH env
    Cache directory for the semantic-similarity feature's embedding model (the third-party fastembed backend's own variable, not a SPECMGR_* one): set to a directory to cache the model there; an unset or…

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

GitHub starsi
2 (Stars for the whole repo)
This repo holds several MCP listings; its stars count once in rankings
Downloads per weeki
249/wk
Licencei
AGPL-3.0
Connection
Runs on your computer
Latest versioni
0.38.0
Categoryi
Other
Published to registryi
Nov 1, 2026
Code last changedi
Nov 11, 2026
Maker
dfch
Packages
pypi: biz-dfch-specmgr
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 13, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account dfch, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses AGPL-3.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Otheri

  • More stars than 0% of the other 19421 servers in this category
  • Published to the registry more recently than 77% of the other 19421 servers in this category
  • Basic checks equal to or better than 100% of the other 19421 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is SpecMgr safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.38.0) reached the registry 12 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: World Monitor, Claude Flow, Windmill

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 104 tools.

by koala73Widely used★ 90.5KUpdated yesterday

Runs in the cloud✓ service owner · worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

by ruvnetWidely used↓ 13.5K/wk★ 81.5KUpdated 14 months ago

Runs on your computer

Windmill

Run Windmill scripts and flows and manage jobs, schedules, resources and variables.

by windmill-labsWidely used★ 18.6KUpdated yesterday

Runs in the cloud

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

biz.dfch.SpecMgr

An artifact manager for system specifications.

This project is an MCP server that you can use to manage different specification artifacts — see Concepts for the full list of artifact types and how they relate, and MCP Server / docs/MCP.md for the tool/resource/prompt reference.

The MCP server (and the management CLI) are optional. You install them as "extras" (see Installation).

Table of Contents

  • Concepts
  • Installation
  • CLI Usage
  • UC → PlantUML Diagrams
  • Reference Graph Diagrams
  • MCP Server
  • Installing the specmgr Harness Files
  • Usage
  • Referencing Artifacts
  • Multi-Language Artifacts
  • Development
  • Testing
  • Make a Release
  • License

Concepts

Every artifact is a plain markdown file with a YAML frontmatter block on disk — git-friendly, diffable, and readable/editable by hand. The filesystem is always the source of truth; the MCP server wraps it with structured, validated read/write/list/status tools (see Usage).

TypePurpose
QA — Question and AnswerStructured elicitation interview (organized by ISO/IEC 25010 characteristic) capturing stakeholder Q&A; usually where a new spec effort *starts*
GOL — GoalHigh-level business goal — what the organization wants to achieve, above individual requirements
PRB — Problem StatementSix-Sigma-style problem statement describing the problem a goal/requirement addresses
REQ — RequirementA single system requirement (EARS-style phrasing), classified by ISO/IEC 25010 characteristic
UC — Use CaseActor/system interaction describing a specific usage scenario
RSK — RiskRisk-register entry: cause/trigger/consequence, 5x5 probability/impact assessment (initial + residual), TARA response strategy
DEC — DecisionGeneral-purpose decision record (MADR-style), not limited to architecture
ADR — Architecture Decision RecordArchitecture-specific decision record; deprecated, use DEC instead
TSK — Task ListChecklist of implementation tasks, e.g. for a requirement or feature
VCR — Verification Case RecordVerifies exactly one REQ or UC; holds a collection of AC-NNN acceptance criteria (each with a DTAIS verification method) plus one overall coverage outcome (full/partial/none)
SOP — Standard Operating ProcedureStep-by-step operational procedure with RASCI responsibility assignment and approval lifecycle
FEAT — FeatureDevelopment work-unit plan/progress tracking (.specmgr/feat/ /README.md)
SYSRS — System Requirements SpecAggregates GOL/PRB/QA/UC/REQ/RSK/DEC-ADR/VCR via cross-reference lists into one navigable spec; its structure follows ISO/IEC/IEEE 29148:2018 (Systems and software engineering — Life cycle processes — Requirements engineering), with a few specmgr-only additions (e.g. ## Decisions, ## Risks)
TXT — Free-Form TextGeneric, minimally structured catch-all for unstructured markdown that does not warrant a dedicated domain (ad hoc notes, meeting minutes, review/audit write-ups, scratch analysis); free body (any markdown, incl. H2..H6) plus a mandatory newest-first ## Updates log

A typical spec effort starts with a QA elicitation interview, which surfaces GOLs (goals) and PRBs (problems). Those inform REQs and UCs, which get risk-assessed (RSK) and backed by DECisions, verified via one VCR per REQ/UC (each collecting its acceptance criteria), and tracked via TSK task lists. A SYSRS ties all of it together into one ISO/IEC/IEEE 29148-structured specification. SOP and FEAT support the process itself rather than sitting in this chain, and TXT is the free-form catch-all that likewise sits outside it (any markdown that does not warrant a dedicated artifact type).

QA -> GOL / PRB -> REQ / UC -> RSK / DEC -> TSK, VCR -> SYSRS (aggregates all)

Installation

As a library only (no CLI, no MCP server):

pip install biz-dfch-specmgr

With the CLI:

pip install "biz-dfch-specmgr[cli]"

With the MCP server:

pip install "biz-dfch-specmgr[mcp]"

With semantic-similarity search (find_related/find_similar_text, see Semantic Similarity Search below), add the similarity extra on top of mcp:

pip install "biz-dfch-specmgr[mcp,similarity]"

Or with uv:

uv add "biz-dfch-specmgr[cli,mcp,similarity]"

CLI Usage

With the CLI you can generate schema and documentation. We use these commands in pre-commit hooks and ci.yml.

_No domain document-management commands (create/update/status/etc.) exist in the CLI yet — those are currently MCP-only, see MCP Server. The CLI covers version, mcp (below), a handful of cross-cutting/doc-generation commands, and the diagram commands — UC → PlantUML (see UC → PlantUML Diagrams) and reference-graph (see Reference Graph Diagrams) (specmgr --help for the full list)._

specmgr version

specmgr lint [paths]... [--type T [--dir D]] [--all] [--skip-unrecognized] # in-tree spec artifact parseability gate: full model-level parse of the paths (type inferred from the layout, --type overrides) or a --type/--all sweep (exit 0 parsed / 1 parse failure or missing mcp extra / 2 usage-or-resolution)

specmgr lint requires the mcp extra, like specmgr diagram (the decoupling is tracked as issue #238).

UC → PlantUML Diagrams

Specmgr can turn UC artifacts into PlantUML diagrams — deterministic use-case and package diagrams, plus sequence diagrams attributed by the agent flow.

Sequence diagrams (agent path). The generate_uc_sequence_diagram MCP prompt (in OpenCode: the self-triggering uc-diagram skill or the /uc-diagram command) runs the frozen rulebook flow: the agent attributes every UNATTRIBUTED message (asking via the question tool when not confident), validates with validate_plantuml, and writes diagrams/uc/ .sequence.puml host-natively — no specmgr tool writes .puml files.

**Deterministic diagrams + tooling (CLI, deterministic-only — the CLI never creates, overwrites, or diffs the agent-owned *.sequence.puml files):**

specmgr diagram uc <id>|all --out <dir> [--check]  # per-UC <id>.usecase.puml + package.puml; --check byte-diffs without writing (exit 0 ok / 1 diff / 2 usage-or-render error)

specmgr plantuml-check # validates any .puml through the chain (exit 0 valid / 1 invalid / 2 source misconfigured-or-unavailable / 3 inconclusive) specmgr plantuml-encode # offline classic SoWkI… encoding

Validation source. Exactly three env vars, the first one set is the only source used (no fall-through, no PATH discovery, no public default): SPECMGR_PLANTUML_JAR (a plantuml.jar path), SPECMGR_PLANTUML_BIN (an executable speaking the PlantUML CLI contract), SPECMGR_PLANTUML_URL (a PlantUML server base URL). All unset ⇒ offline structure-only validation. Diagram content is never sent to plantuml.com unless you set that URL.

The normative rulebook ships as the specmgr://uc/plantuml resource; the full MCP surface is in docs/MCP.md.

Reference Graph Diagrams

Specmgr can render the deterministic cross-reference network between its artifacts (the tag vocabulary behind the list_references tool) as a PlantUML component diagram — one node per artifact (label = the document title, truncated to the SPECMGR_DIAGRAM_MAX_TITLE limit, default 40), a stereotype + colour per artifact type (a frozen 15-entry palette), nodes grouped into per-domain curly component "TYPE" { … } domain groups, one label-free edge per unique reference ({src} --> {dst}), every edge that lies on a cycle (self-loops and same-SCC ≥ 2) drawn with a red label-free -[#red]-> arrow, and every reference whose target cannot be resolved on disk drawn as a top-level < > node. Fully deterministic: the same registry and the same arguments always emit byte-identical source.

MCP tools. get_reference_diagram(type, id, depth=1, reverse=False, include_feat=True, title=None) renders one source document's reference neighbourhood (the forward walk to depth, 1..5; reverse=True adds the direct incoming references, additive and direct-only); get_reference_diagram_all(include_feat=True, title=None) renders the registry-wide graph. Both return the PlantUML source directly (no file writes); the scoped tool accepts all 14 domains (adr included) and returns the non-raising ParseFailureResult for an existing-but-broken source; the registry-wide tool never raises for content.

CLI (writes the artifact, deterministic-only):

specmgr diagram refs <type> <id> [--depth N] [--reverse] [--no-feat] [--title T] [--out diagrams/refs] [--check]  # scoped → <id>.refs.puml

specmgr diagram refs all [--no-feat] [--title T] [--out diagrams/refs] [--check] # registry-wide → reference-graph.puml

--no-feat drops every FEAT node except the explicitly requested source (then every edge touching a dropped node). Exit codes: 0 written / no diff, 1 a --check diff (a missing file counts as differing) or the missing mcp extra, 2 a usage-or-resolution error (wrong-format type/id/depth — a bare feat-NNN is rejected, use list_feat to discover the exact id — a missing source, an existing-but-broken source, all combined with a source). Written artifacts carry no structure-only header (checker-clean by construction).

Validation. specmgr plantuml-check (or the validate_plantuml MCP tool over the source) validates the diagram through the same strict chain as the UC diagrams (the three SPECMGR_PLANTUML_* source env vars, see UC → PlantUML Diagrams; all unset is the offline structure-only floor).

Label limit. SPECMGR_DIAGRAM_MAX_TITLE (an int, default 40) bounds the resolved-node H1 labels (word-boundary cut + …; a set-but-invalid value falls back to 40); the @startuml diagram title is sanitized but never truncated. Its set/valid/default/resolved status is reported by the diagram section of the specmgr://config resource (the raw value is never disclosed).

The normative rulebook ships as the specmgr://reference-graph resource; the full MCP surface is in [docs/MCP.md](doc

Only the beginning is shown; read the rest in the repo