readme-updater-mcp
Okay, here's the translation of "MCP server to update README.md using Ollama for conflict analysis." into Chinese, along with a few options depending on the nuance you want to convey: **Option 1 (Most Literal and General):** * **MCP服务器使用Ollama更新README.md,进行冲突分析。** * (MCP fúwùqì shǐyòng Ollama gēngxīn README.md, jìnxíng chōngtú fēnxī.) * This is a straightforward translation. It's clear and understandable. **Option 2 (More Emphasis on the *Purpose* of Using Ollama):** * **MCP服务器使用Ollama来更新README.md,并进行冲突分析。** * (MCP fúwùqì shǐyòng Ollama lái gēngxīn README.md, bìng jìnxíng chōngtú fēnxī.) * The addition of "来 (lái)" emphasizes that Ollama is *being used in order to* update the README.md. "并 (bìng)" adds a slight emphasis on the "and" connecting the two actions. **Option 3 (Slightly More Technical/Formal):** * **MCP服务器利用Ollama进行冲突分析,以更新README.md。** * (MCP fúwùqì lìyòng Ollama jìnxíng chōngtú fēnxī, yǐ gēngxīn README.md.) * This version uses "利用 (lìyòng)" which means "utilize" or "leverage." It's a bit more formal and suggests a more deliberate use of Ollama's capabilities. The "以 (yǐ)" means "in order to" or "so as to." This version puts the conflict analysis first, implying it's a prerequisite for the update. **Option 4 (Focus on Ollama's Role in Resolving Conflicts):** * **MCP服务器使用Ollama进行冲突分析,从而更新README.md。** * (MCP fúwùqì shǐyòng Ollama jìnxíng chōngtú fēnxī, cóng'ér gēngxīn README.md.) * This option uses "从而 (cóng'ér)" which means "thereby" or "thus." It emphasizes that the conflict analysis *leads to* the update of the README.md. It implies that Ollama's conflict analysis directly enables the update. **Which one to choose?** * If you want a simple, direct translation, use **Option 1**. * If you want to emphasize the *purpose* of using Ollama, use **Option 2**. * If you want a slightly more technical and formal tone, and emphasize the conflict analysis as a prerequisite, use **Option 3**. * If you want to emphasize that the conflict analysis *directly enables* the update, use **Option 4**. I would probably lean towards **Option 1** or **Option 2** for most general purposes. They are clear and easy to understand.
nCrom
README
readme-updater-mcp
这是一个使用 Ollama 分析语义冲突并更新 README.md 文件的 MCP 服务器。
功能
- 向指定的 README.md 文件添加内容。
- 在添加内容时,通过 Ollama(使用
llama3
模型)分析与现有内容的语义冲突。 - 如果检测到冲突,将尝试根据 Ollama 的建议修改现有内容或删除后添加新内容。
- 如果 Ollama 分析失败,则以不检测冲突的方式添加内容(回退)。
先决条件
安装
- 克隆仓库:
git clone https://github.com/nCrom/readme-updater-mcp.git
- 进入目录:
cd readme-updater-mcp
- 安装依赖:
npm install
- (可选) 构建: 服务器运行时可以自动构建,但如果想手动构建,请运行以下命令。
npm run build
MCP 客户端设置
需要在使用的 MCP 客户端(例如:Cline, Claude Desktop 等)的配置文件中注册此服务器。
- Windows (Claude Desktop 示例):
%APPDATA%/Claude/claude_desktop_config.json
- macOS (Claude Desktop 示例):
~/Library/Application Support/Claude/claude_desktop_config.json
- Cline (VS Code 扩展程序示例):
c:/Users/[用户名]/AppData/Roaming/Windsurf/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
(路径可能不同)
在配置文件中的 mcpServers
对象中添加以下内容。 args
的路径需要修改为实际下载服务器代码的路径。
{
"mcpServers": {
// ... 其他服务器设置 ...
"readme-updater-mcp": {
"command": "node",
"args": [
// 示例: "C:/path/to/downloaded/readme-updater-mcp/build/index.js"
// 请修改为实际服务器 build/index.js 文件的完整路径。
"/full/path/to/readme-updater-mcp/build/index.js"
],
"env": {
// 本地 Ollama API 地址设置 (如果与默认值相同,则可以省略)
"OLLAMA_HOST": "http://127.0.0.1:11434"
},
"disabled": false,
"autoApprove": [] // 根据需要添加自动批准的工具
}
}
}
注意: 需要重启 MCP 客户端才能应用配置更改。
使用方法
通过 MCP 客户端(例如:Cline)调用 update_readme
工具。
参数:
filePath
(必需): 要更新的 README.md 文件的绝对路径 (字符串)contentToAppend
(必需): 要添加到 README 文件中的内容 (字符串)heading
(可选): 要添加内容的 Markdown 标题 (字符串, 例如: "## 变更记录")。 如果未指定或该标题不存在,则添加到文件末尾。
示例请求 (使用 Cline 时):
"将最后一次提交消息添加到 D:/my-project/README.md
文件的 ## 提交日志
下面。"
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
Jira-Context-MCP
MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Sequential Thinking MCP Server
这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。
Curri MCP Server
通过管理文本笔记、提供笔记创建工具以及使用结构化提示生成摘要,从而实现与 Curri API 的交互。