Skip to main content
Loom docs

Overview

VS Code extension for MCP context management and multi-platform config sync.

Loom Banner

Loom - MCP Context Manager for VS Code

Weaving context for AI - Unified MCP hub management across VS Code, Antigravity, Gemini, Claude, Codex, and Kilocode.

Overview

Loom is a VS Code extension that manages MCP (Model Context Protocol) server configurations across multiple AI coding assistant platforms. It provides:

  • Multi-platform sync: Keep MCP configs consistent across 6 platforms
  • Hub integration: Connect to centralized MCP gateway
  • Skills registry: Browse and manage agent skills
  • Agent context: Persistent memory across sessions
  • Server health: Monitor MCP server status

Features

Platform Configuration Management (v0.7.0)

Manage MCP configurations for multiple AI assistants from a single interface:

PlatformConfig FormatStatus
VS CodeJSONSupported
AntigravityJSONSupported
GeminiJSONSupported
ClaudeJSONSupported
CodexTOMLSupported
KilocodeTOMLSupported

Platform Commands:

  • Loom: Show Platform Configs - View sync status for all platforms
  • Loom: Sync Platform Config - Sync a single platform
  • Loom: Sync All Platforms - Sync all enabled platforms
  • Loom: Show Sync Dashboard - Visual sync status grid
  • Loom: Diff Platform Config - Compare repo vs home configs

MCP Hub Integration

Connect to centralized MCP gateway for server aggregation:

  • Hub Overview: Registry metadata and server count
  • Server Status: Live health polling
  • Routing: Hub vs local server routing

Skills Registry

Browse and manage agent skills:

  • Category filtering: Filter by kubernetes, gitops, etc.
  • Platform filtering: Show skills for specific platforms
  • Script execution: Run skill scripts from VS Code
  • Resource access: Open skill references and assets

Agent Context (Persistent Memory)

Track context across sessions with mcp-agent-context:

  • Sessions: Start/end agent work sessions
  • Context entries: Record decisions, findings, questions
  • Tasks: Track agent work items
  • Knowledge graph: Visual context relationships

Server Health Monitoring

Monitor MCP server health and performance:

  • Health dashboard: Per-server status
  • Metrics collection: Response times, error rates
  • Profile switching: Quick server set changes

Installation

From VSIX

# Build the extension
cd services/loom
npm install
npm run package

# Install in VS Code
code --install-extension loom-0.7.0.vsix

# Or in Antigravity
antigravity --install-extension loom-0.7.0.vsix

Development

cd services/loom
npm install
npm run watch

Press F5 to launch the Extension Development Host.

Configuration

Settings

{
  // Platform detection (auto | vscode | antigravity)
  "loom.platform": "auto",

  // Platforms to manage
  "loom.enabledPlatforms": ["vscode", "antigravity", "gemini", "claude"],

  // Auto-sync on startup
  "loom.syncOnStartup": false,

  // Sync status polling interval (ms)
  "loom.syncStatusPollingInterval": 60000,

  // MCP Hub URL
  "loom.hubUrl": "wss://mcp.flexinfer.ai/ws",

  // Hub profile
  "loom.hubProfile": "codex",

  // Drift detection behavior (off | prompt | auto)
  "loom.autoSyncOnDrift": "prompt",

  // Active server profile
  "loom.activeProfile": "full",

  // Custom server profiles
  "loom.profiles": {}
}

Server Profiles

Define custom server profiles for quick switching:

{
  "loom.profiles": {
    "minimal": {
      "servers": ["git", "filesystem"],
      "hubEnabled": false,
      "platforms": ["vscode"]
    },
    "k8s-ops": {
      "servers": ["k8s", "helm", "flux", "prometheus"],
      "hubEnabled": true,
      "platforms": ["vscode", "antigravity", "claude"]
    }
  }
}

Views

Loom adds these views to the Explorer sidebar:

ViewDescription
Loom PlatformsPlatform config sync status
Loom HubMCP hub overview
Loom ServersRunning MCP servers
Loom ToolsAvailable MCP tools
Loom SkillsSkills registry browser
Loom SecretsConfigured secrets
Loom Agent ContextSession context entries
Loom TasksAgent task tracking

Commands

Platform Management

CommandDescription
Loom: Show Platform ConfigsRefresh platform configs view
Loom: Sync Platform ConfigSync specific platform
Loom: Sync All PlatformsSync all enabled platforms
Loom: Diff Platform ConfigShow repo vs home diff
Loom: Open Platform ConfigOpen config in editor
Loom: Show Sync DashboardVisual sync status dashboard

Hub & Servers

CommandDescription
Loom: Refresh MCP Hub StatusPoll hub status
Loom: Check MCP Server HealthRun health checks
Loom: Show Server Health DashboardHealth metrics view
Loom: Switch Server ProfileChange active profile

Skills

CommandDescription
Loom: Refresh SkillsReload skills registry
Loom: Search SkillsSearch by name/category
Loom: Filter Skills by PlatformFilter by target platform
Loom: Show Skill DetailsView skill instructions
Loom: Run Skill ScriptExecute skill script

Agent Context

CommandDescription
Loom: Start Agent SessionBegin new session
Loom: End Agent SessionEnd current session
Loom: Add Context EntryRecord context
Loom: Recall ContextSearch past context
Loom: Show Knowledge GraphVisual context graph

Secrets

CommandDescription
Loom: List SecretsShow configured secrets
Loom: Set SecretAdd/update secret
Loom: Validate Config SecretsCheck for missing secrets

CLI Integration

Loom integrates with the loom CLI from loom-core:

# Check sync status
loom sync status

# Sync specific platform
loom sync vscode --regen
loom sync antigravity --regen
loom sync claude --regen

# Sync all platforms
for p in vscode antigravity codex claude gemini kilocode; do
  loom sync $p --regen
done

Architecture

services/
├── loom/           # VS Code extension (TypeScript)
│   ├── src/
│   │   ├── clients/        # API clients
│   │   ├── commands/       # Command handlers
│   │   ├── providers/      # Tree view providers
│   │   ├── managers/       # Background managers
│   │   ├── webviews/       # Webview panels
│   │   └── utils/          # Utilities
│   └── package.json
└── loom-core/      # Backend (Go)
    └── cmd/loom/   # CLI tool

Requirements

  • VS Code 1.80.0+
  • loom CLI from loom-core (for sync operations)
  • Node.js 18+ (for development)

License

MIT