Commit78ede81
fix(docs): teach .mcp.json for MCP setup, not .claude/settings.json
fix(docs): teach .mcp.json for MCP setup, not .claude/settings.json Claude Code loads project MCP servers from .mcp.json at the repo root, on both the CLI and web/cloud sessions — never from .claude/settings.json. The docs + one-click connect page were teaching the wrong file, so users following them got a server that never loaded. Also fixes the connect.tsx snippet key: type:http (matches this repo\'s own .mcp.json), not the invalid transport:http. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2 files changed+9−878ede8157b2535bcf185f2712d05980f52e43418
2 changed files+9−8
Modifiedsrc/routes/connect.tsx+6−5View fileUnifiedSplit
@@ -322,7 +322,7 @@ connectRoutes.get("/connect/claude-guide", async (c) => {
322322 {
323323 mcpServers: {
324324 gluecron: {
325 transport: "http",
325 type: "http",
326326 url: `${host}/mcp`,
327327 headers: {
328328 Authorization: "Bearer YOUR_TOKEN_HERE",
@@ -409,14 +409,15 @@ connectRoutes.get("/connect/claude-guide", async (c) => {
409409 <section class="cg-step">
410410 <div class="cg-step-head">
411411 <span class="cg-step-num">3</span>
412 <h2 class="cg-step-title">Configure MCP in .claude/settings.json</h2>
412 <h2 class="cg-step-title">Configure MCP in .mcp.json</h2>
413413 </div>
414414 <div class="cg-step-body">
415415 <p class="cg-step-desc">
416416 Add the Gluecron MCP server so Claude Code can open issues, file
417 PRs, and query your repos directly. Paste the snippet below into{" "}
418 <code>.claude/settings.json</code> (or{" "}
419 <code>~/.claude/settings.json</code> for global config), replacing{" "}
417 PRs, and query your repos directly. Paste the snippet below into
418 an <code>.mcp.json</code> file at your project root (the file
419 Claude Code actually loads MCP servers from, on both the CLI and
420 web/cloud sessions), replacing{" "}
420421 <code>YOUR_TOKEN_HERE</code> with the token from Step 1.
421422 </p>
422423 <div class="cg-code-wrap">
Modifiedsrc/routes/docs.tsx+3−3View fileUnifiedSplit
@@ -909,9 +909,9 @@ docs.get("/docs/mcp-server", (c) => {
909909
910910 <h2 id="add-config">3. Add the MCP config</h2>
911911 <p>
912 Add the Gluecron server to your Claude Code{" "}
913 <code>.claude/settings.json</code> (or the global
914 <code>~/.claude/settings.json</code>):
912 Create an <code>.mcp.json</code> file at the root of your project
913 (this is the file Claude Code actually loads MCP servers from, on
914 both the CLI and web/cloud sessions):
915915 </p>
916916 <pre><code>{`{
917917 "mcpServers": {
918918