MCP Overview

Remb's MCP server gives your AI a shared context graph — memories, decisions, feature docs, and conversation history — that grows with every session.

What is MCP?

The Model Context Protocol (MCP) is an open standard for connecting AI assistants to external tools and data sources. Remb implements an MCP server that exposes 12 core MCP tools by default: session start, memory read/write, conversation logging/search, project setup, scan trigger/status, and tool discovery. The full catalog contains 93 active tools, but specialized workflows stay discoverable until an agent needs them.

The key idea: your project's context is not a snapshot of its source files — it's a graph that your AI builds and curates over every session. Memories capture why decisions were made. Feature notes document what each part does. Conversation logs record what was accomplished. Scanning adds structural breadth — but it's optional and additive, not the foundation.

Setup

Via CLI (recommended)

The CLI includes a built-in MCP proxy that connects via stdio:

remb serve

This proxies JSON-RPC messages between stdio and the Remb HTTP API. No tool definitions are hardcoded — the CLI dynamically forwards the tiered server catalog and lets tool_discover reveal advanced workflows.

Direct HTTP

You can also connect directly to the HTTP MCP endpoint:

POST https://www.useremb.com/api/mcp
Authorization: Bearer remb_your_api_key
Content-Type: application/json

{ "jsonrpc": "2.0", "method": "tools/list", "id": 1 }

IDE Configuration

VS Code (GitHub Copilot)

.vscode/mcp.json
{
  "servers": {
    "remb": {
      "command": "remb",
      "args": ["serve"],
      "env": {}
    }
  }
}

Claude Code

.mcp.json
{
  "mcpServers": {
    "remb": {
      "command": "remb",
      "args": ["serve"]
    }
  }
}

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "remb": {
      "command": "remb",
      "args": ["serve"]
    }
  }
}

How It Works

  1. Your IDE starts the MCP server via remb serve
  2. The AI assistant discovers available tools via tools/list
  3. At the start of work, the AI calls remb__session_start with a task hint
  4. The CLI proxies the request to the Remb API and returns the result
  5. All data is persisted server-side across sessions, IDEs, and machines

Tool Budget

Remb returns the core tool surface by default. For focused task-specific lists, pass _meta.tool_budget on tools/list to get the top-K most relevant tools for the current task. Optionally pass _meta.context_hint with a short description of what you’re working on to score relevance. Budgeted lists always keep session_start and tool_discover so the agent can bootstrap context and find specialized tools. Pass _meta.include_discoverable=true or _meta.include_advanced=true when you explicitly want broader listings.

tools/list with budget
{
  "method": "tools/list",
  "params": {
    "_meta": {
      "tool_budget": 20,
      "context_hint": "refactor authentication"
    }
  }
}

Tool Categories

Memory

Create, search, update, promote, and manage persistent memories. Includes memory_get for JIT body fetching and the 'example' category for canonical worked examples.

Conversations

Log work, load history (with compact mode for long-running agents), semantic search. Domain-aware summariser supports coding / research / support / ops / general agents.

Projects

CRUD for projects, including project_init_local for lightweight no-repo projects.

Context

Save, retrieve, and bundle project context. session_start returns XML-structured output with context_budget hint and lean mode for JIT loading.

Scans

Trigger scans, check progress, analyze diffs.

Plans

Manage multi-phase plans with IDE sync.

Graph

Traverse knowledge graphs and code dependency graphs.

Features

List, inspect, update, and delete features.

Cross-Project

Search patterns across all projects.

Repo

Read files and browse trees from GitHub.

Audit

Trigger and inspect AI code audits.

Action Log

Multi-agent coordination — log actions and query what other agents did.

Sessions

Checkpoints, file history, timelines.

Personal

Personal-memory primitives — focus, blockers, lessons, recurring problems, people, decision conflicts, weekly brief.

Profile

Cross-project user profile — name, role, stack, never-do.

Skills

Procedural memory — search, load, record outcomes, self-heal reusable skills.

Scratchpad

Session-scoped file-based context offload — keep large outputs out of the prompt.

Briefing

Typed session-handoff payloads (focus, decisions, blockers, files) for next session.

Telemetry

Memory feedback (success/rejection/undo) and quarantine candidates for context poisoning.

Full reference

See the Tools Reference for the complete list of 93 MCP-exposed tools (93 active, 0 deprecated aliases) with parameters and descriptions. Current exposure tiers: 12 core by default, 66 discoverable, 15 advanced.