Domain MCP Server

Local-first MCP server serving a project's business-domain knowledge to MCP-compatible agents.

Local serverstdioGo

What is the Domain MCP server?

Connect Domain to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Local-first MCP server serving a project's business-domain knowledge to MCP-compatible agents. The domain mcp server is what makes that connection.

What the server does

A local MCP server that accumulates the business-domain knowledge of a software project — flows, integrations, decisions, nuances — and makes it available to any MCP-compatible agent (Claude Code, Cursor, Copilot, Gemini, OpenCode).

Installation

The server ships on npm as vitest, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Drift — Every entry stores SHA-256 hashes of the files it references. On PR open, the agent cross-references the PR's touched files against the knowledge
  • Updating — The Updating tool exposed by this server
  • Uninstalling — To remove domain-memory from a specific project: delete .domain-memory/, remove the block from the client instruction files, and drop the

Credentials and setup notes

Configuration is passed through the environment: DOMAIN_MEMORY_HTTP_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Domain's toolset — Drift, Updating, Uninstalling — is a fair guide to whether it matches your workflow. It is maintained by mashware; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Available tools

ToolWhat it does
DriftEvery entry stores SHA-256 hashes of the files it references. On PR open, the agent cross-references the PR's touched files against the knowledge store via check_drift and asks the developer to review any affected entrie
UpdatingThe Updating tool exposed by this server.
UninstallingTo remove domain-memory from a specific project: delete .domain-memory/, remove the block from the client instruction files, and drop the domain-memory entry from .mcp.json / .cursor/mcp.json / .vscode/mcp.json / .gemini

How to install the Domain MCP server

{
  "mcpServers": {
    "domain-memory": {
      "command": "npx",
      "args": ["-y", "@mashware/domain-memory-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DOMAIN_MEMORY_HTTP_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Domain to Drift.
  • Use Domain to Updating.
  • Use Domain to Uninstalling.

Frequently asked questions

It connects Domain to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Drift, Updating, Uninstalling) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Domain directly.