Basic information
About Semamerge MCP Server
MCP server that detects semantic (non-textual) merge conflicts between Git branches using AST-level analysis. Catches incompatible changes that Git merges cleanly but break at runtime — like signature changes, removed exports, interface breaks, and cross-file dependency conflicts
Semamerge is a MCP server in the Other category listed in the AddMCP.net directory, published by vineethwilson15. It exposes 4 tools, including check_merge_safety, analyze_branches, list_semantic_changes, analyze_file_pair. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: ast, code-analysis, git, merge conflicts, semantic-analysis.
Setup
{
"mcpServers": {
"semamerge": {
"command": "npx",
"args": [
"-y",
"semamerge"
]
}
}
}
{
"mcpServers": {
"semamerge": {
"command": "npx",
"args": [
"-y",
"semamerge"
]
}
}
}
{
"servers": {
"semamerge": {
"command": "npx",
"args": [
"-y",
"semamerge"
]
}
}
}
Semamerge MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"semamerge": {
"command": "npx",
"args": [
"-y",
"semamerge"
]
}
}
}
Semamerge MCP Server tools
-
check_merge_safety
— Quick pre-merge safety check. Analyzes two branches for semantic conflicts that Git would miss (signature changes, removed exports, parameter mismatches, etc.). Returns a risk score: safe/warning/danger.
repoPath:string*, sourceBranch:string*, targetBranch:string* -
analyze_branches
— Deep semantic analysis between two branches. Returns a detailed per-file report of all semantic changes and conflicts, including cross-file dependency issues.
repoPath:string*, branchA:string*, branchB:string*, baseBranch:string -
list_semantic_changes
— Lists all semantic changes on a branch (function additions/removals, export changes, type changes, etc.) relative to a base. Useful for understanding what semantically changed.
repoPath:string*, branch:string*, baseBranch:string -
analyze_file_pair
— Deep-dive semantic diff of a single file between two branches. Shows exactly what each branch changed and where conflicts arise.
repoPath:string*, filePath:string*, branchA:string*, branchB:string*
Overview
What is Semamerge?
Semamerge is a tool that detects semantic merge conflicts across branches, including type signature changes, removed exports, parameter changes, interface breaks, enum/constant changes, and cross-file dependency breaks. It is aimed at developers who want to identify breaking changes before merging branches.
How to use Semamerge?
Install with npm install -g semamerge. Use the provided CLI tools: check_merge_safety for a quick risk score, analyze_branches for deep per-file analysis, list_semantic_changes to list all semantic changes on a branch, and analyze_file_pair for a single-file deep dive between two branches.
Key features of Semamerge
- Detects type signature changes between branches
- Identifies removed or renamed exports
- Catches parameter changes in function calls
- Flags interface/contract breaks
- Alerts on enum/constant member changes
- Detects cross-file import/export dependency breaks
Use cases of Semamerge
- Pre-merge safety check before integrating feature branches
- Reviewing all semantic changes on a branch before review
- Deep-diving into a specific file’s conflict between two branches
- Analyzing cross-file dependency breaks that standard diff tools miss
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In