Skip to main content
Glama

StitsAgent

Local MCP Memory Server, Project Crawler, Git Auto-Sync Hooks & Developer Dashboard for Multi-Project AI Workflows.

🌐 Languages: English | Português (Brasil)

Python 3.10+ License: MIT Protocol: MCP

StitsAgent gives your AI coding assistants (Cursor, Claude Desktop, VS Code, Antigravity, Windsurf, etc.) persistent memory across repositories, personal coding preferences, Git context, semantic version bumping, and a lightweight local web dashboard — all 100% local and privacy-first.


Preview

StitsAgent Dashboard — AI Chat, Pomodoro, Context Stats & Live Git Status

StitsAgent Dashboard — Interactive Mermaid Diagram


Related MCP server: cortex

Key Features

  • FastMCP Memory Server (stits-mcp): Exposes the contexto://projeto resource and 10 tools for project search, persistent memory updates, situation snapshots, Git status/history, personal preferences, and version bumping.

  • Gitignore-Aware Project Crawler (stits-crawler): Maps directory trees, extracts highlights from README.md / guides, catalogs utility scripts, collects TODO/FIXME items, and writes RESUMO_PROJETO.md.

  • Zero-Build Local Dashboard (stits-dashboard): Single-process Python HTTP server (http://127.0.0.1:8080) featuring:

    • Multi-project switcher across your local workspace

    • BYOK Gemini Chat (gemini-2.5-flash / gemini-2.5-pro) grounded in your project context

    • Interactive Mermaid architecture diagrams (with pan & zoom)

    • Live Git status polling & commit history

    • Pomodoro timer, session/coding time trackers & 7-day Chart.js productivity charts

    • Built-in JSON editor for global AI preferences

  • Git Auto-Sync Hooks (stits-install-hooks & stits-sync-all): Automatically refreshes RESUMO_PROJETO.md on every git commit across all repositories in your workspace.

  • Multi-Stack Version Bumper (stits-bump): Bumps major, minor, or patch versions across package.json, App.(tsx|jsx|js), build.gradle, and manifest.json.

  • Project Scaffolder (stits-init): Bootstraps new Git repositories pre-wired with .agent/workflows/, release.ps1, and initial project memory.


Quick Start

1. Install

git clone https://github.com/pedrinhomt-cmd/stits-agent-mcp.git
cd stits-agent-mcp
pip install -e .

2. Configure Environment (Optional)

Copy .env.example to .env:

cp .env.example .env

Set STITS_WORKSPACE_DIRS if you want multi-project discovery across multiple folders, and GEMINI_API_KEY if you want to use the Dashboard AI Chat.

3. Map Your Project & Launch the Dashboard

cd /path/to/your-project
stits-crawler
stits-dashboard

Open http://127.0.0.1:8080 in your browser (or /landing for the overview page).


Connecting to Your IDE (MCP)

Add stits-mcp to your IDE / MCP client configuration (Cursor, Claude Desktop, VS Code, Antigravity, etc.):

{
  "mcpServers": {
    "stits-agent": {
      "command": "stits-mcp",
      "env": {
        "STITS_WORKSPACE_DIRS": "/path/to/your/projects"
      }
    }
  }
}

Tip: If your IDE does not inherit your Python virtual environment PATH, point "command" to the full path of python and pass "args": ["-m", "stits_agent.mcp_server"].

Available MCP Tools & Resources

Type

Name

Description

Resource

contexto://projeto

Reads the current project's RESUMO_PROJETO.md

Tool

mostrar_diretorio_trabalho

Shows the active working directory

Tool

buscar_contexto_projeto

Searches technical terms/rules in the project summary

Tool

atualizar_memoria

Appends architectural decisions to the project summary

Tool

executar_crawler

Runs the crawler to refresh RESUMO_PROJETO.md

Tool

ler_snapshot

Reads SITUATION_SNAPSHOT.md (current project or latest)

Tool

consultar_git_status

Returns git status --short

Tool

consultar_historico_git

Returns recent commits (git log --oneline)

Tool

consultar_preferencias

Loads your global coding preferences

Tool

memorizar_preferencia

Saves a new personal rule or preference

Tool

promover_versao

Bumps version across web/mobile project files


CLI Commands

Command

Purpose

stits-mcp

Start the FastMCP stdio server

stits-dashboard [--port 8080]

Start the local web dashboard

stits-crawler [path]

Generate/update RESUMO_PROJETO.md

stits-sync-all [dirs...]

Batch-update summaries across all workspace projects

stits-install-hooks [dirs...]

Install pre-commit / post-commit auto-sync hooks

stits-bump [--type patch|minor|major]

Bump semantic version across project manifests

stits-init <project-name>

Create a new Git project pre-integrated with StitsAgent


Privacy & Local Storage

  • Global preferences are stored outside your repository at ~/.stits_agent/user_preferences.json (customizable via STITS_PREFS_PATH).

  • Session logs are stored locally under stits_logs/ (ignored by Git by default).

  • No telemetry or cloud account is required; the optional Dashboard Chat uses your own Gemini API key (BYOK).


License

Licensed under the MIT License.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers