{"repo":"Osmosis-AI/Osmosis-Apply-1.7B-MCP","free":true,"listed":false,"github":"https://github.com/Osmosis-AI/Osmosis-Apply-1.7B-MCP","clone":"git clone https://github.com/Osmosis-AI/Osmosis-Apply-1.7B-MCP.git","description":"A mcp server that uses the Osmosis-Apply-1.7B model to apply code merges","language":"Python","stars":53,"topics":[],"license":null,"category":"mcp-servers","readme_excerpt":"CodeMerge A Model Context Protocol (MCP) server that uses the Osmosis-Apply-1.7B model to merge code edits. - Code Merging : Uses the Osmosis/Osmosis-Apply-1.7B model to apply edits - MCP Integration : Works as a Model Context Protocol server to integrate into existing AI IDE solutions - File Operations : Can directly edit files in place or return edited code Installation Prerequisites - Python 3.10 or higher - Ollama installed and running - The Osmosis model pulled: ollama pull Osmosis/Osmosis-Apply-1.7B Setup 1. Clone the repository: 2. Install dependencies using uv: 3. Run: Usage As an MCP Server CodeMerge can be used as an MCP server. Configure it in your MCP client: Direct Usage You can also use CodeMerge directly in Python: MCP Tool Usage The MCP server provides an edit snippet tool with the following parameters: - original code : The exact original code to be edited - edit snippet : The edit to apply, using // ... existing code ... markers - file path : Absolute path to a file to update in place Example tool call: Edit Format CodeMerge uses a specific format for edits that preserves context while being concise: The // ... existing code ... markers indicate where the original code should be preserved. This allows you to specify only the parts you want to change while maintaining the exact structure and formatting of the original code. Dependencies - httpx =0.28.1 : HTTP client for API calls - mcp[cli] =1.10.1 : Model Context Protocol implementation - ollama : Python cli","default_branch":null,"files":null,"tree":[],"storefront":"/r/Osmosis-AI","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Osmosis-AI/Osmosis-Apply-1.7B-MCP/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}