Token导航 LogoToken导航

MCP Server · 文档知识

MCP Rtfm

MCP-RTFM是一个自动化文档生成和管理工具,通过内容分析、元数据生成和智能搜索功能,将不存在的或难以理解的文档转化为互联的知识库。

未说明官方级别未说明来源级核验工具 0
文档生成内容分析JavaScriptClaude元数据管理Cline

快速开始

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

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

35

仓库热度

收录来源

2 个

MCP World

选型结论

MCP Rtfm 属于文档知识类 MCP Server,公开资料标注 0 个工具,通过传输方式未标注接入,适配 Claude、Cline,没有现成的安装命令;接入前先确认权限范围。

分类

文档知识

传输方式

未说明

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

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

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

上手步骤

  1. 1

    先确认运行方式

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

  2. 2

    获取服务

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

  3. 3

    写入客户端配置

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

  4. 4

    验证是否可用

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

接入前确认

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

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

详细介绍

MCP-RTFM

“RTFM!”他们说,但如果没有FM到R怎么办? 🤔 输入MCP-RTFM:一个帮助您的MCP服务器 *创建* 每个人都在不断地告诉人们要阅读《F\*ing手册》!使用先进的内容分析、元数据生成和智能搜索功能,它将您不存在或不可读的文档转换为相互关联的知识库,在被问到这些“基本问题”之前,这些知识库实际上会回答这些问题。
情节转折:现在,你不仅可以告诉人们使用RTFM,还可以给他们一个值得推荐的FM!因为对“阅读f\*ing手册”的最佳回应是有一本真正值得一读的手册。 📚✨

📚 目录

🚀 快速开始

# Install dependencies
npm install

# Build the server
npm run build

# Add to your MCP settings and start using
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "analyze_project_with_metadata", // Enhanced initialization
  args: { projectPath: "/path/to/project" }
});

// This will:
// 1. Create documentation structure
// 2. Analyze content with unified/remark
// 3. Generate intelligent metadata
// 4. Build search index with minisearch
// 5. Add structured front matter
// 6. Make your docs actually readable!

✨ 特性

文档管理工具

  • analyze_existing_docs -通过内容分析和元数据分析和增强现有文档
  • analyze_project_with_metadata -通过增强的内容分析和元数据生成初始化文档结构
  • analyze_project -文档结构的基本初始化
  • read_doc -阅读文档文件(更新前需要)
  • update_doc -使用基于差异的更改更新文档
  • get_doc_content -获取文档文件的当前内容
  • get_project_info -获取项目结构和文档状态
  • search_docs -在文档文件中搜索突出显示的结果
  • update_metadata -更新文档元数据
  • get_related_docs -根据元数据和内容链接查找相关文档
  • customize_template -创建或更新文档模板

默认文档文件

服务器自动创建和管理这些核心文档文件:

  • techStack.md -工具、库和配置的详细清单
  • codebaseDetails.md -代码结构和逻辑的低级解释
  • workflowDetails.md -关键流程的分步工作流程
  • integrationGuides.md -外部系统连接说明
  • errorHandling.md -故障排除策略和实践
  • handoff_notes.md -关键主题和下一步行动摘要

文档模板

针对不同文档类型的内置模板:

  • 标准文档模板
  • API文档模板
  • 工作流文档模板

可以使用创建自定义模板 customize_template 工具。

📝 示例工作流

1.分析现有文件

// Enhance existing documentation with advanced analysis
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "analyze_existing_docs",
  args: { projectPath: "/path/to/project" }
});

// This will:
// - Find all markdown files in .handoff_docs
// - Analyze content structure with unified/remark
// - Generate intelligent metadata
// - Build search index
// - Add front matter if not present
// - Establish document relationships
// - Preserve existing content

// The results include:
// - Enhanced metadata for all docs
// - Search index population
// - Content relationship mapping
// - Git context if available

2.增强的项目文档设置

// Initialize documentation with advanced content analysis
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "analyze_project_with_metadata",
  args: { projectPath: "/path/to/project" }
});

// Results include:
// - Initialized documentation files
// - Generated metadata from content analysis
// - Established document relationships
// - Populated search index
// - Added structured front matter
// - Git repository context

// Get enhanced project information
const projectInfo = await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "get_project_info",
  args: { projectPath: "/path/to/project" }
});

// Search across documentation with intelligent results
const searchResults = await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "search_docs",
  args: {
    projectPath: "/path/to/project",
    query: "authentication"
  }
});

// Results include:
// - Weighted matches (title matches prioritized)
// - Fuzzy search results
// - Full content context
// - Related document suggestions

3.使用内容链接更新文档

// First read the document
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "read_doc",
  args: {
    projectPath: "/path/to/project",
    docFile: "techStack.md"
  }
});

// Update with content that links to other docs
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "update_doc",
  args: {
    projectPath: "/path/to/project",
    docFile: "techStack.md",
    searchContent: "[Why this domain is critical to the project]",
    replaceContent: "The tech stack documentation provides essential context for development. See [[workflowDetails]] for implementation steps.",
    continueToNext: true // Automatically move to next document
  }
});

4.管理文档元数据

// Update metadata for better organization
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "update_metadata",
  args: {
    projectPath: "/path/to/project",
    docFile: "techStack.md",
    metadata: {
      title: "Technology Stack Overview",
      category: "architecture",
      tags: ["infrastructure", "dependencies", "configuration"]
    }
  }
});

// Find related documentation
const related = await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "get_related_docs",
  args: {
    projectPath: "/path/to/project",
    docFile: "techStack.md"
  }
});

5.使用上下文搜索文档

// Search with highlighted results
const results = await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "search_docs",
  args: {
    projectPath: "/path/to/project",
    query: "authentication"
  }
});

// Results include:
// - File name
// - Line numbers
// - Highlighted matches
// - Context around matches

6.创建自定义模板

// Create a custom template for architecture decisions
await use_mcp_tool({
  server: "mcp-rtfm",
  tool: "customize_template",
  args: {
    templateName: "architecture-decision",
    content: `# {title}

## Context
[Background and context for the decision]

## Decision
[The architecture decision made]

## Consequences
[Impact and trade-offs of the decision]

## Related Decisions
[Links to related architecture decisions]`,
    metadata: {
      category: "architecture",
      tags: ["decision-record", "design"]
    }
  }
});

🔧 安装

VSCode(Roo-Cline)

添加到设置文件: 添加到设置文件:

  • 窗户: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json
  • MacOS: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
  • Linux: ~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "mcp-rtfm": {
      "command": "node",
      "args": ["
/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

克劳德桌面

添加到配置文件:

  • 窗户: %APPDATA%\Claude\claude_desktop_config.json
  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-rtfm": {
      "command": "node",
      "args": ["
/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

🎯 高级功能

内容链接

使用 [[document-name]] 用于在文档之间创建链接的语法。服务器会自动跟踪这些关系,并在查找相关文档时将其包含在内。

元数据驱动的组织

文档的组织方式如下:

  • 类别(例如,“架构”、“api”、“工作流”)
  • 灵活分组标签
  • 基于共享元数据的自动关系发现
  • 内容链接分析

增强的内容分析

服务器使用高级库来更好地管理文档:

  • 统一/备注 对于Markdown处理:

- 基于AST的内容分析 - 精确的航向结构检测 - 代码块和链接提取 - 正确的Markdown解析和操作

  • \_上一条搜索 强大的搜索功能:

- 在所有文档中快速模糊搜索 - 字段加权搜索(标题具有更高的优先级) - 完整内容和元数据索引 - 通过TTL管理实现高效缓存 - 实时搜索索引更新

智能元数据生成

  • 用于分类的自动内容分析
  • 基于内容模式的智能标签生成
  • 文档中的结构化前端内容
  • 基于AST的标题和章节检测
  • 代码段识别和标记
  • 上下文感知结果演示

模板系统

  • 常见文档类型的内置模板
  • 具有元数据默认值的自定义模板支持
  • 模板继承和覆盖功能
  • 占位符系统,格式一致

🛠️ 发展

# Install dependencies
npm install

# Build the server
npm run build

# Development with auto-rebuild
npm run watch

🐛 调试

由于MCP服务器通过stdio进行通信,调试可能具有挑战性。使用 MCP检查员:

npm run inspector

检查器将提供一个URL,用于访问浏览器中的调试工具。

📄 许可证

MIT© 模型上下文协议

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

文档生成JavaScript本地部署内容分析元数据管理智能搜索知识库构建

支持客户端

ClaudeCline

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

典型使用场景

读长文档提问

把 PDF、Markdown 和笔记交给模型,按章节追问细节。

整理知识库

把零散资料归档、打标签,检索时更容易命中。

批量出摘要

提取要点,输出能直接引用的段落。

选择建议

值得选的地方

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

先想清楚的地方

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

更适合

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

不太适合

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

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
MCP Rtfm

MCP World · 本页

0未说明未标注2 个2026-05-17
Cherry Studio

MCP World

0未说明未标注1 个2026-05-17
Pdf Math Translate

MCP World

0stdio有1 个2026-05-17
report generation

MCP World

0stdio有1 个2026-05-17
Anything To Notebooklm

MCP World

0stdio有1 个2026-05-17

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

常见问题

5 条

MCP Rtfm 怎么安装?

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

MCP Rtfm 怎么在 Claude Desktop、Cursor 里配置?

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

MCP Rtfm 收费吗?

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

MCP Rtfm 需要 API Key 吗?

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

MCP Rtfm 支持哪些客户端?

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

来源信息

继续浏览同类 MCP