An artifact manager for system specifications.
claude mcp add biz-dfch-specmgr -- python -m biz-dfch-specmgr{
"mcpServers": {
"biz-dfch-specmgr": {
"command": "python",
"args": ["-m", "unittest"]
}
}
}MCP Servers overview
# biz.dfch.SpecMgr
<!-- mcp-name: io.github.dfch/biz-dfch-specmgr -->
[](https://www.gnu.org/licenses/agpl-3.0)

[](https://github.com/dfch/biz.dfch.SpecMgr/actions/workflows/ci.yml)
[](https://test.pypi.org/project/biz-dfch-specmgr/)
[](https://pypi.org/project/biz-dfch-specmgr/)
[](https://pypistats.org/packages/biz-dfch-specmgr)
[](https://registry.modelcontextprotocol.io/?q=io.github.dfch/biz.dfch.specmgr)
An artifact manager for system specifications.
This project is a **library**, a **CLI**, and an **MCP server**, all in one
repository. The CLI and MCP server are optional — install only what you
need via extras (see [Installation](#installation)).
_Status: first domain feature shipped. Architecture Decision Record (ADR)
management — creating, reading, and editing MADR 4.0.0-derived ADRs — is
implemented end-to-end as MCP tools/resources (see
[MCP Server](#mcp-server) below and `doc/adr-tool-plan.md` for the full
design). It is MCP-only so far: there is no `specmgr adr ...` CLI command
yet, and no second document type beyond ADRs._
## Table of Contents
- [Installation](#installation)
- [CLI Usage](#cli-usage)
- [MCP Server](#mcp-server)
- [Development](#development)
- [Make a Release](#make-a-release)
- [License](#license)
## Installation
As a library only (no CLI, no MCP server):
```bash
pip install biz-dfch-specmgr
```
With the CLI:
```bash
pip install "biz-dfch-specmgr[cli]"
```
With the MCP server:
```bash
pip install "biz-dfch-specmgr[mcp]"
```
Or with [uv](https://docs.astral.sh/uv/):
```bash
uv add "biz-dfch-specmgr[cli,mcp]"
```
## CLI Usage
_No ADR (or other domain) commands exist yet — only `version` and `mcp`
(below). ADR management is currently MCP-only, see [MCP Server](#mcp-server)._
```bash
specmgr version
```
## MCP Server
Requires the `mcp` extra. In addition to the `specmgr://version` resource,
the server exposes a full set of Architecture Decision Record (ADR) tools
and resources, implementing the MADR 4.0.0-derived schema described in
`doc/adr-tool-plan.md`:
| Kind | Name(s) | Description |
| -------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
| Resource | `specmgr://version` | Installed `biz-dfch-specmgr` package version |
| Resource | `specmgr://adr/list` | Id/title/status/filename of every ADR |
| Resource | `specmgr://adr/{id}` | Full ADR document (frontmatter + body) by id |
| Tool | `get_adr`, `create_adr`, `update_frontmatter`, `update_section`, `set_status`, `option_list`, `option_create`, `option_read`, `option_update`, `option_delete`, `validate_adr` | Structured create/read/update operations over one ADR, by id |
ADRs live as `.md` files in a base directory (default `docs/adr`,
configurable via the `SPECMGR_ADR_DIR` environment variable) — the file on
disk is always the source of truth, re-read and re-parsed on every tool
call, so hand-editing a file between calls is safe.
Start the server with the `mcp` command:
```bash
specmgr mcp
```
By default it runs over `stdio`, for MCP hosts that launch it as a
subprocess (see [Add to OpenCode](#add-to-opencode) below). It can also
run over SSE/network:
```bash
specmgr mcp --transport sse --host localhost --port 8000
```
| Option | Env var | Default | Description |
| -------------------- | ------------------------ | ----------- | -------------------------------- |
| `--transport` / `-t` | `SPECMGR_MCP_TRANSPORT` | `stdio` | Transport mode: `stdio` or `sse` |
| `--host` / `-h` | `SPECMGR_MCP_HOST` | `localhost` | Bind address (SSE mode only) |
| `--port` / `-p` | `SPECMGR_MCP_PORT` | `8000` | TCP port (SSE mode only) |
### Add to OpenCode
To add the `specmgr` MCP server to your OpenCode configuration:
1. Open your OpenCode config file (typically `~/.config/opencode/opencode.json` or `~/.config/opencode/opencode.jsonc`)
2. Add the following configuration to the `mcp` section (and use it via `stdio`):
```json
"specmgr": {
"type": "local",
"enabled": true,
"command": ["uvx", "--from", "biz-dfch-specmgr[mcp]", "python", "-m", "biz.dfch.specmgr", "mcp"]
}
```
3. Save the file and restart OpenCode
## Development
### Install dev dependencies
```bash
uv sync --all-extras
```
### Run linters
```bash
uv run --frozen ruff format --check
uv run --frozen ruff check
uv run --frozen pylint $(git ls-files '*.py')
```
### Run tests
```bash
uv run --frozen python -m unittest discover -v -s tests -t . -p "test_*.py"
```
## Make a Release
### 1. Make sure all tests pass
Before releasing, make sure the CI pipeline is green on the `dev` branch:
```bash
uv run --frozen ruff format --check
uv run --frozen ruff check
uv run --frozen pylint $(git ls-files '*.py')
uv run --frozen python -m unittest discover -v -s tests -t . -p "test_*.py"
```
### 2. Increase the version
Update the version in `pyproject.toml`:
```toml
version = "x.y.z"
```
Move the `[Unreleased]` section in `CHANGELOG.md` into a new dated
`## [x.y.z] - YYYY-MM-DD` section.
Also update both `version` fields in `server.json` (the top-level one and
the one under `packages[0]`) to match — the MCP Registry manifest must
stay in lockstep with `pyproject.toml`.
### 3. Commit and push to `dev`
```bash
git add pyproject.toml CHANGELOG.md server.json
git commit -m "chore: bump version to vx.y.z"
git push origin dev
```
### 4. Merge `dev` into `main`
```bash
git checkout main
git merge dev
git push origin main
```
### 5. Create and push a version tag
```bash
export VERSION=x.y.z
git tag v${VERSION}
git push origin v${VERSION}
```
_Note: `.github/workflows/publish.yml` handles the rest of the release
automatically once the tag above is pushed — it builds and publishes the
`sdist`/wheel to TestPyPI then PyPI via Trusted Publishing (OIDC, no
stored token), creates the matching GitHub Release with the built
artifacts attached, and publishes `server.json` (repo root, the MCP
Registry publisher manifest — see the
[server.json format spec](https://github.com/modelcontextprotocol/registry/blob/main/docs/reference/server-json/generic-server-json.md))
to the [MCP Registry](https://registry.modelcontextprotocol.io/?q=io.github.dfch%2Fbiz.dfch.specmgr)
via `mcp-publisher`/GitHub OIDC. `biz-dfch-specmgr` is live on
[PyPI](https://pypi.org/project/biz-dfch-specmgr/) and in the
[MCP Registry](https://registry.modelcontextprotocol.io/?q=io.github.dfch%2Fbiz.dfch.specmgr)
as of `v0.1.0`._
Then switch back to `dev` to continue work:
```bash
git checkout dev
```
## License
[AGPL-3.0-or-later](LICENSE)
What people ask about biz.dfch.SpecMgr
What is dfch/biz.dfch.SpecMgr?
+
dfch/biz.dfch.SpecMgr is mcp servers for the Claude AI ecosystem. An artifact manager for system specifications. It has 0 GitHub stars and was last updated today.
How do I install biz.dfch.SpecMgr?
+
You can install biz.dfch.SpecMgr by cloning the repository (https://github.com/dfch/biz.dfch.SpecMgr) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is dfch/biz.dfch.SpecMgr safe to use?
+
dfch/biz.dfch.SpecMgr has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains dfch/biz.dfch.SpecMgr?
+
dfch/biz.dfch.SpecMgr is maintained by dfch. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to biz.dfch.SpecMgr?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy biz.dfch.SpecMgr to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/dfch-biz-dfch-specmgr)<a href="https://claudewave.com/repo/dfch-biz-dfch-specmgr"><img src="https://claudewave.com/api/badge/dfch-biz-dfch-specmgr" alt="Featured on ClaudeWave: dfch/biz.dfch.SpecMgr" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!