Blackboard MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Blackboard MCPclaim the file src/main.py"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Blackboard MCP
The Problem
You open 3 Claude Code windows to work on different tasks. Suddenly:
File conflict — Two sessions edit the same file simultaneously, one overwrites the other
Build collision — Two sessions run
./gradlewat the same time, Gradle daemons pile up, OOMDuplicated work — One session fixes a bug that another session already fixed yesterday
No visibility — You can't see what other sessions are doing
Blackboard solves this. It acts as a registry center where every session registers, claims files, acquires build locks, and shares knowledge.
Related MCP server: claude-context-sync
Features
Feature | Description |
Session Registry | Auto-register via SessionStart hook, heartbeat monitoring, stale cleanup |
File Conflict Detection | Claim files before editing, detect conflicts across sessions |
Build Lock Coordination | Only one session compiles at a time, with 10min timeout |
Shared Knowledge Base | Share decisions, bug patterns, and knowledge with confidence scoring + decay |
Real-time Dashboard | tkinter GUI with session list, sorting, health checks, and knowledge viewer |
Crash Recovery | 3-level state recovery: state.json → .bak → events.log replay |
MCP Restart Resilient | Sessions survive MCP server restarts, no data loss |
Quick Start
1. Clone & Install
git clone https://github.com/RD2100/blackboard-mcp.git
cd blackboard-mcp
pip install mcp # only dependency2. Register with Claude Code
claude mcp add -s user blackboard -- python "/path/to/blackboard-mcp/server.py"3. Add SessionStart Hook
Add to ~/.claude/settings.json:
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "bash \"/path/to/blackboard-mcp/scripts/bb-hook-session-start.sh\""
}
]
}
]
}
}4. Add Rules (Recommended)
Copy rules/blackboard-protocol.md to your project's .claude/rules/ or ~/.claude/rules/.
5. Open Dashboard (Optional)
Windows: Double-click scripts/bb-monitor.bat
macOS/Linux:
python scripts/bb-monitor-gui.py /path/to/your/projectMCP Tools
Session Management
Tool | Description |
| Register/update session |
| Unregister session, release all files |
| Refresh session heartbeat |
| View full system status with health checks |
| List files claimed by a session |
File Coordination
Tool | Description |
| Claim file ownership (returns CONFLICT/CLAIMED/OWN) |
| Release file ownership |
| Check if files are claimed by others |
Build Coordination
Tool | Description |
| Acquire build lock (returns ACQUIRED/CONFLICT) |
| Release build lock |
Knowledge Management
Tool | Description |
| Share knowledge entry (deduped by fingerprint) |
| Search knowledge base |
| Validate/refute knowledge (affects confidence) |
| Get recent knowledge, decisions, and bug patterns |
| Record architecture/design decision |
| Report bug pattern / pitfall |
| Log custom event |
Architecture
Session A ──┐
├──▶ MCP Server (blackboard) ──▶ state.json (disk)
Session B ──┤ │
│ ┌────┴────┐
Session C ──┘ │ Cleanup │ 60s stale cleanup thread
│ Decay │ hourly knowledge confidence decay
│ Reload │ detect hook-written state changes
└─────────┘
Dashboard ──▶ reads state.json directly (2s refresh)Knowledge Lifecycle
Share (conf=0.5) → Validate confirmed (+0.2) → ... → conf ≥ 0.8 → ★ HIGH CONFIDENCE
→ Validate refuted (-0.5) → ... → conf ≤ 0.2 → archived
→ 30 days no reference → confidence decays (half-life)
→ 60 days no reference → archivedConfiguration
Parameter | Default | Description |
| 30 | Minutes before inactive session is marked stale |
| 10 | Minutes before build lock auto-releases |
| 30 | Days before knowledge confidence decays by half |
| 60 | Days before knowledge is archived |
Privacy
All data is stored locally in .claude/blackboard/ within your project directory. No data is sent externally. The following files should NOT be committed to version control:
state.json/state.json.bak— runtime session stateevents.log— event history
Comparison with Alternatives
Feature | Blackboard | ||
Session registry | ✅ | ✅ | ✅ |
File conflict detection | ✅ | ❌ | ❌ |
Build lock coordination | ✅ | ❌ | ❌ |
Shared knowledge base | ✅ | ❌ | ❌ |
Confidence scoring + decay | ✅ | ❌ | ❌ |
Real-time dashboard | ✅ | ❌ | ❌ |
Crash recovery | ✅ | ❌ | ❌ |
MCP restart resilient | ✅ | ❌ | ❌ |
Related
anthropics/claude-code#24798 — Inter-session communication for multi-Claude workflows
anthropics/claude-code#47997 — Multi-session coordination feature request
Claude Code Agent Teams — Official in-process multi-agent (single session)
License
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RD2100/blackboard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server