Skip to main content

🇬🇧 English | 🇷🇴 Versiunea în limba română


⚠️ Note:
✨ 100% AI‑powered project 🪄 — concept, analysis, code, testing, documentation — with the human 👨‍💻 in the loop as the big boss 👨‍💼 for control, fine‑tuning, and decisions 🤔😉🤫.


Fossil SCM - MCP Server

A robust Model Context Protocol (MCP) server providing comprehensive, headless programmatic access to Fossil SCM repositories. It exposes 29 dedicated tools covering Version Control, Repository Administration & Settings, Bug/Task Ticketing, and Wiki management, tailored specifically for AI agents (Google Antigravity, Claude Desktop, Cursor, etc.).

Prerequisites

  1. Download Fossil from the official website: https://fossil-scm.org/
  2. Extract and place the executable (fossil.exe on Windows, fossil on Linux/macOS) in a directory of your choice.
  3. Add that directory to your system's PATH.

Installation & Configuration

To integrate this MCP server with Claude Desktop, Google Antigravity, or other MCP-compatible clients, add the following configuration to your MCP configuration file (e.g., claude_desktop_config.json or mcp_config.json):

{
  "mcpServers": {
    "fossil-scm": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/fossil-scm-mcp",
        "fossil-scm-mcp"
      ]
    }
  }
}

Replace /path/to/fossil-scm-mcp with the actual path to the repository directory on your system (e.g., C:/Tools/FossilSCM or /home/user/FossilSCM).

Key Features & Capabilities

  • 29 Specialized Tools:
    • Version Control (20 tools): Workspace status (fossil_status), diff with revision and branch support (fossil_diff), historical file inspection without checkout (fossil_cat), per-file commit history (fossil_finfo), granular file restoration (fossil_revert), DAG-preserving file rename (fossil_mv), workspace cleanup (fossil_clean), branch merging with auto-close (fossil_merge), temporary stash management (fossil_stash), symbolic tag management (fossil_tag), granular add/remove (fossil_add, fossil_rm, fossil_addremove, fossil_extras), branch management (fossil_branch), commit with new branch creation (fossil_commit), timeline with path and type filters (fossil_timeline), and safe undo/update operations (fossil_undo, fossil_update).
    • Ticketing & Bug Tracking (3 tools): List (fossil_ticket_list), create (fossil_ticket_create), and update tickets (fossil_ticket_update) stored directly within the repository database.
    • Wiki Documentation (3 tools): List (fossil_wiki_ls), export/read (fossil_wiki_read), and commit/write (fossil_wiki_write) Markdown wiki pages.
    • Repository Administration & Setup (3 tools): Initialize new repositories (fossil_init), open repositories (fossil_open), and inspect/modify repository configurations (fossil_settings).
  • Headless & Anti-Hang Resilience:
    • Automatically sets stdin to DEVNULL to instantly fail interactive CLI prompts (y/N) instead of hanging.
    • Built-in 30-second timeout mechanism with clean error reporting.
    • Default --no-warnings and automatic prompt handling on commits for binary files and CRLF/LF line endings.
    • fossil_add uses force=True by default, cleanly bypassing ignore-glob confirmation prompts when files are explicitly specified.
  • Centralized Repositories: Automatically organizes repositories into a .fossil_repositories/ directory outside the active working tree.
  • Safety First: Destructive operations (undo, update) are explicitly labeled with warnings so AI agents ask for human confirmation before executing.

📚 Documentation

For complete architectural details, AI agent workflows, and the in-depth API reference covering all 29 tools, see the User Manual & Technical Reference.


📄 License

This project is licensed under the terms of the MIT License. See the LICENSE file for complete details.


📝 Warranty

No warranty of any kind is provided!

Metadata

Release files for fossil-scm-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fossil-scm-mcp 1.0.0
File Size Uploaded
fossil_scm_mcp-1.0.0.tar.gz 125.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fossil-scm-mcp 1.0.0
File Interpreter ABI Platform
fossil_scm_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 137.8 kB

Release files / fossil_scm_mcp-1.0.0.tar.gz

Download URL fossil_scm_mcp-1.0.0.tar.gz
Size 125.4 kB
Tags Source
SHA-256 checksum
How to use checksums
62bbcc14fb4c2a74834ee0ffeb0d0c043f8b9ce35dd4ff60f1a9bf66ae1cf70a
BLAKE2b-256 checksum
How to use checksums
6d6214b6fefc8920db5d3a5dba4e394eb156dad4d3ada160ad40115638b57cfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / fossil_scm_mcp-1.0.0-py3-none-any.whl

Download URL fossil_scm_mcp-1.0.0-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab09ff2eacebb32343007a62b7a0213b932f2afd6b40f91b5c3e14ddf94270b1
BLAKE2b-256 checksum
How to use checksums
fe7f6a4e92f243d36dc9efeb55cb424387a1b3cb98c7387d0c0161db1f847c4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page