Git Fabric Chat
An AI conversation management layer that enables creating chat sessions, persisting message history to GitHub, and performing semantic searches over past interactions. It supports multi-turn threading and context injection to integrate external memor
What is Git Fabric Chat?
Git Fabric Chat is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ai conversation management layer that enables creating chat sessions, persisting message history to github, and performing semantic searches over past interactions. it supports multi-turn threading an...
An AI conversation management layer that enables creating chat sessions, persisting message history to GitHub, and performing semantic searches over past interactions. It supports multi-turn threading and context injection to integrate external memor
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An AI conversation management layer that enables creating ch
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx chatConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Git Fabric Chat
Git Fabric Chat is an AI conversation management layer that persists chat sessions and message history to GitHub repositories, enabling multi-turn conversations with long-term memory that survives across sessions. It supports semantic search over past interactions so you can retrieve relevant context from previous conversations, and it allows external memory injection to augment ongoing threads with data from other sources. Developers and teams use it as a lightweight, Git-backed alternative to proprietary memory stores when they need auditable, version-controlled conversation history.
Prerequisites
- Node.js 18 or later installed
- A GitHub account and a personal access token with repository read/write permissions
- A GitHub repository to store chat history (can be private)
- An MCP-compatible client such as Claude Desktop
- npx available on your PATH
Create a GitHub repository for chat storage
Create a new GitHub repository (public or private) that will act as the persistent store for your conversation history. Note the owner and repository name.
# Using GitHub CLI
gh repo create my-chat-history --privateGenerate a GitHub personal access token
Go to GitHub Settings > Developer settings > Personal access tokens and create a token with 'repo' scope. This allows the server to read and write conversation files to your repository.
Add the server to your Claude Desktop config
Edit your claude_desktop_config.json to launch the Git Fabric Chat server via npx, passing your GitHub token and repository details as environment variables.
{
"mcpServers": {
"git-fabric-chat": {
"command": "npx",
"args": ["chat"],
"env": {
"GITHUB_TOKEN": "ghp_your_personal_access_token",
"GITHUB_REPO": "your-username/my-chat-history"
}
}
}
}Restart Claude Desktop
Fully quit and relaunch Claude Desktop to start the chat session management server.
Create your first persistent chat session
Ask the AI assistant to create a new chat session. The server will initialize a session file in your GitHub repository and return the session ID for future reference.
Git Fabric Chat Examples
Client configuration
Claude Desktop configuration for Git Fabric Chat with GitHub token and repository for session persistence.
{
"mcpServers": {
"git-fabric-chat": {
"command": "npx",
"args": ["chat"],
"env": {
"GITHUB_TOKEN": "ghp_your_personal_access_token",
"GITHUB_REPO": "your-username/my-chat-history"
}
}
}
}Prompts to try
Example prompts for creating sessions, searching history, and injecting context using Git Fabric Chat.
- "Create a new chat session called 'project-planning' and save it to GitHub"
- "Search my past conversations for any discussion about database schema design"
- "Load the conversation history from session 'api-review-2025-06' and summarize it"
- "Add this context to my current session: the deployment target is AWS us-east-1"
- "List all my saved chat sessions in the repository"Troubleshooting Git Fabric Chat
Authentication errors when saving sessions to GitHub
Verify your GITHUB_TOKEN has the 'repo' scope by checking Settings > Developer settings > Personal access tokens. Fine-grained tokens need explicit read/write permissions on the target repository's contents.
npx chat installs the wrong package
The package name 'chat' is generic and may conflict with other npm packages. If the wrong package installs, clone the repository from https://github.com/git-fabric/chat and run it directly with 'node index.js', then update your MCP config to use the absolute path.
Frequently Asked Questions about Git Fabric Chat
What is Git Fabric Chat?
Git Fabric Chat is a Model Context Protocol (MCP) server that ai conversation management layer that enables creating chat sessions, persisting message history to github, and performing semantic searches over past interactions. it supports multi-turn threading and context injection to integrate external memor It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Git Fabric Chat?
Follow the installation instructions on the Git Fabric Chat GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Git Fabric Chat?
Git Fabric Chat works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Git Fabric Chat free to use?
Yes, Git Fabric Chat is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Git Fabric Chat Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to Git Fabric Chat? Here are other popular knowledge & memory servers you can use with Claude, Cursor, and VS Code.
MemPalace
★ 52.6kA local AI memory system that stores all conversations verbatim and organizes them into navigable structures. It provides 19 MCP tools for AI assistants to search and retrieve past decisions, debugging sessions, and architecture debates automatically
Kratos
★ 25.7k🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
Context Mode
★ 15.4kAn MCP server that preserves LLM context by intercepting large data outputs and returning only concise summaries or relevant sections. It enables efficient sandboxed code execution, file processing, and documentation indexing across multiple programm
Memu
★ 13.7kMemory for 24/7 proactive agents like OpenClaw.
MemOS
★ 9.3kMemOS (Memory Operating System) is a memory management operating system designed for AI applications. Its goal is: to enable your AI system to have long-term memory like a human, not only remembering what users have said but also actively invoking, u
Everos
★ 5.4kBuild, evaluate, and integrate long-term memory for self-evolving agents.
Browse More Knowledge & Memory MCP Servers
Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Git Fabric Chat in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Git Fabric Chat?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.