readme-updater-mcp logo

readme-updater-mcp

by nCrom

The readme-updater-mcp is an MCP server that uses Ollama to analyze semantic conflicts and update README.md files. It intelligently adds content to a README, resolving conflicts by modifying or replacing existing content based on Ollama's suggestions.

View on GitHub

Last updated: N/A

What is readme-updater-mcp?

This server is an MCP (Meta-Control Protocol) server designed to automatically update README.md files. It leverages the Ollama language model to detect and resolve semantic conflicts when adding new content, ensuring the README remains coherent and up-to-date.

How to use readme-updater-mcp?

To use this server, you need to configure your MCP client (e.g., Cline, Claude Desktop) to recognize it. This involves adding the server's execution path and environment variables to the client's configuration file. Once configured, you can call the update_readme tool with the file path of the README and the content to append. The server will then use Ollama to analyze and update the README.

Key features of readme-updater-mcp

  • Adds content to README.md files.

  • Analyzes semantic conflicts using Ollama (llama3 model).

  • Resolves conflicts by modifying or replacing existing content based on Ollama's suggestions.

  • Falls back to simple appending if Ollama analysis fails.

Use cases of readme-updater-mcp

  • Automating changelog updates in README files.

  • Adding documentation snippets to READMEs based on code changes.

  • Keeping README files consistent with project evolution.

  • Dynamically updating READMEs with information from external sources.

FAQ from readme-updater-mcp

What is Ollama?

Ollama is a tool that allows you to run open-source large language models, such as Llama 3, locally.

Why do I need to download the llama3 model?

The server uses the llama3 model to analyze semantic conflicts in the README file. Downloading it locally allows the server to perform this analysis without relying on external APIs.

What happens if Ollama analysis fails?

If the Ollama analysis fails, the server will fall back to simply appending the new content to the README file without conflict detection.

How do I configure my MCP client to use this server?

You need to add the server's configuration to your MCP client's settings file, including the command to execute the server and the path to the server's index.js file. Refer to the README for specific instructions for different MCP clients.

What parameters does the update_readme tool accept?

The update_readme tool requires two parameters: filePath (the path to the README file) and contentToAppend (the content to add). An optional heading parameter can be used to specify a Markdown heading under which to add the content.