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., "@Supermemory MCPshow my interactive memory graph"
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.
Supermemory MCP
Built with Codex. Review, test, and harden before using in production.
MCP server for rendering your Supermemory data as an interactive memory graph inside MCP-compatible clients (Claude, Inspector, and other MCP Apps hosts).
Demo Preview

What This Server Does
Exposes a tool:
show-memory-graphFetches document data from Supermemory on the server side
Returns an interactive widget powered by
@supermemory/memory-graphKeeps your Supermemory API key off the client
Architecture
Runtime:
mcp-useserverTool handler:
/index.tsWidget UI:
/resources/memory-graph/widget.tsxWidget props schema:
/resources/memory-graph/types.tsShared styles:
/resources/styles.css
Prerequisites
Node.js 18+
npm
Supermemory API key
Environment Variables
Required:
Optional:
Local Development
Open Inspector:
http://localhost:3000/inspector
Tool Contract
Tool Name
show-memory-graph
Inputs
page?: numberdefault1limit?: numberdefault250(max500)sort?: "createdAt" | "updatedAt"default"createdAt"order?: "asc" | "desc"default"desc"variant?: "console" | "consumer"default"consumer"showSpacesSelector?: booleandefault depends on variant
Behavior
Calls
POST /v3/documents/documentson SupermemoryReturns widget props (
documents,variant, etc.)Returns text output summary for the model
Handles API errors and surfaces readable error messages in the widget
Deploy
mcp-use deploys source from GitHub, but environment variables are attached to the deployment (not committed to the repo).
Before deploy:
Set
SUPERMEMORY_API_KEYin the deployment environmentSet
MCP_URLto the final public URLRedeploy/restart after environment changes
Deploy with environment variables (recommended)
Set env vars at deploy time:
Or use an env file:
If your deployment already exists, re-running deploy updates code from GitHub and keeps/updates deployment env vars based on your flags/dashboard settings.
Using with Claude
Deploy this MCP server
Add the MCP server URL in Claude MCP settings
Call the tool:
show-memory-graph
Important:
Do not put
SUPERMEMORY_API_KEYinto Claude connector fieldsThe key belongs only in the MCP server environment
Troubleshooting
401 Unauthorized from Supermemory
Key is invalid, malformed, or from the wrong environment
Ensure key value does not include
BearerRestart/redeploy after updating env vars
Graph header renders but canvas is blank
Usually caused by malformed/empty memory payloads or sizing
This project normalizes memory entries and enforces widget viewport height
Confirm tool response includes non-empty
documents
Build command fails with mcp-use: command not found
Dependencies are not installed in the current environment
Run
npm installfirst
Security Notes
API key is only used server-side
Never expose Supermemory credentials in widget/client code
Review CSP and external domains before production rollout
Production Checklist
Validate input limits and rate controls
Add request/response observability and error tracking
Add auth and access controls for your MCP endpoint
Load test with real document volume
Pin dependency versions instead of
latestwhere required