Skip to content

feat(mcp): add callable docs tools - #8

Merged
crup merged 1 commit into
mainfrom
next
Apr 7, 2026
Merged

feat(mcp): add callable docs tools#8
crup merged 1 commit into
mainfrom
next

Conversation

@crup

@crupcrup commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Adds MCP tools in addition to resources so editors and agents can call docs actions directly.

Changes:

  • Adds tools/list and tools/call handling to the MCP server.
  • Adds get_api_docs, get_recipe, and search_docs tools.
  • Extends the MCP smoke test to call the tools.
  • Updates README and AI docs to list the callable MCP tools.
  • Updates the MCP docs server size row after the tool additions.

On package layout:

  • Keeping the executable in dist is intentional. It is generated, minified, and covered by the package build. Publishing a root-level mcp/server.js would either ship source or require generated files outside the build output.

Validation run locally:

  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm docs:build
  • pnpm readme:check
  • pnpm mcp:check
  • pnpm size
  • pnpm pack --dry-run
  • git diff --check

Release note:

  • npm latest is already 0.0.4, so this should publish as 0.0.5 after merge.

@github-actions

Copy link
Copy Markdown

Bundle size report

EntryFilesRawGzipBrotliRaw deltaGzip deltaBrotli delta
core24.44 kB1.52 kB1.40 kB0 B0 B0 B
timer group add-on310.93 kB3.83 kB3.50 kB0 B0 B0 B
schedules add-on38.62 kB3.02 kB2.78 kB0 B0 B0 B
duration helper1318 B224 B192 B0 B0 B0 B
diagnostics helper1105 B115 B90 B0 B0 B0 B
MCP docs server16.69 kB2.60 kB2.25 kB+2.89 kB+990 B+863 B
core CJS14.71 kB1.63 kB1.50 kB0 B0 B0 B
timer group CJS111.02 kB3.86 kB3.54 kB0 B0 B0 B
schedules CJS18.71 kB3.04 kB2.81 kB0 B0 B0 B
duration CJS1808 B475 B424 B0 B0 B0 B
diagnostics CJS1605 B367 B326 B0 B0 B0 B

@crup
crup merged commit 748d585 into mainApr 7, 2026
2 checks passed
Sign up for freeto 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

@crup