GM

gcorroto/mcp-svn

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

24 stars 7 forks 品質 82 トレンド 20MIT

mcp-svnの

概要

Subversion (SVN) 統合用の完全な MCP (Model Context Protocol) サーバーで、AI エージェントが SVN リポジトリを効率的に管理できるように設計しました。 - ✅ : info, status, log, diff, checkout, update - : add, commit, delete, revert - ✅ : cleanup : (開発中) - 合併, スイッチ, プロパティ (開発中) - バグ : 不具合の検出 (開発中) - : (開発中) - >= 18.0.0 - PATH - (開発のために)に取付け、利用できる SVN WORKING DIRECTORYとSVN URLは独立しています。 両方で構成されたローカル操作(svn status、svn commit、...)は、作業コピーで実行し、URL 対応ツール(svn cat、svn list、svn info、svn log、svn diff)は、次のように呼び出すことができます。 - フル URL (https://svn.example.com/repo/trunk/file.sql)) - / (/trunk/file.sql) で始まるリポジトリの相対パス - ローカルパス - 作業コピーに対して解決 SVNシステムの状態と作業コピーを確認します.

概要(AI 翻訳)

Subversion (SVN) 統合用の完全な MCP (Model Context Protocol) サーバーで、AI エージェントが SVN リポジトリを効率的に管理できるように設計しました。

欲求の特徴

  • ✅基本リポジトリ操作:情報、ステータス、ログ、差分、チェックアウト、更新
  • ✅ファイル管理:追加、コミット、削除、変換
  • ✅メンテナンスツール:クリーンアップ
  • ◯ブランク管理**:(開発中)
  • ✓高度な操作**:マージ、スイッチ、プロパティ(開発中)
  • ✓分析ツール**:非難、競合検出(開発中)
  • ✓バッチ操作**:(開発中)

よくある質問

  • Node.js >= 18.0.0 -**PATHにSubversion(SVN)**をインストールして利用可能
  • TypeScript (開発用)

の SVN の取付けを検出する ANSI

####SVNがインストールされているかどうかをチェック

####SVNが正しくインストールされている場合は出力を期待:

✕ SVN がインストールされていない場合の一般的なエラー:

◀ 高度な診断

💾 Windows上でSVNをインストールする

オプション1:パッケージマネージャ

####Option 2: 公式インストーラ

1.TortoiseSVN(コマンドラインクライアントを含む)

2.SlikSVN(コマンドラインのみ):

3。 CollabNet Subversion:

###Option 3:Windows用のビジュアルスタジオまたはGit

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

SVN MCP Server

A complete MCP (Model Context Protocol) server for Subversion (SVN) integration, designed to let AI agents manage SVN repositories efficiently.

🎯 Features

  • ✅ Basic repository operations: info, status, log, diff, checkout, update
  • ✅ File management: add, commit, delete, revert
  • ✅ Maintenance tools: cleanup
  • 🔄 Branch management: (In development)
  • 🔄 Advanced operations: merge, switch, properties (In development)
  • 🔄 Analysis tools: blame, conflict detection (In development)
  • 🔄 Batch operations: (In development)

📋 Requirements

  • Node.js >= 18.0.0
  • Subversion (SVN) installed and available on PATH
  • TypeScript (for development)

🔍 Detecting the SVN installation

Check whether SVN is installed

# Basic command to check SVN
svn --version

# Check the full path of the executable
where svn        # Windows
which svn        # Linux/Mac

# Check the full SVN client
svn --version --verbose

Expected output if SVN is correctly installed:

svn, version 1.14.x (r1876290)
   compiled Apr 13 2023, 17:22:07 on x86_64-pc-mingw32

Copyright (C) 2023 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

❌ Common errors if SVN is NOT installed:

# Windows
'svn' is not recognized as an internal or external command

# Linux/Mac
svn: command not found
bash: svn: command not found

🛠️ Advanced diagnostics

# Check the system PATH
echo $PATH                    # Linux/Mac
echo %PATH%                   # Windows CMD
$env:PATH                     # Windows PowerShell

# Search for SVN executables on the system
find / -name "svn" 2>/dev/null           # Linux
Get-ChildItem -Path C:\ -Name "svn.exe" -Recurse -ErrorAction SilentlyContinue  # Windows PowerShell

# Check the specific client version
svn --version | head -1       # Get just the first line with the version

💾 Installing SVN on Windows

Option 1: Package managers

# Using Chocolatey (Recommended)
choco install subversion

# Using winget
winget install CollabNet.Subversion

# Using Scoop
scoop install subversion

Option 2: Official installers

  1. TortoiseSVN (includes the command-line client):

    https://tortoisesvn.net/downloads.html
    ✅ Includes GUI and CLI clients
    ✅ Windows Explorer integration
    
  2. SlikSVN (command line only):

    https://sliksvn.com/download/
    ✅ Lightweight (CLI only)
    ✅ Ideal for automation
    
  3. CollabNet Subversion:

    https://www.collab.net/downloads/subversion
    ✅ Enterprise version
    ✅ Commercial support available
    

Option 3: Visual Studio or Git for Windows

# If you have Git for Windows installed, it can include SVN
git svn --version

# Visual Studio can also include SVN
GitHub で README 全文を見る

インストール

npx @grec0/mcp-svn
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "svn": { "command": "npx", "args": ["@grec0/mcp-svn"], "env": { "SVN_PATH": "svn", "SVN_WORKING_DIRECTORY": "C:/path/to/working/copy", "SVN_URL": "https://svn.example.com/repo", "SVN_USERNAME": "your_username", "SVN_PASSWORD": "your_password" } } } }