Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP2_DB_PATHNoPath to the SQLite knowledge database. Defaults to ~/.mcp2-memory/knowledge.db on Linux/macOS or %USERPROFILE%\.mcp2-memory\knowledge.db on Windows. Can also be configured with the --db option.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Use search before debugging errors, scanning configs, or authoring docs from scratch. Use execute (batch ops[]) for files (doc.create, md.section, yaml.patch, json.patch): mcp2-core only writes .yaml/.yml and .md on disk (.json/.mdc inputs convert to .yaml). Pass workspace_root if your client does not expose MCP roots.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}
extensions
{
  "io.modelcontextprotocol/skills": {
    "directoryRead": true
  }
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchC

Compact query across project/business/architecture memory, cross-project code knowledge, templates, known projects, or execute capabilities.

executeB

Execute batched operations (doc.create, md.section, yaml.patch, json.patch writing only .yaml/.yml and .md), project memory, global rules, code knowledge links, harness config, or embeddings reindex. Call search(target='capabilities') for full op schemas.

Prompts

Interactive templates invoked by user choice

NameDescription
contextLoad active project decisions, stack, and relevant code knowledge via mcp2-core.
setupRun onboarding on the active repository and persist docs/extensions/auto-capture prefs.
savePersist a business/architecture decision or verified bugfix into shared SQLite memory.
docGenerate or partially update .yaml/.yml and .md files via templates, AST patches, and Markdown section patches.

Resources

Contextual data attached and managed by the client

NameDescription
memory-indexCompact index of projects, active decisions, and top reusable knowledge.
templates-catalogAvailable Eta templates (render `.yaml`/`.yml` natively or `.md` documentation).
memory-rulesProject-independent global rules applied across all repositories and harnesses.
memory-schemaSQLite tables, foreign keys, knowledge_links graph relations, and per-harness taxonomy.
mcp2-coreToken-saving YAML and Markdown workflow (.yaml/.yml and .md; .json/.mdc -> .yaml), global rules, and cross-project SQLite FTS5 memory via mcp2-core.

TDQS

C2.9/5.0

Scored across 2 tools

Disambiguation3/5

The read/write split is clear in principle (search queries, execute mutates), but both tools span an enormous shared domain surface — project/business/architecture memory, code knowledge, templates, known projects, and capabilities — so choosing the right target is ambiguous. The self-referential hint to call search(target='capabilities') to discover execute's schemas shows the boundary between the two is not self-evident.

Naming Consistency4/5

Both names are bare verbs in the same lowercase style, so the convention is consistent even if it is not a verb_noun pattern. Minor deviation only: neither name conveys its object/target, which is unusual but internally uniform.

Tool Count2/5

Two tools are being asked to cover memory, code knowledge, templates, project registries, harness config, and embeddings — a very wide surface collapsed into two mega-tools. The granularity is too coarse for the apparent scope, forcing callers to rely on opaque target/op parameters.

Completeness2/5

A generic search plus a generic execute theoretically span read and write, but there are no explicit list/get/delete lifecycle operations, and execute's schemas are only discoverable indirectly through a second search call. Agents will hit dead ends or trial-and-error on operations not enumerated in the descriptions.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues