Repository navigation
Conversation
docs/reference/mcp.md still described the version-only server from github#4822. The server now also registers specify_version (github#4864), specify_artifact_list (github#4867) and specify_artifact_info (github#4885). Document their inputs, results and errors, state that artifact lookup is not exposed yet, and drop the stale "version-only" wording from the overview page and the `specify mcp --help` docstring. Assisted-by: Claude Code (model: Claude Sonnet 5.5, orchestrated by Claude Opus 5.5, supervised) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Description
docs/reference/mcp.mdstill describes the version-only server from #4822: three generic tools, onlyversion, and "does not expose ... artifacts". The server now also registers first-class tools that the reference page never mentions:specify_version(feat(mcp): add first-class version tool聽#4864),src/specify_cli/mcp_version.pyspecify_artifact_list(feat(mcp): add first-class artifact list tool聽#4867),src/specify_cli/artifacts/mcp_list.pyspecify_artifact_info(feat(mcp): add artifact info adapter聽#4885),src/specify_cli/artifacts/mcp_info.pyAll three are wired in
create_server()(src/specify_cli/mcp_server/server.py).This PR:
project_directory,limit1-1000 default 100,cursor,identifier,kind), results, and error codes, including the retryable 1 MiBresponse_too_largeerror;version-only scope;specify artifact lookupis not exposed yet. It is declaredunavailableinARTIFACT_TOOLSand not registered, whichtests/specify_cli/artifacts/test_mcp_list.pyasserts. refactor(artifact): extract lookup operation聽#4952 will likely change that, and the page can be updated when the tool lands;docs/reference/overview.mdand from thespecify mcpdocstring thatspecify mcp --helpprints.Only documentation and one docstring change; no behavior change.
Testing
specify mcp --helpnow prints "Run the experimental MCP server over stdio."uv sync --extra test, thenpytest tests/specify_cli/test_command_mcp.py tests/specify_cli/test_mcp_version.py tests/specify_cli/artifacts/test_mcp_list.py tests/specify_cli/artifacts/test_mcp_info.py tests/specify_cli/mcp_server): 147 passedmarkdownlint-cli2on both changed pages: 0 issuesEach documented value (limits, error codes, the
retryablefield, lookup's disposition) was checked against the source cited above.AI Disclosure
AI disclosure: Claude Code (Claude Opus 5.5) found the drift by comparing the reference page with the code. A Claude Sonnet 5.5 sub-agent then wrote the edits (default settings, minimal-diff instructions) and ran the tests and the linter. Opus checked the documented values against the source, and I reviewed the full diff before the commit. Scope: documentation and one docstring, no code generation. This PR description was written by Claude Code on my behalf.
馃 Generated with Claude Code