-
Notifications
You must be signed in to change notification settings - Fork 3.6k
docs: Add MCP JSON server configuration support documentation #8021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Added comprehensive documentation for MCP JSON configuration files - Support for single server and Claude-style multi-server JSON formats - Updated Quick Start section with YAML/JSON tabs - Added environment variable templating documentation - References PR #7956 which added JSON MCP support Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
@RomneyDa I am attempting to test the docs for this on pre-release but not getting the MCP servers to show up. Let me know what is needed to test this is working
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this feature is meant to stay a bit lower-key since JSON does not have first class support, could we keep it to a short blurb about copying config files from claude code/desktop/etc? Thoughts?
@Patrick-Erichsen had an example here #7932
Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
@RomneyDa simplified the content and focused on just adding the blurb |
docs/customize/deep-dives/mcp.mdx
Outdated
## Using `.mcp.json` from Claude, Cursor, Cline, etc | ||
|
||
<Info> | ||
If you're coming from another tool that uses `.mcp.json` configuration files (like Claude Desktop, Cursor, or Cline), you can copy those JSON config files directly into your `.continue/mcpServers` directory and Continue will automatically pick them up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most common JSON cases do not end with .mcp.json
. Could list some specific ones here, like
claude_desktop_config.json
.claude.json
cline_mcp_settings.json
Note that VS Code uses mcp.json
(not .mcp.json) but that will not work yet. But the above should
- Emphasize that the directory name is plural (mcpServers not mcpServer) - Add explicit example showing the correct path structure - This should help users avoid confusion when placing JSON config files Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
- Add ellipsis (...) to YAML examples to indicate they're part of a larger config file - Add explicit note about required metadata fields when creating standalone block files - This prevents confusion when users try to copy snippets directly into .continue/mcpServers/ Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
@RomneyDa I am not sure how to get these docs over the finish line, but I have some irony where I am trying to use the Sanity MCP which only provides JSON examples alongside every flavor of MCP known to man. The onboarding experience for MCP is bad in general and on top of that I need to convert into YAML while also trying to figure out which flavor of MCP I should be using. My original with this docs update is if I could install the MCP into claude code, I could then just copy the JSON wholesale into Continue's YAML. https://www.sanity.io/docs/compute-and-ai/mcp-server Sharing because this is a common occurrence for me lately, where I'd like to get started with an MCP server but the friction of using MCP in Continue is enough to avoid it entirely. The
|
@bdougie you can copy that exact JSON into e.g.
I have a backlog item to add some JSON <> YAML converter UI, perhaps in docs or extension. The utils are already in the I just tagged you in the slack message demo where I showed how to use JSON support |
@bdougie just saw this comment That should have worked, if it doesn't it's likely a bug, or more likely wasn't in prerelease yet. EDIT confirmed working on 1.3.15 |
@bdougie could we tweak the language around |
- Change heading from 'Using .mcp.json' to 'Using JSON MCP Format' - Replace references to '.mcp.json configuration files' with 'JSON MCP format configuration files' - Update example text to use 'JSON MCP config file' instead of 'mcp.json file' This makes the language more descriptive and focuses on the format rather than just the filename. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <noreply@continue.dev>
Description
This PR adds comprehensive documentation for the new MCP JSON server configuration support that was added in PR #7956. The feature allows users to configure MCP servers using JSON files in addition to YAML, providing better compatibility with Claude-style configurations.
Changes
mcpServers
object${VAR_NAME}
syntaxImplementation Details
The documentation covers:
${VAR_NAME}
to Continue's${{ secrets.VAR_NAME }}
formatThis addresses the request to add documentation for the MCP JSON support feature to improve user experience and reduce migration friction.
Related
This agent session was created by tingwai and co-authored by Continue noreply@continue.dev.
Summary by cubic
Add docs for MCP JSON server configuration, including Quick Start updates and examples for single-server and Claude-style multi-server formats. This lets users configure MCP servers with JSON alongside YAML and eases migration from Claude configs.