Skip to content

fix(docs): mcp-setup.md params out of sync with mcp.ts schemas#95

Closed
ramonclaudio wants to merge 1 commit intotobi:mainfrom
ramonclaudio:fix/stale-docs
Closed

fix(docs): mcp-setup.md params out of sync with mcp.ts schemas#95
ramonclaudio wants to merge 1 commit intotobi:mainfrom
ramonclaudio:fix/stale-docs

Conversation

@ramonclaudio
Copy link
Copy Markdown

@ramonclaudio ramonclaudio commented Feb 2, 2026

v1.1.0 rewrote the MCP layer but mcp-setup.md wasn't updated. Wrong tool name, wrong param names, ghost params that don't exist.

What was wrong

Verified line-by-line against inputSchema in src/mcp.ts:

Location Was Now Source
Tool name structured_search query mcp.ts:243
query example "collection": "optional" "collections": ["optional-collection-name"] mcp.ts:310, z.array(z.string())
get param path file mcp.ts:364
get param full (doesn't exist) removed
get params missing fromLine, maxLines mcp.ts:365-366
multi_get params missing maxLines, lineNumbers mcp.ts:430,432

The collection -> collections one is the worst. Sending { "collection": "docs" } gets silently ignored by the schema validator. Filter never applies.

Changes

skills/qmd/references/mcp-setup.md only (+8/-5).

Test plan

  • query matches server.registerTool("query", ...) at mcp.ts:243
  • collections is z.array(z.string()).optional() at mcp.ts:310
  • get params match mcp.ts:364-367 (file, fromLine, maxLines, lineNumbers)
  • multi_get params match mcp.ts:429-432 (pattern, maxLines, maxBytes, lineNumbers)
  • status has no params (mcp.ts:501: inputSchema: {})

@ramonclaudio ramonclaudio changed the title fix(docs): align MCP tool docs and help text with actual code fix(docs): align mcp-setup.md tool params with mcp.ts Feb 20, 2026
@ramonclaudio ramonclaudio changed the title fix(docs): align mcp-setup.md tool params with mcp.ts fix(docs): align MCP tool docs with actual code Feb 20, 2026
@ramonclaudio ramonclaudio changed the title fix(docs): align MCP tool docs with actual code fix(docs): align docs with v1.0.8 code Feb 20, 2026
@ramonclaudio ramonclaudio changed the title fix(docs): align docs with v1.0.8 code fix(docs): stale docs after v1.0.8 Feb 20, 2026
@ramonclaudio ramonclaudio force-pushed the fix/stale-docs branch 2 times, most recently from 54003b6 to a58f55b Compare February 25, 2026 17:44
MCP-SETUP.md had stale parameter documentation for several tools:

- qmd_get: param was `path` (actual: `file`), listed nonexistent `full`
  param, missing `fromLine` and `maxLines`
- qmd_multi_get: missing `maxLines` and `lineNumbers` params
- qmd_search/vsearch/query: limit default documented as 5 (actual: 10)

Also fixes showHelp() model name — still showed the old Qwen3-0.6B-Q8_0
after the switch to the fine-tuned qmd-query-expansion-1.7B model.
@ramonclaudio ramonclaudio changed the title fix(docs): stale docs after v1.0.8 fix(docs): mcp-setup.md params out of sync with mcp.ts schemas Feb 25, 2026
@ramonclaudio
Copy link
Copy Markdown
Author

MCP docs still stale but closing out. The corrections are documented in the PR if anyone needs them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant