# The MCP server

- **Endpoint:** add `https://<your Remiq address>/mcp` as a custom connector.
- **Sign-in:** OAuth 2.1 (PKCE). The client registers itself, the user signs in once, and the client gets a 1-hour token for one memory space plus a refresh token.
- **Tools:** the same as the local MCP server (`mcp_server.py`): `prism_context`, `prism_add`, `prism_retrieve`, `prism_state`, `prism_timeline`, `prism_decisions`, `prism_people`, `prism_events`, `prism_map`, `prism_feedback`. No bulk delete.
- **Disconnect:** the Console → Agents lists every app that signed in. Disconnecting one ends its refresh token; its current access token ends within the hour.
