feat(mcp): add mindbase_draft retrieval-pack tool#42
Merged
Conversation
Assemble a structured context pack from past conversations for article writing — no LLM calls. Returns a platform frontmatter skeleton, writing notes, sources, chronological budget-capped excerpts, and explicit coverage (found/included/truncated/droppedIds) so nothing is silently dropped. Exactly one of topic (semantic search, with project/source filters) or conversationIds (explicit selection) selects inputs.
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.
Summary
e5c6913を現 main に cherry-pick して救出mindbase_draftを追加: 過去会話から記事執筆用の構造化コンテキストパックを組む(LLM呼び出し無し)pnpm --filter @mindbase/mcp-server typecheck= exit 0)変更ファイル
apps/mcp-server/tools/retrieval-tools.ts— 新規 263行、mindbase_drafttool の実装apps/mcp-server/tool-dispatcher.ts—mindbase_draftの dispatch 配線追加apps/mcp-server/tool-registry.ts— tool 登録 (+50行)apps/mcp-server/tools/conversation.ts— export 追加 (+7行)Notes