# synapse-layer

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y smithery mcp add synapselayer/synapse-layer

# Browse available tools
npx -y smithery tool list synapselayer/synapse-layer

# Get full schema for a tool
npx -y smithery tool get synapselayer/synapse-layer recall

# Call a tool
npx -y smithery tool call synapselayer/synapse-layer recall '{}'
```

## Direct MCP Connection

Endpoint: `https://synapse-layer--synapselayer.run.tools`

**Required config:**
- `connect_token` (query) — Your Synapse Connect Token. Get it at synapselayer.org → Dashboard → Connect.

**Optional config:**
- `agent_id` (query) — Identifier for the agent using the memory layer. Defaults to 'default'.

## Tools (5)

- `recall` — Deterministically retrieves past context and decisions. Supports routing modes (auto/temporal/semantic/priority/hybrid).
- `save_to_synapse` — Persists content with AES-256-GCM encryption at rest, PII redaction, and Trust Quotient scoring.
- `process_text` — Self-extracting memory engine. Scans free-form text for milestones, decisions, alerts. Never stores secrets, credential…
- `search` — Cross-agent memory search with full-text matching.
- `health_check` — Verify system availability. Public method — no auth required at the tool level.

```bash
# Get full input/output schema for a tool
npx -y smithery tool get synapselayer/synapse-layer <tool-name>
```
