Skip to main content

An MCP server integration for SVN

Project description

mcp-server-svn

An MCP server integration for SVN. This project exposes core Subversion (SVN) version control operations as MCP tools, enabling seamless automation and integration with the Model Context Protocol (MCP) framework.

Features

  • Status, diff, log, update, add, commit, and checkout for SVN repositories
  • Branching operations: list, create, and delete branches/tags
  • Integration via the fastmcp library as a first-class MCP server
  • Easily connects SVN workflows to automated agent ecosystems

Requirements

  • Python >= 3.10
  • fastmcp
  • Subversion (SVN) command-line client should be installed and available in PATH.

Installation

pip install .
# or with poetry:
# poetry install

Usage

Start the server (available after install via entry point):

mcp-server-svn

The server will launch and register the following MCP tools:

  • svn_status
  • svn_diff
  • svn_commit
  • svn_update
  • svn_log
  • svn_add
  • svn_checkout
  • svn_switch
  • svn_list_branches
  • svn_create_branch
  • svn_delete_branch

Each tool corresponds to the documented Python wrapper in mcp_server_svn/tools/.

You can also run directly via Python:

python -m mcp_server_svn

Example: Checking repo status

You can call the svn_status tool through MCP/fastmcp-compatible agents or directly in Python:

from fastmcp import FastMCP
server = FastMCP("svn")
result = server.call("svn_status", {"repo_path": "/path/to/your/repo"})
print(result)

Development

  • All code is PEP8-compliant and type-hinted.
  • Contributions are welcome. Please open an issue for bugs/feature requests.

Author

© Manav Desai (manav27202@gmail.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_svn-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_svn-0.1.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_svn-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_server_svn-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mcp_server_svn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ed78de4f125d0909fb7f8ada23d48fe80bea8f159209edfee5c44e4a7ef4ebd0
MD5 aef08d0f52e5281a6669011772de6fad
BLAKE2b-256 9eb662dc08244405ac1671035c31f3e8a5fd1b30f3cb5a58bdc2873621d41052

See more details on using hashes here.

File details

Details for the file mcp_server_svn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_server_svn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mcp_server_svn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa7bf6b6aab419b1038328cbb4d8498313c1384021d04eb861ccdd0ce0add2c
MD5 0fc82dd4bbd3fd72858f6d5b4d7033a5
BLAKE2b-256 9d74c38578552fdbd087d3f96151e76aaf081d429315ed73f850a17d440eaa85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page