Add alwaysLoad: true to mcpServers registration

未关闭 适合新手
#28 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
70/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
冷清
技术栈
typescript
领域
tooling

调研方向

打开 .claude-plugin/plugin.json 并检查 mcpServers.macrodata 注册。添加所请求的 alwaysLoad 设置,然后验证 JSON,并确认 macrodata 工具 schema 会在会话开始时加载,而无需调用 ToolSearch

由索引模型根据 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 分钟
30 天内合并 PR
2

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ascorbic/macrodata 的其他 Issue

查看 ascorbic/macrodata 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。