STEM

Cursor integration

Connect STEM persistent memory to Cursor

Configure STEM in Cursor with a remote MCP URL and OAuth so your coding agent can recall saved project context.

Documentation reviewed . Host verification dates are listed separately.

Documented setup. Cursor documents remote Streamable HTTP, OAuth and dynamic client registration. This guide is based on that interface; a successful STEM save and recall in your environment is the connection check.

Add the remote MCP server

Merge this entry into your Cursor MCP configuration. Use .cursor/mcp.json for a project or ~/.cursor/mcp.json for your user configuration; preserve any existing server entries.

{
  "mcpServers": {
    "stem": {
      "url": "https://awase.dev/stem"
    }
  }
}
  1. Open Cursor's MCP settings and review the STEM server configuration.
  2. Use the OAuth sign-in action. Authorize the same STEM account used by your other assistants. The client can register automatically; no manually pasted account key is needed.
  3. Enable STEM tools for Cursor Agent and run the save and recall test.

Configuration locations and OAuth behavior are described in Cursor's MCP documentation. Your organization's server and tool policies still apply.

Useful coding context to share

Save a reviewed architectural decision, deployment constraint or next-step summary. Include the project name and the relevant date or version. Another assistant can recall that context without being given your entire repository. Saving context does not itself upload source files or grant repository access.

Verify your connection

Follow the three-step save and recall check. Confirm the tool result, then recall the same test note in a fresh conversation or another connected assistant. An opened link, installed configuration or assistant saying “connected” is not proof of a completed save.

Choose what gets remembered

Ask explicitly to save with remember. Optional automatic memory is a separate choice for each eligible OAuth connection in STEM Settings → Memory preferences. The agent must call memory_status with {} before an automatic save, require automaticSavingAllowed: true, and use remember_automatically. Host approvals still apply. Switching to manual does not erase existing memories.

STEM saves selected context supplied by a connected assistant. Connecting does not import earlier conversations, give access to other chats, or guarantee a save on every turn. Do not save passwords, tokens or secrets.