Logotipo de Shadowgit MCP

Shadowgit MCP

Organización
alessandro-afloarei

A Model Context Protocol (MCP) server that provides AI assistants with secure, read-only access to your ShadowGit repositories. This enables powerful debugging and code analysis capabilities by giving AI access to your project's fine-grained git history.

Editoralessandro-afloarei
Repositorioshadowgit-mcp
IdiomaTypeScript
Forks
8
Estrellas
50
Herramientas disponibles
0
Tipo de transportestdio
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Shadowgit MCP ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    50 estrellas y 8 forks en el repositorio enlazado.

ShadowGit MCP server

Gives Claude Code, Cursor and Claude Desktop access to ShadowGit: the automatic snapshots ShadowGit takes of your projects every few minutes, kept apart from your own git history. Your assistant can see what changed and when, and can save its own edits as one named checkpoint instead of many partial snapshots.

Requirements

  • Node.js 20 or later
  • The ShadowGit app (0.3.4 or later for checkpoints, a release after 0.3.5 for the Lens, after 0.3.7 for its linked words, after 0.3.9 for the map, after 0.3.10 for the Lens's dependency facts, 0.3.11 or later for the project's rules, 0.3.13 or later for a session's unsaved edits in a snapshot as it ends and for the check of a checkpoint that finds nothing new, 0.4.0 or later for review comments and the docs pages of any range), tracking at least one project. Reading history works while the app is closed; sessions, checkpoints, the Lens, the map and review comments need it running.
  • Git on your PATH

Setup

Claude Code (one install for every project):

bash
claude mcp add --scope user shadowgit -- npx -y shadowgit-mcp-server

Cursor: in ~/.cursor/mcp.json:

json
{ "mcpServers": { "shadowgit": { "command": "npx", "args": ["-y", "shadowgit-mcp-server"] } } }

Claude Desktop: the same entry in ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

In Claude Code the server knows which project you are in. In Cursor and Claude Desktop, name the project ("in webshop") when ShadowGit tracks more than one.

What to ask

  • "What changed in the last hour?"
  • "When did the login page break?"
  • "Show me the history of Header.tsx"
  • "How is this project organised?"
  • "What depends on chargeCard?"
  • "Start a ShadowGit session for this refactor", then "Create a checkpoint: Fixed login redirect", then "End the ShadowGit session"
  • "Write the Lens words for this session"
  • "What does the billing area do?"
  • "Document this project in ShadowGit"
  • "Address my ShadowGit review comments"

Tools

ToolDoes
list_reposLists tracked projects, the current one, their last snapshot and any active session
git_commandRuns a read-only git command (log, diff, show, blame, …) on the snapshot history
get_mapGives how the project is organised: its areas, layers and the links between them, or one area, the project's rules and its docs pages' summaries
get_code_contextGives where files and symbols sit, what depends on them, where a change to them lands, the project's rules for them and their areas' docs pages' summaries
start_sessionPauses automatic snapshots while the assistant edits
checkpointSaves the current changes as one named checkpoint, following .shadowgit-ignore, then checks it against the project's .shadowgit-rules
end_sessionResumes automatic snapshots
get_lensReads ShadowGit's Lens of a range, by default the latest AI session, with what it makes depend on what and the links a rule names
write_lens_wordsWrites the Lens's words for that range, kept in the history, with links, a why and an excerpt
get_docsReads the project's docs pages, one per map area plus an Overview: by default those the latest AI session changed that need words, each with its facts, its words so far and what changed since them
write_docsWrites pages' words, with links to symbols and areas, or keeps words that still hold; kept in the history, never in the project's files
get_review_commentsReads the review comments you sent from ShadowGit and haven't resolved, by Send, with their lines, words and replies
reply_to_review_commentReplies to one comment: ShadowGit shows the reply under it, with the snapshot that holds the change

The other tools work on the current project unless given repo.

Security

git_command runs only read-only subcommands, without a shell, and refuses the options that would read or write files outside the snapshot history (--output, --no-index, blame --contents and others, including abbreviated and bundled forms), the ones that run helper commands from git's configuration (--ext-diff, --textconv, --filters), and paths outside the project. Checkpoints are made by the ShadowGit app, only in projects you added to it. The server itself only talks to the ShadowGit app on localhost; what it returns goes to your assistant like any tool result.

The server trusts the project's .shadowgit.git history, which the ShadowGit app creates. Git honours that history's configuration, so a planted one can make git run programs, through the app's own snapshots as much as through this server. Don't add a project to ShadowGit that arrived with a .shadowgit.git folder you didn't create.

Configuration

VariableDefaultPurpose
SHADOWGIT_TIMEOUT10000Milliseconds a git command may run
SHADOWGIT_SESSION_APIhttp://localhost:45289/apiThe ShadowGit app's local API
SHADOWGIT_STORAGE_DIRplatform defaultWhere ShadowGit keeps repos.json

Development

bash
npm install
npm test        # builds, then runs the unit, integration and end-to-end tests
npm run eval    # runs the phrases from docs.shadowgit.com through Claude Code (spends tokens)

License

MIT

Usa el MCP de Shadowgit MCP con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Shadowgit MCP, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Shadowgit MCP como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Shadowgit MCP.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "shadowgit-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Shadowgit MCP y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Shadowgit MCP.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Shadowgit MCP para ayudarme con esta tarea?
Shadowgit MCP
Claro. Lo he leído.
Esto he encontrado usando Shadowgit MCP.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Shadowgit MCP?

Shadowgit MCP es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Shadowgit MCP con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Shadowgit MCP con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Shadowgit MCP con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Shadowgit MCP conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Shadowgit MCP a TypingMind?

Shadowgit MCP funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Shadowgit MCP en TypingMind?

Shadowgit MCP ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Shadowgit MCP?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Shadowgit MCP requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇