mcp
v0.13.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
target * | string | Idea name, path#idea, .rq file, or indexed code file |
maxBacklinks | integer | Max backlink names (default 8) |
maxCandidates | integer | Max search hits and ranked ambiguous matches (default 8) |
maxDetail | integer | Deprecated hop-depth flag; ignored on the unique path |
maxOutbound | integer | Max outbound names (default 8) |
maxSiblings | integer | Max sibling names (default 8) |
sessionKey | string | Click 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.
| Parameter | Type | Description |
|---|---|---|
target * | string | Idea name, path#idea, .rq file, or indexed code file |
fray | integer | Number of adjacent ideas to include (default: 2) |
sessionKey | string | Click session key from a prior click response |
tuning | string | Tuning 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.
| Parameter | Type | Description |
|---|---|---|
glob | Optional path glob or list of path globs. A file that matches any glob is in the scan. | |
skipGitignoredTargets | boolean | Omit file-reference issues whose missing target is gitignored |
skipTargets | array | Omit issues whose missing target matches one of these globs |
wildcardOne | string | How to handle a wildcard that matches 1 idea (default warn) |
wildcardZero | string | How 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.
| Parameter | Type | Description |
|---|---|---|
from | string | Left revision. Omit with to for the default. |
to | string | Right revision. Omit to compare from with HEAD. |
verbosity | string | summary (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.
| Parameter | Type | Description |
|---|---|---|
intent * | string | What you want to know or do with the requirement graph |
filePath | string | Optional .rq file or indexed path to click |
requirementName | string | Optional requirement name to click |