Skip to content

Conversation

continue[bot]
Copy link
Contributor

@continue continue bot commented Sep 29, 2025

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

  • Added new section "How to Configure MCP Servers with JSON Files" to the MCP deep dive documentation
  • Updated Quick Start section to mention both YAML and JSON support with tabbed examples
  • Documented two JSON configuration formats:
    1. Single MCP server configuration (filename becomes server name)
    2. Claude-style multi-server configuration using mcpServers object
  • Added documentation for environment variable templating using ${VAR_NAME} syntax
  • Enhanced existing examples with proper tab organization using Mintlify components

Implementation Details

The documentation covers:

  • Both single-server and multi-server JSON configuration patterns
  • Environment variable templating that converts ${VAR_NAME} to Continue's ${{ secrets.VAR_NAME }} format
  • Clear examples showing the relationship between filename and server naming
  • Integration with existing YAML documentation through tabbed interface

This 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 [email protected].


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.

  • New Features
    • Quick Start now has YAML/JSON tabs.
    • New section: “How to Configure MCP Servers with JSON Files.”
    • Documents two JSON formats: single-file (filename = server name) and mcpServers multi-server.
    • Notes env var templating: ${VAR_NAME} maps to ${{ secrets.VAR_NAME }} internally.

- 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 <[email protected]>
@bdougie
Copy link
Collaborator

bdougie commented Sep 29, 2025

@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

// .continue/mcpServer/mcp.json

{
  "mcpServers": {
    "netlify": {
      "command": "npx",
      "args": ["-y", "@netlify/mcp"]
    },
    "context7": {
      "command": "npx",
      "args": ["-y", "@upstash/context7-mcp"]
    },
    "sequential-thinking": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
    }
  }
}

@bdougie bdougie marked this pull request as ready for review September 29, 2025 21:24
@bdougie bdougie requested a review from a team as a code owner September 29, 2025 21:24
@bdougie bdougie requested review from tingwai and removed request for a team September 29, 2025 21:24
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 29, 2025
Copy link
Collaborator

@RomneyDa RomneyDa left a 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

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Sep 30, 2025
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Sep 30, 2025
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Sep 30, 2025
@bdougie bdougie requested a review from RomneyDa September 30, 2025 20:26
Generated with [Continue](https://continue.dev)

Co-Authored-By: Continue <[email protected]>
@bdougie
Copy link
Collaborator

bdougie commented Sep 30, 2025

@RomneyDa simplified the content and focused on just adding the blurb

- 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 <[email protected]>
- 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 <[email protected]>
@bdougie
Copy link
Collaborator

bdougie commented Oct 3, 2025

@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.

#8021 (comment)

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 --mcp flag is great in cn but only when there is a MCP available on the Hub, and you can't get it on the Hub unless you know how to read the runes.

{
  "mcpServers": {
    "Sanity Developer": {
      "url": "https://mcp.sanity.io/developer",
      "type": "http"
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants