Sponsored by Deepsite.site

readme-updater-mcp

Created By
nCrom8 months ago
MCP server to update README.md using Ollama for conflict analysis.
Content

readme-updater-mcp

Ollama를 사용하여 의미 충돌을 분석하고 README.md 파일을 업데이트하는 MCP 서버입니다.

기능

  • 지정된 README.md 파일에 내용을 추가합니다.
  • 내용 추가 시 Ollama (llama3 모델 사용)를 통해 기존 내용과의 의미 충돌을 분석합니다.
  • 충돌이 감지되면 Ollama의 제안에 따라 기존 내용을 수정하거나 삭제 후 새 내용을 추가하려고 시도합니다.
  • Ollama 분석에 실패하면, 충돌 감지 없이 내용을 추가하는 방식으로 동작합니다 (Fallback).

사전 요구 사항

  • Node.js (최신 LTS 버전 권장)
  • Ollama 설치
  • Ollama llama3 모델 다운로드:
    ollama pull llama3
    

설치

  1. 저장소 클론:
    git clone https://github.com/nCrom/readme-updater-mcp.git
    
  2. 디렉토리 이동:
    cd readme-updater-mcp
    
  3. 의존성 설치:
    npm install
    
  4. (선택 사항) 빌드: 서버 실행 시 자동으로 빌드될 수 있지만, 수동으로 빌드하려면 다음 명령어를 실행합니다.
    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 파일의 ## 커밋 로그 아래에 추가해줘."

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
Serper MCP ServerA Serper MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
ChatWiseThe second fastest AI chatbot™
DeepChatYour AI Partner on Desktop