AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Theme Db Extension

mcp-beledarian-theme-db-extension · by Beledarian

This is an extension for mcp-local-memory, adding support for multiple, theme-separated memory databases to the mcp-local-memory server.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add mcp-beledarian-theme-db-extension

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-beledarian-theme-db-extension)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Theme Db Extension? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Theme-Separated Memory Databases Extension

This extension adds support for multiple, theme-separated memory databases to the mcp-local-memory server.

Features

  • Multiple Themes: Create separate memory databases for different projects, topics, or contexts
  • Theme Switching: Switch between themes to isolate memory contexts
  • Per-Theme Operations: Remember and recall memories within specific themes
  • Graph & Entity Support: Create entities, relations, and view knowledge graphs separated by theme
  • Theme Management: Create, list, switch, and delete themes

Installation

  1. Copy the theme-db-extension directory to your desired location
  2. Set the EXTENSIONS_PATH environment variable to point to the extension directory
  3. Restart the mcp-local-memory server
export EXTENSIONS_PATH=/path/to/theme-db-extension

Tools Provided

create_theme

Create a new theme-separated memory database. Parameters:

  • name (required): Name of the theme (e.g., 'work', 'personal', 'project-x')
  • description (optional): Description of what this theme is for

list_themes

List all available themes with their memory counts.

switch_theme

Switch to a different theme. All subsequent memory operations will use the selected theme's database. Parameters:

  • name (required): Name of the theme to switch to

delete_theme

Delete a theme and all its associated memories. Parameters:

  • name (required): Name of the theme to delete
  • confirm (required): Must be true to confirm deletion

get_current_theme

Get the name of the currently active theme.

remember_theme

Remember a fact in a specific theme's database. Includes full vector search and NLP extraction. Parameters:

  • text (required): The fact to remember
  • theme (optional): Theme name (uses current theme if not specified)
  • tags (optional): Array of tags for categorization

recall_theme

Recall memories from a specific theme's database using keyword search. Parameters:

  • query (required): Search query
  • theme (optional): Theme name (uses current theme if not specified)
  • limit (optional): Maximum number of results (default: 5)

recall_theme_semantic

Recall memories from a theme using semantic/vector search (requires embeddings). Parameters:

  • query (required): Search query for semantic search
  • theme (optional): Theme name (uses current theme if not specified)
  • limit (optional): Maximum number of results (default: 5)

create_entity_theme

Create an entity in a specific theme's database. Parameters:

  • name (required): Entity name
  • type (optional): Entity type (e.g., 'Person', 'Project', 'Concept')
  • observations (optional): Array of initial observations
  • theme (optional): Theme name (uses current theme if not specified)

create_relation_theme

Create a relation between two entities in a specific theme's database. Parameters:

  • source (required): Source entity name
  • target (required): Target entity name
  • relation (required): Relation type (e.g., 'works_for', 'knows', 'created')
  • theme (optional): Theme name (uses current theme if not specified)

read_graph_theme

Read the knowledge graph from a specific theme's database. Parameters:

  • center (optional): Optional entity name to center the graph on
  • depth (optional): Traversal depth (default: 1)
  • theme (optional): Theme name (uses current theme if not specified)

Usage Example

// Create a new theme for work-related memories
{
  "tool": "create_theme",
  "arguments": {
    "name": "work",
    "description": "Work-related memories and tasks"
  }
}

// Switch to the work theme
{
  "tool": "switch_theme",
  "arguments": {
    "name": "work"
  }
}

// Remember something in the work theme
{
  "tool": "remember_theme",
  "arguments": {
    "text": "Completed the quarterly report",
    "tags": ["work", "completed"]
  }
}

Storage Structure

Themes are stored in ~/.memory/themes/ directory:

~/.memory/themes/
├── .current_theme          # File storing active theme name
├── work/
│   ├── memory.db          # SQLite database for work theme
│   └── metadata.json     # Theme metadata

Notes

  • Theme names are sanitized (only alphanumeric, underscore, and hyphen characters allowed)
  • Switching themes only affects subsequent operations
  • The default theme is 'default' if no theme has been explicitly set
  • Each theme has its own isolated SQLite database with the same schema as the main memory database

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.