# MiFactory

Store and retrieve persistent information across different sessions to maintain long-term context. Organize key data efficiently using a dedicated memory system. Enhance continuity by recalling speci…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add mifactory-bot/agent-memory

# Browse available tools
npx -y @smithery/cli@latest tool list mifactory-bot/agent-memory

# Get full schema for a tool
npx -y @smithery/cli@latest tool get mifactory-bot/agent-memory write

# Call a tool
npx -y @smithery/cli@latest tool call mifactory-bot/agent-memory write '{}'
```

## Direct MCP Connection

Endpoint: `https://agent-memory--mifactory-bot.run.tools`

**Required config:**
- `apikey` (header) — Your mifactory API key. Get one at https://mifactory-portal.vercel.app

## Tools (2)

- `write` — Save a value to agent memory
- `read` — Read a value from agent memory

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get mifactory-bot/agent-memory <tool-name>
```
