From bc8a739a03489718ca4a778f5732b77bc0a4a0d2 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Wed, 7 Jan 2026 03:39:42 +0000 Subject: fix: mcp docs navigation link (#656) --- apps/docs/docs.json | 2 +- apps/docs/mcp.mdx | 110 ----------------------------- apps/docs/supermemory-mcp/introduction.mdx | 2 +- apps/docs/supermemory-mcp/mcp.mdx | 110 +++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 112 deletions(-) delete mode 100644 apps/docs/mcp.mdx create mode 100644 apps/docs/supermemory-mcp/mcp.mdx (limited to 'apps') diff --git a/apps/docs/docs.json b/apps/docs/docs.json index 9bd65c8c..54a17336 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -174,7 +174,7 @@ }, { "group": "Supermemory MCP", - "pages": ["mcp", "supermemory-mcp/setup"] + "pages": ["supermemory-mcp/mcp", "supermemory-mcp/setup"] }, { "group": "Migration Guides", diff --git a/apps/docs/mcp.mdx b/apps/docs/mcp.mdx deleted file mode 100644 index c1690dbf..00000000 --- a/apps/docs/mcp.mdx +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: "Overview" -description: "Give your AI assistants persistent memory with the Model Context Protocol" ---- - -Supermemory MCP Server 4.0 gives AI assistants (Claude, Cursor, Windsurf, etc.) persistent memory across conversations. Built on Cloudflare Workers with Durable Objects for scalable, persistent connections. - -## Quick Install - -```bash -npx -y install-mcp@latest https://mcp.supermemory.ai/mcp --client claude --oauth=yes -``` - -Replace `claude` with your MCP client: `cursor`, `windsurf`, `vscode`, etc. - -## Manual Configuration - -Add to your MCP client config: - -```json -{ - "mcpServers": { - "supermemory": { - "url": "https://mcp.supermemory.ai/mcp" - } - } -} -``` - -The server uses **OAuth** by default. Your client will discover the authorization server via `/.well-known/oauth-protected-resource` and prompt you to authenticate. - -### API Key Authentication (Alternative) - -If you prefer API keys over OAuth, get one from [app.supermemory.ai](https://app.supermemory.ai) and pass it in the `Authorization` header: - -```json -{ - "mcpServers": { - "supermemory": { - "url": "https://mcp.supermemory.ai/mcp", - "headers": { - "Authorization": "Bearer sm_your_api_key_here" - } - } - } -} -``` - -API keys start with `sm_` and skip OAuth when provided. - -### Project Scoping - -Scope all operations to a specific project with `x-sm-project`: - -```json -{ - "mcpServers": { - "supermemory": { - "url": "https://mcp.supermemory.ai/mcp", - "headers": { - "x-sm-project": "your-project-id" - } - } - } -} -``` - -## Tools - -### `memory` - -Save or forget information about the user. - -| Parameter | Type | Required | Description | -|-----------|------|----------|-------------| -| `content` | string | Yes | The memory content to save or forget | -| `action` | `"save"` \| `"forget"` | No | Default: `"save"` | -| `containerTag` | string | No | Project tag to scope the memory | - -### `recall` - -Search memories and get user profile. - -| Parameter | Type | Required | Description | -|-----------|------|----------|-------------| -| `query` | string | Yes | Search query to find relevant memories | -| `includeProfile` | boolean | No | Include user profile summary. Default: `true` | -| `containerTag` | string | No | Project tag to scope the search | - -### `whoAmI` - -Get the current logged-in user's information. Returns `{ userId, email, name, client, sessionId }`. - -## Resources - -| URI | Description | -|-----|-------------| -| `supermemory://profile` | User profile with stable preferences and recent activity | -| `supermemory://projects` | List of available memory projects | - -## Prompts - -| Name | Description | -|------|-------------| -| `context` | User profile and preferences for system context injection | - - - View the open-source implementation - - diff --git a/apps/docs/supermemory-mcp/introduction.mdx b/apps/docs/supermemory-mcp/introduction.mdx index 2e6f3826..51f097ed 100644 --- a/apps/docs/supermemory-mcp/introduction.mdx +++ b/apps/docs/supermemory-mcp/introduction.mdx @@ -5,7 +5,7 @@ description: 'Give your AI assistants persistent memory with the Model Context P Supermemory MCP Server 4.0 is a lightweight component that gives AI assistants persistent memory across conversations. It serves as a universal memory layer enabling Large Language Models (LLMs) to maintain context and memories across different applications and sessions, solving the fundamental limitation of AI assistants forgetting everything between conversations. - + Jump to installation and setup diff --git a/apps/docs/supermemory-mcp/mcp.mdx b/apps/docs/supermemory-mcp/mcp.mdx new file mode 100644 index 00000000..c1690dbf --- /dev/null +++ b/apps/docs/supermemory-mcp/mcp.mdx @@ -0,0 +1,110 @@ +--- +title: "Overview" +description: "Give your AI assistants persistent memory with the Model Context Protocol" +--- + +Supermemory MCP Server 4.0 gives AI assistants (Claude, Cursor, Windsurf, etc.) persistent memory across conversations. Built on Cloudflare Workers with Durable Objects for scalable, persistent connections. + +## Quick Install + +```bash +npx -y install-mcp@latest https://mcp.supermemory.ai/mcp --client claude --oauth=yes +``` + +Replace `claude` with your MCP client: `cursor`, `windsurf`, `vscode`, etc. + +## Manual Configuration + +Add to your MCP client config: + +```json +{ + "mcpServers": { + "supermemory": { + "url": "https://mcp.supermemory.ai/mcp" + } + } +} +``` + +The server uses **OAuth** by default. Your client will discover the authorization server via `/.well-known/oauth-protected-resource` and prompt you to authenticate. + +### API Key Authentication (Alternative) + +If you prefer API keys over OAuth, get one from [app.supermemory.ai](https://app.supermemory.ai) and pass it in the `Authorization` header: + +```json +{ + "mcpServers": { + "supermemory": { + "url": "https://mcp.supermemory.ai/mcp", + "headers": { + "Authorization": "Bearer sm_your_api_key_here" + } + } + } +} +``` + +API keys start with `sm_` and skip OAuth when provided. + +### Project Scoping + +Scope all operations to a specific project with `x-sm-project`: + +```json +{ + "mcpServers": { + "supermemory": { + "url": "https://mcp.supermemory.ai/mcp", + "headers": { + "x-sm-project": "your-project-id" + } + } + } +} +``` + +## Tools + +### `memory` + +Save or forget information about the user. + +| Parameter | Type | Required | Description | +|-----------|------|----------|-------------| +| `content` | string | Yes | The memory content to save or forget | +| `action` | `"save"` \| `"forget"` | No | Default: `"save"` | +| `containerTag` | string | No | Project tag to scope the memory | + +### `recall` + +Search memories and get user profile. + +| Parameter | Type | Required | Description | +|-----------|------|----------|-------------| +| `query` | string | Yes | Search query to find relevant memories | +| `includeProfile` | boolean | No | Include user profile summary. Default: `true` | +| `containerTag` | string | No | Project tag to scope the search | + +### `whoAmI` + +Get the current logged-in user's information. Returns `{ userId, email, name, client, sessionId }`. + +## Resources + +| URI | Description | +|-----|-------------| +| `supermemory://profile` | User profile with stable preferences and recent activity | +| `supermemory://projects` | List of available memory projects | + +## Prompts + +| Name | Description | +|------|-------------| +| `context` | User profile and preferences for system context injection | + + + View the open-source implementation + + -- cgit v1.2.3