B

Biz Dfch Specmgr

by dfch · io.github.dfch/biz-dfch-specmgr

An artifact manager MCP server for system specifications, providing tools and resources to create, read, update, list, validate, and manage MADR 4.0.0-derived Architecture Decision Records (ADRs) stored as markdown files.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-dfch-biz-dfch-specmgr": {
      "command": "uvx",
      "args": [
        "biz-dfch-specmgr"
      ],
      "env": {
        "SPECMGR_MCP_TRANSPORT": "stdio",
        "SPECMGR_MCP_HOST": "localhost",
        "SPECMGR_MCP_PORT": "8000",
        "SPECMGR_ADR_DIR": "docs/adr",
        "SPECMGR_DOCS_DIR": "docs",
        "SPECMGR_FEAT_DIR": ".specmgr/feat",
        "SPECMGR_SIMILARITY_DISABLED": "<VALUE>",
        "SPECMGR_FEAT_WARMUP_DISABLED": "<VALUE>",
        "SPECMGR_PLANTUML_JAR": "<VALUE>",
        "SPECMGR_PLANTUML_BIN": "<VALUE>",
        "SPECMGR_PLANTUML_URL": "<VALUE>",
        "SPECMGR_DIAGRAM_MAX_TITLE": "40",
        "SPECMGR_TESTS_NO_DOTENV": "<VALUE>",
        "FASTEMBED_CACHE_PATH": "<tempdir>/fastembed_cache"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SPECMGR_MCP_TRANSPORT No Transport mode: stdio or sse Default: stdio
SPECMGR_MCP_HOST No Bind address (SSE mode only) Default: localhost
SPECMGR_MCP_PORT No TCP port (SSE mode only) Default: 8000
SPECMGR_ADR_DIR No The base directory where ADR .md files live Default: docs/adr
SPECMGR_DOCS_DIR No 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. Default: docs
SPECMGR_FEAT_DIR No Base directory scanned for Feature folders (<base>/<id>/README.md). Default: .specmgr/feat
SPECMGR_SIMILARITY_DISABLED No 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 unified server-startup warmup thread. Unset by default. Its resolved state is reported by the similarity section of the specmgr://config resource.
SPECMGR_FEAT_WARMUP_DISABLED No 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. Its resolved state is reported by the feat_warmup_disabled field of the specmgr://config resource.
SPECMGR_PLANTUML_JAR No 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 source is reported by the plantuml section of the specmgr://config resource.
SPECMGR_PLANTUML_BIN No 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). Unset by default. The selected source is reported by the plantuml section of the specmgr://config resource.
SPECMGR_PLANTUML_URL No 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 to a PlantUML server if this variable is set. Unset by default. The selected source is reported by the plantuml section of the specmgr://config resource.
SPECMGR_DIAGRAM_MAX_TITLE No 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 is none) with an ellipsis appended; the diagram title itself and unresolved node ids are never truncated. An integer; the default 40 applies when the variable is unset or set to an invalid value (empty, non-integer, or less than 1). Default: 40
SPECMGR_TESTS_NO_DOTENV No 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 source-less end-to-end. Unset by default, never set outside test runs.
FASTEMBED_CACHE_PATH No 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 temporary directory (e.g. /tmp on Linux). Unset by default. The resolved directory is reported by the similarity section of the specmgr://config resource. Default: <tempdir>/fastembed_cache

Similar servers