Skip to content

Commit 760b6a0

Browse files
committed
docs(ai): update nav title and apply studio formatting
1 parent f389011 commit 760b6a0

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
title: AI

docs/content/en/4.ai/1.mcp.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ Docus provides two tools out of the box that allow any LLM to discover and read
4949

5050
Lists all documentation pages with their titles, paths, and descriptions. AI assistants should call this first to discover available content.
5151

52-
| Parameter | Type | Description |
53-
|-----------|------|-------------|
54-
| `locale` | string (optional) | Filter pages by locale |
52+
| Parameter | Type | Description |
53+
| --------- | ----------------- | ---------------------- |
54+
| `locale` | string (optional) | Filter pages by locale |
5555

5656
### `get-page`
5757

5858
Retrieves the full markdown content of a specific documentation page.
5959

60-
| Parameter | Type | Description |
61-
|-----------|------|-------------|
62-
| `path` | string (required) | The page path (e.g., `/en/getting-started/installation`) |
60+
| Parameter | Type | Description |
61+
| --------- | ----------------- | -------------------------------------------------------- |
62+
| `path` | string (required) | The page path (e.g., `/en/getting-started/installation`) |
6363

6464
## Setup
6565

@@ -77,9 +77,9 @@ claude mcp add --transport http my-docs https://docs.example.com/mcp
7777

7878
::install-button
7979
---
80-
url: "https://docs.example.com/mcp"
81-
ide: "cursor"
82-
label: "Install in Cursor"
80+
ide: cursor
81+
label: Install in Cursor
82+
url: https://docs.example.com/mcp
8383
---
8484
::
8585

@@ -102,9 +102,9 @@ Ensure you have GitHub Copilot and GitHub Copilot Chat extensions installed.
102102

103103
::install-button
104104
---
105-
url: "https://docs.example.com/mcp"
106-
ide: "vscode"
107-
label: "Install in VS Code"
105+
ide: vscode
106+
label: Install in VS Code
107+
url: https://docs.example.com/mcp
108108
---
109109
::
110110

@@ -159,7 +159,7 @@ Or manually create/update the `.vscode/mcp.json` file:
159159

160160
## Customization
161161

162-
Since Docus uses the [`@nuxtjs/mcp-toolkit`](https://mcp-toolkit.nuxt.dev/) module, you can extend the MCP server with custom tools, resources, prompts, and handlers.
162+
Since Docus uses the `@nuxtjs/mcp-toolkit` module, you can extend the MCP server with custom tools, resources, prompts, and handlers.
163163

164164
### Adding Custom Tools
165165

@@ -229,6 +229,7 @@ export default defineMcpPrompt({
229229
Handlers allow you to create separate MCP endpoints with their own tools, resources, and prompts. This is useful for exposing different capabilities at different routes.
230230

231231
For example, you could have:
232+
232233
- `/mcp` - Main documentation MCP server
233234
- `/mcp/migration` - Dedicated MCP server for migration assistance
234235

0 commit comments

Comments
 (0)