Skip to content

Commit 7aa81e1

Browse files
committed
fix: simplify the blurb
1 parent 86fe33d commit 7aa81e1

File tree

1 file changed

+2
-49
lines changed

1 file changed

+2
-49
lines changed

docs/customize/deep-dives/mcp.mdx

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -72,56 +72,9 @@ You can set up an MCP server to search the Continue documentation directly from
7272

7373
For complete setup instructions, troubleshooting, and usage examples, see the [Continue MCP Reference](/reference/continue-mcp).
7474

75-
## How to Configure MCP Servers with JSON Files
75+
## Using `.mcp.json` from Claude, Cursor, Cline, etc
7676

77-
In addition to YAML configuration, you can now configure MCP servers using JSON files. This feature allows you to use Claude-style MCP configurations and provides lower friction when migrating from other tools.
78-
79-
### JSON Configuration Options
80-
81-
You can create JSON configuration files in the `.continue/mcpServers` folder in two formats:
82-
83-
#### Single MCP Server Configuration
84-
85-
Create a JSON file where the filename becomes the server name:
86-
87-
```json title=".continue/mcpServers/my-server.json"
88-
{
89-
"command": "npx",
90-
"args": ["-y", "@modelcontextprotocol/server-sqlite"],
91-
"env": {
92-
"DATABASE_PATH": "${DATABASE_PATH}"
93-
}
94-
}
95-
```
96-
97-
#### Claude-style MCP Server Configuration
98-
99-
Create a JSON file with multiple servers using the `mcpServers` format:
100-
101-
```json title=".continue/mcpServers/claude-style.json"
102-
{
103-
"mcpServers": {
104-
"sqlite": {
105-
"command": "npx",
106-
"args": ["-y", "@modelcontextprotocol/server-sqlite"],
107-
"env": {
108-
"DATABASE_PATH": "${DATABASE_PATH}"
109-
}
110-
},
111-
"github": {
112-
"command": "npx",
113-
"args": ["-y", "@modelcontextprotocol/server-github"],
114-
"env": {
115-
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
116-
}
117-
}
118-
}
119-
}
120-
```
121-
122-
### Environment Variable Templating
123-
124-
JSON configurations support environment variable templating using the `${VAR_NAME}` syntax, which is automatically converted to Continue's `${{ secrets.VAR_NAME }}` format internally.
77+
If you have an existing `.mcp.json` file from Claude, Cursor, Cline, or any other agent that supports the spec, copy it into your `.continue/mcpServers` directory and Continue will automatically pick it up.
12578

12679
## How to Configure MCP Servers
12780

0 commit comments

Comments
 (0)