supermemory/apps/docs/supermemory-mcp/setup.mdx
Prasanna 089cdc77c7
MCP Revamp (#1120)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: ved015 <vedant.04.mahajan@gmail.com>
Co-authored-by: ved015 <ved015@users.noreply.github.com>
Co-authored-by: Ishaan Gupta <ishaankone@gmail.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Dhravya Shah <dhravya@supermemory.com>
2026-07-30 15:12:44 -07:00

70 lines
1.5 KiB
Text

---
title: 'Setup and Usage'
description: 'How to set up and use Supermemory MCP Server 4.0'
icon: 'settings'
---
## Server URL
```text
https://mcp.supermemory.ai/mcp
```
Add this to your MCP client config (Claude, Cursor, Windsurf, VS Code, etc.):
```json
{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}
```
The server requires **OAuth authentication**. Your MCP client will automatically discover the authorization server via `/.well-known/oauth-protected-resource` and prompt you to authenticate.
## Project Scoping (Optional)
To scope all operations to a specific project, add the `x-sm-project` header:
```json
{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp",
"headers": {
"x-sm-project": "your-project-id"
}
}
}
}
```
This keeps memories organized by project, useful when working on multiple codebases or contexts.
## Client-Specific Setup
### Claude Desktop
For a screenshot-backed walkthrough (Settings → Connectors → Add custom connector with the URL above), see **[Claude Desktop](/supermemory-mcp/claude-desktop)**.
### Cursor
Add to `~/.cursor/mcp.json`:
```json
{
"mcpServers": {
"supermemory": {
"url": "https://mcp.supermemory.ai/mcp"
}
}
}
```
Or use the one-click install button at [app.supermemory.ai](https://app.supermemory.ai).
### Windsurf / VS Code
Configuration varies by extension. Generally, add the server URL (`https://mcp.supermemory.ai/mcp`) to your MCP settings.