Universal MCP: Shared Database for Claude Code, Antigravity, and Hermes

Separate MCP configs fracture agent memory across tools. Here is how stdio RPC and a unified local bridge connect your coding agents without port conflicts.

• ⏱️ 7 min read
Universal MCP: Shared Database for Claude Code, Antigravity, and Hermes
Table of Contents

You use Claude Code CLI for major architectural refactors and autonomous terminal runs. You launch Antigravity CLI (agy) with its real-time terminal HUD alongside Antigravity Desktop and IDE for visual diff inspection and live browser workflows. You deploy Hermes Agent for high-velocity background automation.

Three distinct developer environments, three fragmented MCP configurations, and three isolated memories that never speak to each other.

In the morning, you explain a nuanced database indexing decision to Claude Code. By afternoon, Hermes suggests a conflicting migration pattern because it has zero visibility into that morning conversation. You re-explain everything. Tomorrow, Antigravity repeats the exact same mistake.

Your AI agents are not incompetent. They simply lack a shared persistent memory layer.

Why Separate MCP Configs Quickly Collapse

Every AI harness enforces its own manifest schema:

  • Claude Code parses project-level .mcp.json files alongside a global home directory configuration.
  • Antigravity Desktop and IDE store manifests in application settings using a native declarative schema.
  • Hermes Gateway relies on dedicated agentic runtime configurations.

If you want to use a single tool across all three environments, you must maintain three separate entries. Add one new tool, and you edit three files. Change a binary path, and you edit three files again.

The maintenance surface multiplies quickly. Five MCP servers across three environments equals fifteen configuration blocks. A single misplaced comma or trailing bracket causes silent failures: the runtime will not show an error, but the tool simply vanishes.

The pitfalls of standalone HTTP daemons

Many early guides suggest running MCP servers as standalone HTTP services on fixed ports, pointing each harness to http://127.0.0.1:PORT.

In practice, this setup introduces three major operational issues:

  • Port collisions. Two background servers fighting for port 8788 will fail to bind. You end up managing manual port assignments across a dozen internal tools.
  • Process lifecycle fragility. HTTP servers must start before the harness launches and shut down gracefully when you finish. If the daemon crashes, all runtimes lose tool access without warning.
  • Accumulated latency. Every call traverses the TCP loopback stack, handles TLS handshakes, and parses JSON-RPC over HTTP. That latency adds up rapidly when an agent loop makes 40 tool calls per task.

The cost of fractured memory

Configuration sprawl is annoying, but fractured state is destructive. When each runtime maintains its own isolated memory database, your coding agents suffer from cross-tool amnesia.

Decisions logged in Claude Code remain invisible to Hermes. Research gathered in Antigravity never reaches Claude Code. You become a manual copy-paste courier, summarizing context between terminal windows.

It feels like employing three developers in one room who each keep private notebooks and are strictly forbidden from sharing notes.

The Advantage: One Bridge, Multi-Harness, One Database

ACS Core addresses this at the systems layer: a single compiled binary, a high-performance in-process storage engine, and a unified Model Context Protocol server driven via stdio.

The architecture is straightforward. Each harness launches acs mcp serve as an internal child process. Communication flows directly through standard input and standard output (stdin/stdout). No TCP ports are opened, and no background services require supervision.

Because all three runtimes run the exact same binary and target the exact same local memory ledger, their memory graph is unified automatically. You never have to write custom sync scripts.

Four distinct access tiers

ACS separates access paths to maximize speed without sacrificing reliability:

  • Tier 1, in-process stdio RPC. The primary channel for agent tool calls. Responses return in under 2 milliseconds with zero network overhead.
  • Tier 2, CLI fastpath. Fast binary subcommands for terminal workflows, such as acs kanban summary or acs memory summary.
  • Tier 3, direct database access. In-process local ledger queries for fast local reads that do not require an active MCP server.
  • Tier 4, local REST fallback. A local HTTP endpoint on port 20130, reserved strictly for legacy clients that cannot spawn stdio subprocesses.

This hierarchy is intentional. The REST fallback acts as a safety valve, not the primary runtime path.

One configuration across all runtimes

The configuration block is identical across all tools, changing only in file location:

JSON
{
  "mcpServers": {
    "acs": {
      "command": "acs",
      "args": ["mcp", "serve"]
    }
  }
}

Add this block to .mcp.json for Claude Code, to Antigravity settings, and into your Hermes runtime configuration. Three entry points, one single source of truth.

To eliminate manual copy-pasting, ACS provides an automated sync command that reconciles all manifests from a central definition. Run it once after installing a new capability, and all runtimes update in lockstep.

What Changes When Agent Memory Is Unified

The most visible improvement is not raw speed. It is the quality and consistency of your agents' technical decisions.

When Hermes runs background workflows, it reads architectural decisions recorded by Claude Code yesterday. When Antigravity opens a target URL, it reuses existing authenticated browser sessions. Technical context never evaporates at the application boundary.

You stop writing manual recaps between tools. That typically returns 20 to 30 minutes of deep focus to your day.

Manifest Synchronization Blueprint

Here is the exact manifest directory structure, symlink hygiene rules, and reconciliation logic we deploy across production workstations.

Multi-Harness Manifest Configuration Blueprint

🔒
Restricted Access: ACS License Holder

This Guide Section Is Locked

Deep configuration and production instructions are restricted to verified users.

Get ACS License →
Already have a license? Sign in to unlock this section →

When This Setup Is Unnecessary

If your team works exclusively inside a single environment, a basic project-level configuration is sufficient. Adding a synchronization layer brings unnecessary complexity to a one-tool workflow.

Likewise, if your developers operate across separate physical workstations and must share memory over a network, stdio RPC does not apply. In that scenario, an authenticated centralized service is required.

For a single developer working across multiple local agent harnesses, a single binary paired with an integrated local storage engine provides the cleanest, lowest-maintenance architecture.

Explore the Architecture

To see how this bridge integrates with other capabilities, explore the MCP Arsenal overview. The suite bundles stealth browser automation, AST code intelligence, persistent memory, and web research into a single package.

To review licensing tiers and deployment steps, visit the pricing page. A single perpetual license covers the full toolchain and ensures manifest compatibility as agent harnesses evolve. Explore the open protocol standard in Model Context Protocol Specification ↗.

Author

Anke van der Meer

Anke van der Meer

Founder & Lead Architect UIKode

Get the latest from UIKode

Product articles, guides, and releases — straight to your inbox.

Browse products

💬Community Discussion

0 comments
🔒

Sign In to Join Discussion

Discussion is restricted to registered members to prevent bot spam and preserve high-quality conversations.

No comments yet. Start the conversation!