MCP directory
S

SpecMgr

by github.com/dfch · v0.38.0 · updated Oct 31, 2026

An artifact manager for system specifications.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx biz-dfch-specmgr==0.38.0

Environment variables

  • SPECMGR_MCP_TRANSPORT

    Transport mode for the MCP server.

  • SPECMGR_MCP_HOST

    Bind address, SSE/streamable-http mode only.

  • SPECMGR_MCP_PORT

    TCP port, SSE/streamable-http mode only.

  • SPECMGR_ADR_DIR

    Base directory scanned for Architecture Decision Record (.md) files.

  • SPECMGR_DOCS_DIR

    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's own subdirectory is appended automatically, e.g. docs/req.

  • SPECMGR_FEAT_DIR

    Base directory scanned for Feature folders (<base>/<id>/README.md).

  • SPECMGR_SIMILARITY_DISABLED

    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 unavailable result and the embedding model is never loaded, and to skip the similarity phase of the unifi...

  • SPECMGR_FEAT_WARMUP_DISABLED

    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 set together with SPECMGR_SIMILARITY_DISABLED, no warmup thread is started at all. Unset by default. I...

  • SPECMGR_PLANTUML_JAR

    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 public default; all three unset is the offline structure-only floor). Unset by default. The selected s...

  • SPECMGR_PLANTUML_BIN

    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 fall-through, no PATH discovery, no public default; all three unset is the offline structure-only floor)...

  • SPECMGR_PLANTUML_URL

    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 public default; all three unset is the offline structure-only floor). Diagram content is only sent t...

  • SPECMGR_DIAGRAM_MAX_TITLE

    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): labels longer than the limit are cut at the last word boundary within the limit (a hard cut when there i...

  • SPECMGR_TESTS_NO_DOTENV

    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) .env configures; this is what keeps the specmgr coverage-badge pre-commit hook's source-less re-run so...

  • FASTEMBED_CACHE_PATH

    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 empty value falls back to the default <tempdir>/fastembed_cache, where <tempdir> is the process's te...

More from github.com/dfch

More MCP servers