mcp

v0.13.0
@reqlan/mcp Checked 5 days ago Published 19 days ago

MCP server exposing reqlan requirement graph tools

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

click

Canonical search and retrieval. Return compact context for an idea name, path#idea, .rq file, or indexed code file. No match uses search. More than one match is ranked by distance from ideas already in the session. A unique match returns idea content plus outbound, backlink, and sibling names (no edges). A second click on the same centre in this session returns connected content. Always pass sessionKey from the prior click on the next call. Use this tool instead of search, list, file context, local graph, or subtree dumps.

ParameterTypeDescription
target *stringIdea name, path#idea, .rq file, or indexed code file
maxBacklinksintegerMax backlink names (default 8)
maxCandidatesintegerMax search hits and ranked ambiguous matches (default 8)
maxDetailintegerDeprecated hop-depth flag; ignored on the unique path
maxOutboundintegerMax outbound names (default 8)
maxSiblingsintegerMax sibling names (default 8)
sessionKeystringClick session key from a prior click response

rope

Return compact local context for a target idea, respecting cardinality, fray, and click-session deduplication. Target may be an idea name, path#idea, .rq file, or indexed code file.

ParameterTypeDescription
target *stringIdea name, path#idea, .rq file, or indexed code file
frayintegerNumber of adjacent ideas to include (default: 2)
sessionKeystringClick session key from a prior click response
tuningstringTuning mode: default, focused, exploratory, deep

check

Check that idea, comment, file, and import references resolve. Returns JSON issue rows ordered by missing target. Empty array means no issues. Optional glob is one path pattern or a list of patterns. A file that matches any pattern is in the scan. wildcardZero and wildcardOne are warn (default), error, or off. skipTargets omits issues whose missing target matches a glob. skipGitignoredTargets omits missing file targets that Git ignore rules ignore. Lines after //rq-ignore-error are skipped.

ParameterTypeDescription
globOptional path glob or list of path globs. A file that matches any glob is in the scan.
skipGitignoredTargetsbooleanOmit file-reference issues whose missing target is gitignored
skipTargetsarrayOmit issues whose missing target matches one of these globs
wildcardOnestringHow to handle a wildcard that matches 1 idea (default warn)
wildcardZerostringHow to handle a wildcard that matches 0 ideas (default warn)

diff

Compare ideas between two git revisions. Returns the same JSON array as reqlan diff --json. Omit from and to to use the CLI default: pending .rq edits against HEAD, or HEAD~1 against HEAD when those edits are absent. verbosity is summary (default), references, or text. A bad revision is an error. An empty array means no idea changes.

ParameterTypeDescription
fromstringLeft revision. Omit with to for the default.
tostringRight revision. Omit to compare from with HEAD.
verbositystringsummary (default), references, or text

completion_status

Summarise completion and deprecation status across the workspace graph.

prompt

Prompt-oriented entry point. Resolves search and retrieval through click.

ParameterTypeDescription
intent *stringWhat you want to know or do with the requirement graph
filePathstringOptional .rq file or indexed path to click
requirementNamestringOptional requirement name to click