Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@IMS MCP Serversearch my memories for the project requirements we discussed last session"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
IMS MCP Server
MCP server that exposes the Integrated Memory System (IMS) as tools via the Model Context Protocol Python SDK.
It wraps the existing IMS HTTP backend (session-memory, memory-core, context-rag) and makes those capabilities available to MCP-aware clients (e.g. mcphub, Warp, VS Code, LibreChat).
Prerequisites
Python 3.10+
An IMS backend running somewhere reachable (FastAPI/Uvicorn service), e.g.:
http://localhost:8000, orhttp://ims.delongpa.com
The
integrated-memory-systemrepo checked out on disk in this layout (relative to this project):
server.py imports IMSClient from skills/integrated-memory-system/app/ims_client.py
using a relative path; if your layout is different, adjust server.py accordingly.
Installation (venv + pip)
From the ims-mcp directory:
This installs the official MCP Python SDK (mcp[cli]).
Configuration
The MCP server talks to IMS via environment variables:
IMS_BASE_URL(required)Base URL of the IMS HTTP service, e.g.
http://localhost:8000orhttps://ims.delongpa.com.
IMS_HTTP_TIMEOUT(optional, default5.0seconds)IMS_CLIENT_NAME(optional, default"ims-mcp")
Example:
Running the MCP server locally
With the venv activated and IMS_BASE_URL set:
The server runs over stdio, which is what MCP clients expect when they spawn it as a subprocess.
mcphub configuration example
To use this server from mcphub on a host where you cloned this repo to
/opt/mcps/ims-mcp and created the venv as above, add an entry like:
Adjust paths and IMS_BASE_URL to match your environment.
Exposed tools
The MCP server exposes the following tools (namespaces follow the IMS service names):
ims.context-rag.context_searchWrapper over
POST /context/search.
ims.memory-core.store_memoryWrapper over
POST /memories/store.
ims.memory-core.find_memoriesWrapper over
POST /memories/search.
ims.session-memory.auto_sessionWrapper over
POST /sessions/auto.
ims.session-memory.continue_sessionWrapper over
POST /sessions/continue.
ims.session-memory.wrap_sessionWrapper over
POST /sessions/wrap.
ims.session-memory.list_open_sessionsWrapper over
POST /sessions/list_open.
ims.session-memory.resume_sessionWrapper over
POST /sessions/resume.
For detailed behavior of these endpoints, see spec/API_ENDPOINTS.md in the
integrated-memory-system repo and AGENTS.md in this repo for the IMS
agent protocol.