Token导航 LogoToken导航

MCP Server · 开发工具

refstore (Jedim Em O)

refstore是一个为LLM编码代理设计的参考文档管理工具,提供中央存储库管理、项目同步和远程注册表共享功能,适用于开发团队和AI编程代理。

未说明官方级别未说明来源级核验工具 8
版本控制RustClaudeCursor

快速开始

公开资料没有提供安装命令,按仓库或官方文档接入。
作者 / 组织
JedimEmO
提供方
JedimEmO

工具数量

8

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

1

仓库热度

收录来源

1 个

MCP World

选型结论

refstore (Jedim Em O) 属于开发工具类 MCP Server,公开资料标注 8 个工具,通过传输方式未标注接入,适配 Claude、Cursor,没有现成的安装命令;接入前先确认权限范围。

分类

开发工具

传输方式

未说明

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

公开目录没有给出安装命令,需要按仓库 README安装;下面按同类条目的通用流程说明。

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    先确认运行方式

    公开资料没有标注传输方式,先看仓库 README,确认是本地进程还是远程地址。

  2. 2

    获取服务

    公开目录没有给出安装命令,按仓库 README里的步骤安装或获取服务。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 8 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

公开资料仍需确认:安装命令

详细介绍

refstore

LLM编码代理的参考文档管理员。

管理参考资料的中央存储库——文档、示例代码、配置模板、样式指南——并将相关子集同步到每个项目的 .references/ 目录。然后,代理(或人类)可以读取 .references/ 用于接地的、特定于项目的上下文。

为什么

LLM编码代理可以更好地使用参考资料:API文档、编码约定、示例实现。但是在许多项目中管理这些是乏味的。refstore解决了这个问题:

  • 中央商店 --只需添加一次引用(本地文件、目录或git repos),即可在任何地方重用。
  • 每个项目清单 --每个项目都声明了它需要哪些引用 refstore.toml.
  • 选择性同步 --包含/排除globs以仅提取相关内容。
  • 捆绑包 --将相关的引用组合在一起(例如“ruststack”),并在一个步骤中将它们添加到项目中。
  • 远程注册表 --通过git在机器和团队之间共享引用。将社区或公司注册作为子模块。
  • 注册表编写 --创建并发布自己的注册表供他人使用。
  • 版本固定 --pin引用特定的注册表标记或可重复构建的提交。
  • MCP服务器 --通过模型上下文协议公开对代理的引用,具有可配置的读/写范围。

快速启动

cargo install --git https://github.com/JedimEmO/refstore
cd my-project
refstore init

init 将主动提出安装MCP服务器(.mcp.json)自动。注册后,Claude Code(和其他MCP客户端)将使用它——您不需要学习完整的CLI。

安装

cargo install --git https://github.com/JedimEmO/refstore

或者从当地收银台:

cargo install --path .

需要Rust 1.85+和git。

用法

# Add a reference to the local store
refstore store add rust-guidelines ~/docs/rust-guidelines --tag rust --description "Team Rust conventions"
refstore store add api-examples https://github.com/org/api-examples.git --ref main --tag api

# Initialize refstore in a project
cd my-project
refstore init

# Add references to the project and sync
refstore add rust-guidelines --sync
refstore add api-examples --include "**/*.rs" --exclude "**/tests/*"
refstore sync

# Discover and search
refstore list
refstore search "authentication"
refstore info rust-guidelines
refstore status

在同步之后, my-project/.references/ 包含:

.references/
  rust-guidelines/
    ...
  api-examples/
    src/
      lib.rs
      ...

CLI参考

发现

refstore list                        # List all references across registries
  --tag                         #   Filter by tag
  --kind    #   Filter by kind

refstore search               # Search content across references
  --ref                        #   Limit to a specific reference

refstore info                  # Show details (works for references and bundles)
refstore versions              # Show version history for a reference

当地书店

refstore store add     # Add a reference (file, dir, or git URL)
  --description "..."                #   Human-readable description
  --tag                         #   Tags for filtering (repeatable)
  --ref 
          #   Git ref to checkout
  --subpath 
                   #   Subdirectory within a git repo

refstore store update [name]         # Re-fetch content from source (all if omitted)
refstore store remove          # Remove a reference
  --force                            #   Skip confirmation prompt

refstore store push            # Copy a reference to another registry
  --to 
                        #   Path to the target registry

捆绑包

将引用分组在一起,以便在项目之间重用:

refstore bundle create  --ref  --ref 
  --description "..."                #   Human-readable description
  --tag                         #   Tags for filtering (repeatable)

refstore bundle list                 # List all bundles
  --tag                         #   Filter by tag

refstore bundle info           # Show bundle details
refstore bundle update         # Modify a bundle
  --add-ref                     #   Add references (repeatable)
  --remove-ref                  #   Remove references (repeatable)
  --description "..."                #   Update description

refstore bundle remove         # Remove a bundle
  --force                            #   Skip confirmation prompt

将捆绑包添加到项目中,其所有引用都会同步:

refstore add --bundle rust-stack
refstore sync

远程注册表

跨机器和团队共享参考。远程注册表是作为子模块添加到本地注册表的git repos:

refstore registry list               # List all registries (local + remote)
refstore registry add     # Add a remote registry
refstore registry update [name]      # Pull latest from remote (all if omitted)
refstore registry remove       # Remove a remote registry
  --force                            #   Skip confirmation prompt

来自远程注册表的引用出现在 refstore list 并且可以像本地引用一样添加到项目中。当名称冲突时,本地引用优先。

注册表编写

创建并发布自己的注册表供他人使用:

# Create a new registry
refstore registry init /path/to/my-registry

# Push references from your local store into it
refstore store push rust-guidelines --to /path/to/my-registry
refstore store push api-examples --to /path/to/my-registry

# Or add content directly using --data-dir
refstore --data-dir /path/to/my-registry store add react-docs ./react-docs/

# Create bundles in it
refstore --data-dir /path/to/my-registry bundle create frontend-stack --ref react-docs

# Publish: push the registry to a git remote
cd /path/to/my-registry
git remote add origin git@github.com:team/registry.git
git push -u origin main

其他人可以使用注册表:

refstore registry add team git@github.com:team/registry.git
refstore list                        # team's references are now visible
refstore add react-docs --sync       # sync from the team registry

版本控制

本地注册表是一个git repo。每 store add, store update,以及 store remove 创建一个commit。您可以标记状态并将项目固定到特定版本:

refstore store tag             # Tag the current registry state
  -m "..."                           #   Optional tag message (annotated tag)

refstore store tags                  # List all tags

refstore versions              # Show version history for a reference

在将引用添加到项目时,将其固定到特定版本:

refstore add api-examples --pin v1.0
refstore sync                        # Syncs content from the v1.0 tag, not HEAD

项目工作流程

refstore init                        # Initialize refstore.toml in current directory
  --path                        #   Target directory
  --commit-references                #   Don't gitignore .references/
  --install-mcp                      #   Install MCP server without prompting
  --no-mcp                           #   Skip MCP server installation

refstore add                   # Add a reference to the project manifest
  --bundle                           #   Add a bundle instead of a single reference
  --include                    #   Only sync matching files (repeatable)
  --exclude                    #   Skip matching files (repeatable)
  --pin                         #   Pin to a registry tag or commit
  --path                   #   Custom path within .references/
  --sync                             #   Sync content immediately after adding

refstore remove                # Remove from manifest
  --bundle                           #   Remove a bundle
  --purge                            #   Also delete synced content

refstore sync [name]                 # Sync .references/ from manifest
  --force                            #   Re-sync even if up to date

refstore status                      # Show sync status of all references

配置

refstore config show                 # Show all settings
refstore config get             # Get a value
refstore config set      # Set a value
键值默认值
mcp_scoperead_only, read_writeread_only
git_depth任何正整数1
default_branch分支机构名称或 none(未设置)

MCP服务器

refstore install-mcp                 # Register in .mcp.json (auto-detects binary path)
  --name                       #   Override server name (default: refstore)
  --path                        #   Target directory (default: cwd)

refstore mcp                         # Start MCP server (stdio transport)

要在项目中设置MCP服务器,只需运行 refstore install-mcp --它创建或更新 .mcp.json 使用正确的二进制路径和参数。适用于Claude Code、Cursor和其他MCP客户端。

显示工具: list_references, get_reference, read_reference_file, list_reference_files, search_references, list_bundles, get_bundle,以及 add_to_project (要求 read_write 范围)。

项目清单

refstore.toml 在项目根目录中:

version = 1
gitignore_references = true

[references.rust-guidelines]

[references.api-examples]
include = ["**/*.rs"]
exclude = ["**/tests/*"]
version = "v1.0"

bundles = ["rust-stack"]

数据布局

中央存储库位于 ~/.local/share/refstore/ (或 $XDG_DATA_HOME/refstore/,可与 --data-dir).这是一个git repo——所有突变都是自动提交的:

~/.local/share/refstore/          # git repo
  .git/
  .gitmodules                     # tracks remote registries
  .gitignore                      # excludes config.toml
  index.toml                      # reference & bundle definitions
  config.toml                     # local settings (gitignored)
  content/                        # cached reference content
    rust-guidelines/
    api-examples/
  registries/                     # remote registries (git submodules)
    community/                    # submodule → https://github.com/.../refs.git
      index.toml
      content/
        some-ref/

发展

cargo build
cargo test          # 88 integration tests

许可证

麻省理工学院

工具与能力

工具数量

8

资源数量

0

提示词数量

0

能力标签

参考文档管理Rust本地部署LLM代理开发工具代码同步版本控制

支持客户端

ClaudeCursor

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

让助手直接读代码

把仓库、提交记录和 issue 交给模型检索,补全和重构时不用来回复制文件。

在对话里跑命令

触发构建、测试和脚本,执行结果直接回到上下文,省去切终端。

接进开发流程

把 PR、CI 状态和代码审查接进助手,减少在几个工具之间跳。

选择建议

值得选的地方

  • 只提供 8 个工具,职责集中,接入后不容易误操作。
  • 已经适配 Claude、Cursor,换客户端不用重新研究配置。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • 公开资料没有可直接复制的安装命令,第一次接入要自己找入口。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在开发工具场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 愿意照着官方文档一步步配环境的人。

不太适合

  • 希望一条命令就装好、不想看文档的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
refstore (Jedim Em O)

MCP World · 本页

8未说明未标注1 个2026-05-17
Git 838e2ec1

MCP World

12stdio有2 个2026-05-17
Markitdown MCP 2c653a5f

MCP World

1stdio有1 个2026-05-17
Context7 MCP C671e75a

MCP World

0stdio有1 个2026-05-17
Context7 831acf40

MCP World

0stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

refstore (Jedim Em O) 怎么安装?

公开目录没有给出可以直接复制的安装命令,需要按仓库 README里的步骤安装;装好后写进客户端的 MCP 配置再重启。

refstore (Jedim Em O) 怎么在 Claude Desktop、Cursor 里配置?

它是传输方式未标注,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

refstore (Jedim Em O) 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

refstore (Jedim Em O) 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

refstore (Jedim Em O) 支持哪些客户端?

公开资料标注支持 Claude、Cursor;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP