Elffuss BraidHub

kikocis/continue public

23e2dd1ef4c9 · 4.2 KiBRawPermalink
1---
2title: Continue Documentation MCP Server
3description: Set up an MCP server to search Continue documentation
4keywords: [mcp, documentation, search, mintlify, reference]
5---
6
7The continue-docs MCP Server allows you to search and retrieve information from the Continue documentation directly within your agent conversations. This is powered by Mintlify's MCP server generation.
8
9## Installation
10
11### Step 1: Install the MCP Server
12
13Run the following command to install the continue-docs MCP server:
14
15```bash
16npx mint-mcp add docs.continue.dev
17```
18
19When prompted, select "All" from the selection menu:
20
21![mintlify cli selection tree](/images/mintlify-cli-selection-tree.png)
22
23This command will:
24
25- Download and install the MCP server locally
26- Set up the search tool for Continue documentation
27- Create the necessary configuration files
28
29<Info>
30Take note of the installation path displayed after running the command above. You'll need to replace in the configuration below with your actual installation path.
31
32It will look like this: `/path/to/user/.mcp/docs.continue.dev/src/index.js`
33
34</Info>
35
36### Step 2: Configure Continue
37
381. Create a folder called `.continue/mcpServers` at the top level of your workspace
392. Add a file called `continue-docs-mcp.yaml` to this folder
403. Write the following contents and save:
41
42````yaml title=".continue/mcpServers/continue-docs-mcp.yaml"
43```yaml title=".continue/mcpServers/continue-docs-mcp.yaml"
44name: Continue Documentation MCP
45version: 0.0.1
46schema: v1
47mcpServers:
48 - name: Continue Docs Search
49 command: node
50 args:
51 - "/path/to/user/.mcp/docs.continue.dev/src/index.js"
52````
53
54### Step 3: Enable Agent Mode
55
56MCP servers only work in agent mode. Make sure to switch to agent mode in Continue before testing.
57
58## Usage Examples
59
60Once configured, you can use the MCP server to search Continue documentation:
61
62### Model Configuration Help
63
64```
65Search for model setup instructions in the Continue docs
66```
67
68### Context Providers
69
70```
71Find documentation about context providers and how to configure them
72```
73
74### Autocomplete Setup
75
76```
77How do I configure autocomplete in Continue?
78```
79
80### Slash Commands
81
82```
83Search for information about custom slash commands
84```
85
86### Troubleshooting
87
88```
89Find troubleshooting information for Continue extension issues
90```
91
92## Test Plan
93
94Use this test plan to verify your MCP server is working correctly:
95
96### Prerequisites
97
98- Continue extension is installed and running
99- Agent mode is enabled
100- MCP server configuration file exists in `.continue/mcpServers/`
101
102### Test Cases
103
104#### 1. Basic Documentation Search
105
106- **Query**: "Search the Continue docs for information about model setup"
107- **Expected**: Returns structured information about configuring models
108- **Pass/Fail**: ☐
109
110#### 2. Context Provider Documentation
111
112- **Query**: "Find documentation about context providers in Continue"
113- **Expected**: Returns information about available context providers
114- **Pass/Fail**: ☐
115
116#### 3. Feature-Specific Search
117
118- **Query**: "How do I configure autocomplete in Continue?"
119- **Expected**: Returns autocomplete setup instructions
120- **Pass/Fail**: ☐
121
122#### 4. MCP Documentation Search
123
124- **Query**: "Search for MCP server setup instructions"
125- **Expected**: Returns MCP configuration information
126- **Pass/Fail**: ☐
127
128## Troubleshooting
129
130### MCP Server Not Loading
131
1321. **Check configuration**: Ensure your YAML configuration uses the npx command approach
1332. **Verify installation**: Run `npx mint-mcp add continue-docs` to confirm the server can be accessed
1343. **Check agent mode**: MCP servers only work in agent mode
1354. **Restart Continue**: Try restarting the Continue extension
136
137### No Search Results
138
1391. **Verify connection**: The MCP server needs internet access to search the documentation
1402. **Check query format**: Try rephrasing your search query
1413. **Test with known topics**: Search for well-documented features like "model configuration"
142
143### Permission Issues
144
145If you encounter permission errors, ensure npx has proper permissions:
146
147```bash
148npm config get prefix
149```
150
151## Advanced Configuration
152
153### Using Environment Variables
154
155You can configure the MCP server with environment variables:
156
157## Related Documentation
158
159- [MCP Overview](/customize/deep-dives/mcp)
160- [Agent Mode](/features/agent/quick-start)
161- [Configuration](/customize/overview)