Reference

Desktop Local API

The desktop local API is built on Fastify and binds to a random port on 127.0.0.1. Everything except /api/health is authenticated with x-memmy-local-token; due to EventSource limitations, SSE passes the same token via ?token=.

Main Endpoint Groups

GroupRepresentative Endpoints
App configurationPATCH /api/app/settings, GET/PUT /api/app/model-config, POST /api/app/model-config/test
AccountPOST /api/account/send-code, POST /api/account/verify-code, POST /api/account/logout
Integrations & channelsGET /api/v1/integrations/capabilities, POST /api/v1/channels/:provider/connect
Agent SourceGET /api/agent-sources, POST /api/agent-sources/scan, POST /api/agent-sources/:sourceId/skill
Local dataPOST /api/local-data/reveal, POST /api/local-data/export, DELETE /api/local-data
Memory proxy/api/v1/memory/*, /api/v1/panel/* (proxied to the Memory Runtime)
MCP bridgeGET/POST/DELETE /mcp/composio (separate x-memmy-mcp-token)

SSE Events

/api/events pushes: app.connected, app.heartbeat, agent_source.scan_progress, agent_source.scan_completed.

On this page