π¬π§ English|π·π΄ 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 31 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
- Download Fossil from the official website: https://fossil-scm.org/
- Extract and place the executable (
fossil.exeon Windows,fossilon Linux/macOS) in a directory of your choice. - Add that directory to your system's
PATH.
Installation & Configuration
To integrate this MCP server with Claude Desktop, Google Antigravity, Cursor, or other MCP-compatible clients, add the desired configuration below to your MCP configuration file (e.g., claude_desktop_config.json or mcp_config.json):
Option 1: Using uvx (Recommended for PyPI)
Direct execution from PyPI with zero local repository cloning required:
{
"mcpServers": {
"fossil-scm": {
"command": "uvx",
"args": [
"fossil-scm-mcp"
]
}
}
}
Option 2: Using pip
If you installed the package globally or into your active Python environment (pip install fossil-scm-mcp):
{
"mcpServers": {
"fossil-scm": {
"command": "fossil-scm-mcp"
}
}
}
Option 3: From Local Source (Development)
If running directly from a cloned local repository:
{
"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 cloned repository directory on your system (e.g., C:/Tools/FossilSCM or /home/user/FossilSCM).
Key Features & Capabilities
- 31 Specialized Tools:
- Version Control (20 tools): Workspace status (
fossil_status), diff with revision and branch support (fossil_diff), detailed repository and artifact inspection (fossil_info), 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 (5 tools): Initialize new repositories (
fossil_init), open repositories (fossil_open), close active checkouts (fossil_close), clone remote or local repositories (fossil_clone), and inspect/modify repository configurations (fossil_settings).
- Version Control (20 tools): Workspace status (
- Headless & Anti-Hang Resilience:
- Automatically sets
stdintoDEVNULLto instantly fail interactive CLI prompts (y/N) instead of hanging. - Built-in 30-second timeout mechanism with clean error reporting.
- Default
--no-warningsand automatic prompt handling on commits for binary files and CRLF/LF line endings. fossil_addusesforce=Trueby default, cleanly bypassingignore-globconfirmation prompts when files are explicitly specified.
- Automatically sets
- 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 31 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!