MCP API reference
Endpoint
URL: https://simplemem.com/api/mcp
Transport: Streamable HTTP and SSE
Auth: Authorization: Bearer YOUR_ACCESS_KEY
Supported JSON-RPC methods
initializereturns server metadata and tool capabilities.pingreturns an empty success result.tools/listreturns the memory tools below.tools/callexecutes a named memory tool.resources/listandprompts/listreturn empty lists.
Memory tools
add_memory
Saves one atomic memory. Requires content as a non-empty string.
get_memories
Returns all stored memories for the authenticated user.
delete_memory
Deletes a memory by ID. Requires id.
Example tool call
POST /api/mcp
Authorization: Bearer YOUR_ACCESS_KEY
Content-Type: application/json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_memory",
"arguments": {
"content": "User prefers TypeScript for new projects."
}
}
}