MCP server
SPM provides a streamable HTTP MCP server for agent memory:
https://api.spmos.ai/mcp
Authorization: Bearer spm_live_...
Tools
| Tool | What it does | Scope |
|---|---|---|
remember |
Store a memory (text or structured note) | memory:write |
recall |
Recall relevant memory for a query, evidence-gated | memory:read |
read |
Read back a specific memory by reference | memory:read |
delete |
Delete a memory or source | memory:delete |
status |
Tenant memory status and queue health | memory:read |
Client configuration
Codex (config.toml):
[mcp_servers.spm]
url = "https://api.spmos.ai/mcp"
headers = { Authorization = "Bearer spm_live_..." }
Claude Code / generic MCP JSON:
{
"mcpServers": {
"spm": {
"url": "https://api.spmos.ai/mcp",
"headers": { "Authorization": "Bearer spm_live_..." }
}
}
}
Notes
- The MCP server and proxy accept the same
spm_livekey. recallapplies the same evidence gate as the proxy path. Unsupported queries return an explicit UNKNOWN with a gate reason.deleteproduces the same signed purge receipts as the API.