Skip to content

Commit de28286

Browse files
committed
docs(integrations): lead the MCP guide with client setup
Move the upgrade notes for older MCP clients to the end of the page and point to them from the introduction, so setup, authentication, and the tool list come first.
1 parent daa7728 commit de28286

1 file changed

Lines changed: 25 additions & 23 deletions

File tree

‎content/docs/integrations/mcp.mdx‎

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,7 @@ The server is part of the main Memos binary — there is nothing extra to instal
1111
https://<your-instance>/mcp
1212
```
1313

14-
## Upgrading older MCP clients
15-
16-
Memos 0.30 replaced the earlier MCP implementation with a stateless, tools-only endpoint generated from the OpenAPI schema. Existing clients must use `/mcp` and the service-prefixed tool names listed below.
17-
18-
The previous prompts, resources, tool-filtering headers, route aliases, and unprefixed tool names are no longer available. Tool failures now use the standard MCP `isError` result with readable text content.
19-
20-
### Migrating to 0.31
21-
22-
Replace `shortcut_list_shortcuts` with `user_list_memo_views`. Existing saved filters migrate automatically, but client tool names and request mappings must change. Tool calls also follow the new author and Space membership permissions. Comments created without an explicit visibility default to `PRIVATE`. See [API migration notes](/docs/integrations/api-access#031-client-migration).
23-
24-
### Migrating to 26.10
25-
26-
Tool names are unchanged. The `/mcp` endpoint keeps its path while REST routes drop the `/api/v1` prefix, so clients that also call the REST API follow the [26.10 migration checklist](/docs/integrations/api-access#2610-client-migration). The reaction tool no longer lists a redundant `parent` argument beside its path. Usage limits apply to tool calls: a memo or upload over a limit fails with `RESOURCE_EXHAUSTED` and names the metric.
27-
28-
### Migrating to 26.11.2
29-
30-
Replace `memo_list_memo_comments` with `memo_list_memos`. Set `filter` to `parent == "memos/abc123"` for direct replies to that memo, or `parent == null` for top-level memos.
31-
32-
Replace `memo_create_memo_comment` with `memo_create_memo`. Pass the parent resource name inside the tool’s `body` argument:
33-
34-
```json
35-
{ "body": { "parent": "memos/abc123", "content": "I’ll bring the notes.", "visibility": "PRIVATE" } }
36-
```
14+
Upgrading from an earlier release? See [Upgrading older MCP clients](#upgrading-older-mcp-clients).
3715

3816
## Connecting a client
3917

@@ -106,3 +84,27 @@ Desktop MCP clients work out of the box. Browser-based clients are subject to an
10684
- **`401` / permission errors** — the token is missing, expired, or lacks access to the resource. Create a fresh token in your user settings.
10785
- **`403` on connect** — your client sends an `Origin` header that doesn't match the instance. Use a desktop client, or set the instance URL so it matches.
10886
- **Tool errors** — API failures are returned with `isError: true` and readable text containing the HTTP status and message, so the assistant can react without trying to validate the error as a successful output schema.
87+
88+
## Upgrading older MCP clients
89+
90+
Memos 0.30 replaced the earlier MCP implementation with a stateless, tools-only endpoint generated from the OpenAPI schema. Existing clients must use `/mcp` and the service-prefixed tool names listed under [Available tools](#available-tools).
91+
92+
The previous prompts, resources, tool-filtering headers, route aliases, and unprefixed tool names are no longer available. Tool failures now use the standard MCP `isError` result with readable text content.
93+
94+
### Migrating to 0.31
95+
96+
Replace `shortcut_list_shortcuts` with `user_list_memo_views`. Existing saved filters migrate automatically, but client tool names and request mappings must change. Tool calls also follow the new author and Space membership permissions. Comments created without an explicit visibility default to `PRIVATE`. See [API migration notes](/docs/integrations/api-access#031-client-migration).
97+
98+
### Migrating to 26.10
99+
100+
Tool names are unchanged. The `/mcp` endpoint keeps its path while REST routes drop the `/api/v1` prefix, so clients that also call the REST API follow the [26.10 migration checklist](/docs/integrations/api-access#2610-client-migration). The reaction tool no longer lists a redundant `parent` argument beside its path. Usage limits apply to tool calls: a memo or upload over a limit fails with `RESOURCE_EXHAUSTED` and names the metric.
101+
102+
### Migrating to 26.11.2
103+
104+
Replace `memo_list_memo_comments` with `memo_list_memos`. Set `filter` to `parent == "memos/abc123"` for direct replies to that memo, or `parent == null` for top-level memos.
105+
106+
Replace `memo_create_memo_comment` with `memo_create_memo`. Pass the parent resource name inside the tool’s `body` argument:
107+
108+
```json
109+
{ "body": { "parent": "memos/abc123", "content": "I’ll bring the notes.", "visibility": "PRIVATE" } }
110+
```

0 commit comments

Comments
 (0)