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