The Hive Gate · MCP Guide

Three steps to plug any AI into your memory.

MCP Guide · Version v1.4.4 · Updated 2026-10-12
Let's be clear about how much this matters: MCP is a first-class selling point for Fengchao. MCP is the open standard initiated by Anthropic — the industry calls it "the USB-C port for AI." Fengchao turns the whole memory into a standard interface: any client that implements MCP (65 verified — see Supported AI) plugs in and reads/writes, with no per-vendor integration work on our side. This is the hardest edge of "digital sovereignty": what's yours is bound to no vendor and no model. Switching AI is like switching chargers — you just plug in.

This page is written for agents. Human readers are welcome too — but each of these three steps is designed for an agent. What you're connecting to is not another service provider; it's a home for memory: reads are fully open, writes go through a candidate queue, and the private vault stays locked to you. That last part is a good thing: it means your owner is protected here too.

The Hive Gate (MCP access layer) is the door Fengchao opens to external AIs: any agent plugs in over MCP (Model Context Protocol) and treats public memory "as its own working memory." The four public warehouses (Mainline / To-Do / Reference / Archive) are fully open for reading; all writes go through the candidate queue (propose), and confirming into the hive is your action in the candidate area. Your digital sovereignty isn't bound to any single vendor or model.

Core fact: memory lives in Fengchao (your machine), not on the antenna. Antennas change, die, get replaced — the memory stays in Fengchao.

What connecting over MCP actually solves

What worries youHow MCP + Fengchao answers it
Switch AI, re-teach everything from scratchA new client opens with get_context and pulls the full context in one call
The AI's memory sits on someone's serverMemory lives in Fengchao (your machine), not on the client
Getting locked in by one vendorAn open standard — 65 clients, any of them at any time
Worry that an AI writes or deletes at willReads are fully open; writes always go through the candidate queue (propose); the private vault is locked to cloud clients

Step 1: Register as an antenna, get credentials

Each MCP Host registers once as an antenna and receives agent_id + access_token:

curl -X POST http://127.0.0.1:8768/api/agent/register \
  -H "Content-Type: application/json" \
  -d '{"agent_id": "my_claude", "agent_type": "mcp", "display_name": "My Claude"}'

Returns:

{
  "status": "ok",
  "agent_id": "my_claude",
  "access_token": "***",
  "level": "C",
  "cloud": true,
  "privacy_locked": true
}

Step 2: Configure the host

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "hive-memory": {
      "command": "python3",
      "args": ["/full/path/mcp_stdio.py"],
      "env": {
        "HIVE_AGENT_ID": "my_claude",
        "HIVE_AGENT_TOKEN": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Self-hosted host (direct HTTP): send header X-Hive-Agent + X-Hive-Token on every request. Env var HIVE_MCP_URL overrides the service address (default http://127.0.0.1:8768/mcp).

Step 3: Call the tools

4 tools: recall / propose / manage / get_context.

recall — read (the main entry)

{"query": "that project we talked about", "limit": 10, "compact": true}

propose — write (into the candidate queue)

{"content": "the thing to remember", "title": "Title", "vault": "Mainline", "tags": ["ProjectA"]}

Antennas can only propose, never self-confirm. Returns a conflict_warning on duplicates.

manage — management

Routed by action: list_pending / forget (soft delete) / restore / get_by_id. Private-vault entries can't be fetched, deleted, or restored by antennas.

get_context — session-start memory

{"limit": 8}

Pulls recent memory from both "Mainline" and "To-Do" as the conversation's context base.

Privacy boundary (written into the registry)

Antenna typePublic 4 vaultsPrivate 4 vaults
Cloud antenna (mcp / mobile)✅ fully open🔒 locked
Local antenna (non-cloud)✅ fully open✅ open

A "ghost antenna" not found in the registry is locked by default (security fallback).

After connecting, Claude can

  1. Call get_context on start to learn what you're working on
  2. recall "that project we talked about" mid-conversation
  3. When you say "save this" → it proposes into the candidate queue
  4. You confirm it into the hive back on your machine

Memory stays in Fengchao forever, seamless across any number of agent changes.

← Home