Add alwaysLoad: true to mcpServers registration

オープン 初心者向け
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
70/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript
領域
tooling

調査の方向性

.claude-plugin/plugin.json を開き、mcpServers.macrodata の登録を確認します。要求された alwaysLoad 設定を追加し、JSON を検証したうえで、ToolSearch 呼び出しなしでセッション開始時に macrodata のツールスキーマが読み込まれることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Problem

The macrodata MCP tools are deferred by default in Claude Code — their schemas aren't loaded into context at session start, requiring a ToolSearch call before they can be invoked. This adds latency and friction for tools that are used every session (e.g. search_memory, log_journal, list_reminders).

Proposed fix

Add "alwaysLoad": true to the mcpServers entry in .claude-plugin/plugin.json:

"mcpServers": {
  "macrodata": {
    "command": "bun",
    "args": ["run", "${CLAUDE_PLUGIN_ROOT}/src/index.ts"],
    "alwaysLoad": true
  }
}

This causes Claude Code to load all macrodata tool schemas at session start, making them immediately callable without a discovery step.

Trade-off

Consumes a bit more context budget upfront. Given that macrodata tools are core to every session (memory lookup, journaling, reminders), the always-available ergonomics outweigh the small context cost.

主要言語
TypeScript
スター
119
フォーク
6
平均マージ
1時間 32分
マージ済み PR(30日)
2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ascorbic/macrodata のほかの issue

ascorbic/macrodata の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。