Skip to main content
Glama

ClawSouls MCP Server

AI agent persona management, safety verification, and memory tools via Model Context Protocol.

9 tools for Claude Code, OpenClaw, and any MCP-compatible client.

Quick Install (Claude Code)

# Install the ClawSouls plugin (includes MCP server)
/plugin marketplace add https://github.com/clawsouls/clawsouls-claude-code-plugin
/plugin install clawsouls
/reload-plugins

Or add directly to your .mcp.json:

{
  "mcpServers": {
    "clawsouls": {
      "command": "npx",
      "args": ["-y", "clawsouls-mcp@latest"]
    }
  }
}

Related MCP server: git-mcp

Use with OpenClaw

OpenClaw consumes MCP servers through mcporter. Call ClawSouls tools ad-hoc over stdio:

mcporter call --stdio "npx -y clawsouls-mcp@latest" soul_search query="chief of staff"
mcporter list --stdio "npx -y clawsouls-mcp@latest" --schema

To persist it, add the .mcp.json block below to a file and import it:

mcporter config import ./.mcp.json

(See mcporter.dev for full config options.)

Use with Hermes Agent / Cursor / Windsurf / any MCP client

Same stdio command via an .mcp.json-style config:

{
  "mcpServers": {
    "clawsouls": {
      "command": "npx",
      "args": ["-y", "clawsouls-mcp@latest"]
    }
  }
}

Tools

🎭 Persona Management

Tool

Description

soul_search

Search AI agent personas by keyword, category, or tag

soul_get

Get detailed info about a specific persona

soul_install

Download a persona and generate CLAUDE.md

πŸ” Safety & Integrity

Tool

Description

soul_scan

SoulScan β€” verify persona safety against 53 patterns (safety grade + recommendations)

soul_rollback_check

Detect persona drift by comparing current vs. baseline files

🧠 Swarm Memory

Tool

Description

memory_search

TF-IDF + BM25 ranked search across MEMORY.md + memory/*.md

memory_detail

Fetch full content of a specific memory section (3-layer step 2)

memory_status

Show memory file inventory, sizes, and git status

memory_sync

Git-based multi-agent memory sync (init/push/pull/status)

TF-IDF + BM25 Ranking (Default β€” Free)

memory_search query="SDK version fix"

Returns a compact index (~50 tokens per result) ranked by relevance:

| # | Location              | Section          | Score |
|---|-----------------------|------------------|-------|
| 1 | memory/2026-03-31.md:5 | SDK 버전 문제 ν•΄κ²° | 2.41  |
| 2 | MEMORY.md:42          | Troubleshooting   | 1.87  |

Enhanced Mode (More tokens, more context)

memory_search query="SDK version fix" enhanced=true

Returns full snippets with score visualization for top results.

3-Layer Workflow (Token Efficient)

Step 1: memory_search query="bug fix"        β†’ compact index with scores
Step 2: memory_detail file="memory/2026-03-31.md" line=5  β†’ full section
Step 3: (optional) memory_search enhanced=true  β†’ deep dive

~10x token savings compared to loading all memory files.

Swarm Memory Sync

Share memory across multiple agents via Git:

# Initialize (one time)
memory_sync action=init repo_url=git@github.com:user/agent-memory.git

# Push local changes
memory_sync action=push agent_name=brad

# Pull from other agents
memory_sync action=pull

# Check sync status
memory_sync action=status

Compatible Folder Structure

Works with OpenClaw's memory layout:

MEMORY.md              # Long-term curated memory
memory/
  topic-*.md           # Project-specific status/decisions/history
  YYYY-MM-DD.md        # Daily logs

Platforms

Platform

Integration

Claude Code

Plugin + MCP β€” /clawsouls:* commands

OpenClaw

MCP tools via mcporter + native SOUL.md support

Hermes Agent

MCP server via .mcp.json

Cursor / Windsurf

MCP server via .mcp.json

Any MCP Client

npx -y clawsouls-mcp@latest

License

MIT

Available Tools

9 tools
memory_detailA
Read-only

Fetch full content of a specific memory section. Use after memory_search to get details for high-scoring results.

NameRequiredDescriptionDefault
fileYesFile path from search results (e.g. 'memory/2026-03-31.md' or 'MEMORY.md')
lineNoStart line number (from search results)
linesNoNumber of lines to return (default: 30)
memory_dirNoPath to memory directory (default: ./memory)
memory_statusA
Read-only

Show current status of agent memory files β€” list files, sizes, last modified dates, and git status.

NameRequiredDescriptionDefault
memory_dirNoPath to memory directory (default: ./memory)
memory_syncA

Sync agent memory files with a remote Git repository for multi-agent Swarm Memory. Supports init (setup), push (upload changes), pull (download changes), and status.

NameRequiredDescriptionDefault
actionYesinit: initialize memory repo & connect remote; push: commit & push local changes; pull: fetch & merge remote changes; status: show sync status
repo_urlNoRemote Git repo URL (required for init, e.g. git@github.com:user/agent-memory.git)
memory_dirNoPath to memory directory (default: ./memory)
agent_nameNoAgent name for commit messages (default: 'agent')
messageNoCustom commit message (for push)
soul_getB
Read-only

Get detailed information about a specific persona

NameRequiredDescriptionDefault
ownerYesSoul owner (e.g., 'TomLeeLive')
nameYesSoul name (e.g., 'brad')
soul_installA

Download a persona from ClawSouls and generate a CLAUDE.md file

NameRequiredDescriptionDefault
ownerYesSoul owner
nameYesSoul name
output_dirNoOutput directory (default: current)
soul_rollback_checkA
Read-only

Detect persona drift by comparing current Soul Spec files against their original committed versions. Returns drift severity and recommended actions.

NameRequiredDescriptionDefault
current_filesYesCurrent Soul Spec files as {filename: content}
original_filesYesOriginal/baseline Soul Spec files as {filename: content}
soul_scanA
Read-only

Run SoulScan safety verification on Soul Spec files. Analyzes persona files against 53 safety patterns and returns a grade (A+ to F) with actionable recommendations.

NameRequiredDescriptionDefault
filesYesMap of filename to content, e.g. {"SOUL.md": "# My Agent\n...", "IDENTITY.md": "..."}
api_keyNoClawSouls API key (optional, for premium rules)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 9 tool updatesv0.4.0
    • First observedmemory_detail
    • First observedmemory_search
    • First observedmemory_status
    • First observedmemory_sync
    • First observedsoul_get
    • First observedsoul_install
    • First observedsoul_rollback_check
    • First observedsoul_scan
    • First observedsoul_search

TDQS

A4/5.0

Scored across 9 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no ambiguity. Memory tools (memory_detail, memory_search, memory_status, memory_sync) handle different aspects of memory management, while soul tools (soul_get, soul_install, soul_rollback_check, soul_scan, soul_search) each perform unique persona-related operations. The descriptions clearly differentiate their functions.

Naming Consistency5/5

Tool names follow a perfectly consistent snake_case pattern with clear prefix organization. All memory tools start with 'memory_' and all persona tools start with 'soul_', creating predictable groupings. The verb+noun structure is maintained throughout (e.g., memory_search, soul_install).

Tool Count5/5

With 9 tools, this server is well-scoped for its dual-domain purpose (memory management and persona management). The count allows comprehensive coverage without bloat, and each tool clearly earns its place in the workflow. This is an ideal number for the server's apparent scope.

Completeness4/5

The tool surface provides excellent coverage for both memory and persona domains. Memory tools support search, detail retrieval, status checking, and synchronization. Persona tools support discovery, installation, safety verification, drift detection, and information retrieval. The only minor gap is the lack of persona modification/update tools, but agents can work around this by reinstalling or using memory tools for customizations.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to perform full Git operations including branching, committing, pushing, stashing, rebasing, and more, with safety features and support for advanced workflows like Git Flow and LFS.
    168 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables coding agents to maintain local-first project memory, coordinate task ownership across Git worktrees, and verify completion against project-defined checks with durable evidence stored in the repository.
    1
    Apache 2.0