SlashML Memory — Claude Code MCP server: features and setup
SlashML (/ ml) Persistent Agent Memory, Redaction & Code Localization is an MCP server for Claude Code that keeps memory and searches code by behavior. It ranks likely files behind an error or stack trace.
no license ★ 1 updated 2026-11-14
claude mcp add --transport http ml-memory https://api.slashml.ai/mcpWhat SlashML (/ ml) Persistent Agent Memory, Redaction & Code Localization does
The server stores architectural decisions, preferences, and standing project rules for later sessions. Agents can add, retrieve, search, and remove memories, find functions by their runtime or architectural behavior, and rank files that may explain a symptom or stack trace.
It can mask sensitive text and set read-only or read-write access for individual agents. Lifecycle hooks capture new standing instructions and compare tool calls with active rules. A SlashML API key is required.
What it helps with
- carry project rules across sessions
- find functions from a description of their behavior
- rank files related to a stack trace
- mask sensitive text in stored memories
- set different access modes for agents
Example prompts for the agent
- Save this project rule: new API routes must require authentication.
- Find the function that retries a request after it fails.
- Use this stack trace to rank files that may contain the bug.
How to install SlashML (/ ml) Persistent Agent Memory, Redaction & Code Localization
Platform CLI: remote server
claude mcp add --transport http ml-memory https://api.slashml.ai/mcpPlatform CLI: remote server
codex mcp add slashml-ml-persistent-agent-memory-redaction-code-localization --url https://api.slashml.ai/mcpConfig file
{
"mcpServers": {
"slashml-ml-persistent-agent-memory-redaction-code-localization": {
"url": "https://api.slashml.ai/mcp"
}
}
}Config file
{
"servers": {
"slashml-ml-persistent-agent-memory-redaction-code-localization": {
"type": "http",
"url": "https://api.slashml.ai/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http slashml-ml-persistent-agent-memory-redaction-code-localization https://api.slashml.ai/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about SlashML (/ ml) Persistent Agent Memory, Redaction & Code Localization
How do I install SlashML Memory in Claude Code?
Run claude mcp add --transport http ml-memory https://api.slashml.ai/mcp. The server also requires a SlashML API key.
What does SlashML Memory do?
It carries project decisions and rules across sessions, searches code by behavior, and ranks files related to an error. It also masks sensitive text and sets agent access modes.
What does SlashML Memory need to run?
A SlashML API key is required.