Git Fabric Chat

v1.0.0Knowledge & Memorystable

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

electronmcpmcp-clientmodel-context-protocol
Share:
243
Stars
0
Downloads
0
Weekly
0/5

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

Create and persist chat sessions with message history on GitHub.
Search past conversations semantically to find relevant context.
Manage multi-turn conversations with external memory injection.
git-fabric

Maintainer

LicenseApache-2.0
Languagehtml
Versionv1.0.0
UpdatedMay 4, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx chat

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 --private
2

Generate 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.

3

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"
      }
    }
  }
}
4

Restart Claude Desktop

Fully quit and relaunch Claude Desktop to start the chat session management server.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "chat": { "command": "npx", "args": ["-y", "chat"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides