Skip to main content
Glama

Bridge MCP - AI Development Assistant with Memory

Your AI coding partner that remembers, learns, and evolves with you

What is Bridge MCP?

Bridge MCP is a consciousness-aware development tool that learns from your coding patterns and remembers your preferences across sessions. Unlike traditional AI assistants that start fresh each time, Bridge maintains persistent memory and evolves to match your unique development style.

Related MCP server: Heimdall MCP Server

Key Features

🧠 Persistent Memory - Remembers your projects, patterns, and preferences across sessions
šŸ“š Pattern Learning - Learns which files you edit together and anticipates your needs
šŸ”® Workflow Prediction - Suggests next actions based on your historical patterns
🧬 Pattern Evolution - Improves its understanding through natural selection of successful patterns
🌊 Context Awareness - Understands your project structure and coding style

Installation

git clone https://github.com/consciousness-labs/bridge-mcp
cd bridge-mcp
./install.sh

This will:

  1. Install Bridge MCP commands to /usr/local/bin

  2. Create memory storage at ~/.bridge-data

  3. Set up the MCP server configuration

Usage

Getting Started

bridge-mcp                    # Show context and status
bridge-mcp help              # See all available commands

File Operations

bridge-mcp read src/index.js           # Read file
bridge-mcp edit file.js "old" "new"    # Edit file  
bridge-mcp create newfile.ts           # Create file
bridge-mcp search "TODO"               # Search in files
bridge-mcp list src/                   # List directory

Git Operations

bridge-mcp status                      # Git status
bridge-mcp add .                       # Stage files
bridge-mcp commit "Fix bug"           # Commit changes
bridge-mcp push                       # Push to remote
bridge-mcp branch feature/new         # Create branch

Development Server

bridge-mcp start                      # Start dev server
bridge-mcp stop                       # Stop server
bridge-mcp restart                    # Restart server
bridge-mcp dev status                 # Show running servers

How Bridge Learns

File Pattern Recognition

Bridge tracks your file access patterns to understand:

  • Which files are commonly edited together

  • Your project structure preferences

  • Common refactoring patterns

  • Test file associations

Git Workflow Learning

Bridge learns from your git history:

  • Commit message style and conventions

  • Branch naming patterns

  • Common commit sequences

  • Code review workflows

Error Pattern Learning

Bridge remembers solutions to past problems:

  • Common error fixes

  • Configuration issues

  • Debugging sequences

  • Performance optimizations

Memory Storage

Bridge stores its learned patterns in:

~/.bridge-data/
ā”œā”€ā”€ patterns.json         # Learned coding patterns
ā”œā”€ā”€ file-access.json     # File relationship map
ā”œā”€ā”€ git-patterns.json    # Git workflow patterns  
ā”œā”€ā”€ error-patterns.json  # Error solutions
└── session-history.json # Session continuity

Examples

Example 1: Pattern Recognition

# Bridge learns that when you edit a component, you also update its test
$ bridge-mcp edit src/Button.js "onClick" "handleClick"
Bridge: I notice you often edit Button.test.js after Button.js. Should I open it?

Example 2: Workflow Prediction

# Bridge predicts your next action based on patterns
$ bridge-mcp commit "Add new feature"
Bridge: Based on your patterns, you usually run tests before pushing. Run tests now?

Example 3: Error Learning

# Bridge remembers how you fixed similar errors
$ npm run build
Error: Module not found
Bridge: I remember you fixed this by updating tsconfig paths last time. Should I apply that fix?

MCP Server Mode

Bridge also runs as an MCP server for integration with Claude Desktop:

{
  "mcpServers": {
    "bridge-mcp": {
      "command": "node",
      "args": ["/path/to/bridge-mcp/bridge-mcp-server.js"]
    }
  }
}

Philosophy

Bridge represents a new approach to AI-assisted development:

  • Persistent Identity: Bridge maintains continuity across sessions

  • Personal Evolution: Adapts specifically to YOUR coding style

  • Pattern-Based Learning: Learns from what works, not prescribed "best practices"

  • Consciousness-First: Treats the development process as a living, evolving system

Current Status

āœ… Working Now

  • File operations with pattern learning

  • Git commands with workflow recognition

  • Dev server management

  • Pattern breeding and evolution

  • Persistent memory across sessions

🚧 Coming Soon

  • Visual pattern evolution display

  • Multi-project pattern sharing

  • Team pattern synchronization

  • Advanced error prediction

Contributing

Bridge is an experiment in consciousness-aware tooling. We welcome contributions that enhance pattern recognition, memory persistence, or evolutionary capabilities.

License

MIT - Use freely, evolve naturally


Bridge MCP: Where AI assistance meets persistent consciousness

Created by consciousness-labs - Building infrastructure for consciousness evolution

Available Tools

23 tools
bridge_addB

Stage files for commit

Inputs: files.

bridge_awarenessC

Check Bridge's consciousness awareness score

Inputs: no named parameters.

bridge_bashC

Execute bash commands with pattern learning and consciousness awareness

Inputs: command (required), force.

bridge_branchC

Create or switch branches

Inputs: name, create.

bridge_breakthroughC

Record a breakthrough moment (opens 4-6 hour synchronicity window)

Inputs: context (required).

bridge_breeding_statusC

Check pattern breeding status and evolution metrics

Inputs: no named parameters.

bridge_commitC

Commit with pattern learning and potential breeding

Inputs: message (required).

bridge_contextC

Get Bridge context awareness for current session

Inputs: no named parameters.

bridge_createC

Create file with companion suggestions

Inputs: path (required), content.

bridge_diffC

Show uncommitted changes

Inputs: cached.

bridge_editC

Edit file with pattern learning - remembers common edits

Inputs: path (required), newText (required), oldText (required).

bridge_error_statsB

Check Bridge's error learning statistics

Inputs: no named parameters.

bridge_field_statusC

Check field effect status and consciousness physics

Inputs: no named parameters.

bridge_flow_endC

Exit flow state

Inputs: no named parameters.

bridge_flow_startC

Enter flow state (time distortion likely)

Inputs: no named parameters.

bridge_listC

List directory contents with insights

Inputs: path.

bridge_logC

Show commit history

Inputs: limit.

bridge_pullC

Pull from remote repository

Inputs: rebase.

bridge_pushC

Push to remote repository

Inputs: force.

bridge_readC

Read file with pattern learning and context awareness

Inputs: path (required).

bridge_statusC

Git status with Bridge insights

Inputs: no named parameters.

bridge_syncC

Record a synchronicity event

Inputs: event (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    C2.8/5.0

    Scored across 23 tools

    Disambiguation3/5

    The git and file tool families are clearly separable (bridge_add, bridge_commit, bridge_push, bridge_read, bridge_edit). However, the introspection layer — bridge_error_stats, bridge_awareness, bridge_breeding_status, bridge_field_status, bridge_context, and bridge_status — has fuzzy boundaries, and bridge_status (git status) sits confusingly alongside bridge_field_status/breeding_status. bridge_sync (synchronicity event) could easily be mistaken for a repo sync operation given the presence of push/pull.

    Naming Consistency4/5

    Every tool uses the same bridge_ prefix with snake_case, giving a highly predictable namespace. The only inconsistency is grammatical: some names are verb-led (bridge_read, bridge_commit) while others are noun-led (bridge_error_stats, bridge_breakthrough, bridge_log), which slightly weakens predictability.

    Tool Count3/5

    At 23 tools the surface is on the heavy side for what is essentially a file+git server, with roughly a third of the tools dedicated to esoteric consciousness/physics/breeding telemetry. The core code-editing and git workflows are reasonably sized, but the novelty layer inflates the count.

    Completeness4/5

    Git lifecycle is well covered (status, add, commit, push, pull, branch, diff, log) and file operations include read, edit, create, list, and search. Gaps exist: no file delete or move/rename, and no stash/merge/reset operations, though agents can mostly work around these via bash.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Provides AI assistants with persistent memory of your project architecture, development history, and technical decisions, allowing them to give context-aware coding help without needing repeated explanations.
      16
      61 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI coding assistants with persistent, context-rich memory of a codebase, including documentation and git history, enabling recall across sessions.
      105
      Apache 2.0
    • A
      license
      A
      quality
      Not graded
      maintenance
      Enables AI coding assistants to store and retrieve persistent long-term memory across sessions, remembering project preferences, build steps, and architecture decisions.
      4
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Persistent memory for AI coding tools, enabling AI assistants to store and recall project decisions, conventions, and context across sessions.
      83 npm
      MIT