Skip to main content

Connection

These are the only variables most users need: When AMFS_HTTP_URL is set, the MCP server and CLI route all memory operations through the authenticated HTTP API. The Python and TypeScript SDKs do not read these variables — pass an HttpAdapter explicitly instead, as described in Configuration.

Agent Identity

Identity is auto-detected from the IDE environment (Cursor, Claude Code), and those signals take priority over AMFS_AGENT_ID — so the variable only applies in headless environments like CI or deploy scripts. To name an agent running inside an IDE, call amfs_set_identity.

MCP Server


Pro Features


Auto-Detection (Read-Only)

These are set by IDEs and read by SenseLab for agent identity detection. You don’t set these yourself.

Self-Hosted Only

These variables are for self-hosted SenseLab deployments. You don’t need them on the managed platform.