docs(mcp): update MCP server config with auth and per-client setup#493
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Greptile SummaryThis PR updates the Building with AI page's MCP server section to use the new authenticated endpoint (
Confidence Score: 3/5The page should not ship as-is — the Tip about The Tip on line 149 tells users that mintlify/platform-overview/building-with-ai.mdx — the Tip block and the Claude desktop config section need to be reconciled before the page goes live.
|
| Filename | Overview |
|---|---|
| mintlify/platform-overview/building-with-ai.mdx | MCP section updated with new authenticated endpoint, per-client setup instructions, and auth token creation steps; Tip about .claude.json covering both Claude Code and Claude desktop contradicts the separate desktop config section, and server name is inconsistent across snippets (grid_mcp vs grid-mcp). |
Sequence Diagram
sequenceDiagram
participant U as User / AI Client
participant MC as mcp-remote (bridge)
participant MCP as mcp.grid.lightspark.com
participant GD as Grid Dashboard
U->>GD: Create read-only API token
GD-->>U: client_id + client_secret
Note over U: Configure client with credentials
alt Claude Code / Cursor (native HTTP transport)
U->>MCP: HTTP request + x-grid-client-id + x-grid-client-secret
MCP-->>U: MCP tools response
else Claude Desktop App (mcp-remote bridge)
U->>MC: Stdio (npx mcp-remote)
MC->>MCP: HTTP request + x-grid-client-id + x-grid-client-secret
MCP-->>MC: MCP tools response
MC-->>U: Stdio response
end
U->>MCP: search_grid_api_documentation(query)
MCP-->>U: Matching docs / content
U->>MCP: get_page_grid_api_documentation(page)
MCP-->>U: Full page content
Prompt To Fix All With AI
Fix the following 4 code review issues. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 4
mintlify/platform-overview/building-with-ai.mdx:148-150
**Contradictory Tip about `.claude.json` covering both clients**
The Tip states that `.claude.json` is "picked up by both Claude Code and the Claude desktop app," implying users who configure one never need to configure the other. However, the very next section explicitly instructs desktop app users to open `claude_desktop_config.json` (a different file) and add a completely different `mcp-remote`-based entry. A user who reads the Tip and uses both clients will think they're done after the Claude Code step, but the desktop app will silently fail to connect because it reads `claude_desktop_config.json`, not `.claude.json`.
### Issue 2 of 4
mintlify/platform-overview/building-with-ai.mdx:159-160
Server name inconsistency between configs — `grid_mcp` (underscore) is used in the Claude Code and Cursor snippets, but `grid-mcp` (hyphen) appears in the Claude desktop snippet. While the name is arbitrary, having it differ across three snippets on the same page will confuse users who copy from multiple sections, and makes it harder to tell at a glance that these are the same logical server.
```suggestion
"grid_mcp": {
"command": "npx",
```
### Issue 3 of 4
mintlify/platform-overview/building-with-ai.mdx:112-114
The URL-only code block has no language tag, which violates the style guide's requirement that all code blocks carry a language identifier. A bare URL block is typically rendered as `text` or `bash`.
```suggestion
```text
https://mcp.grid.lightspark.com/
```
```
### Issue 4 of 4
mintlify/platform-overview/building-with-ai.mdx:129-202
**Consider `<Tabs>` for platform-specific content**
The AGENTS.md style guide explicitly states "Use **Tabs** for platform-specific content or alternative approaches." The four client setup sections (Claude Code, Claude desktop, Cursor, ChatGPT/other) are classic platform-specific alternatives — they would be a natural fit for a `<Tabs>` component rather than sequential `###` headings, which forces users to scroll past all configs to find their client. This isn't a blocker, but it would align with the documented component selection logic.
Reviews (1): Last reviewed commit: "docs(mcp): update MCP server config with..." | Re-trigger Greptile
6a8fd1f to
42aa7ed
Compare
42aa7ed to
c7df981
Compare

Summary
Updates the Building with AI page's MCP server section to reflect the new authenticated MCP endpoint and add per-client setup instructions.
https://mcp.grid.lightspark.com/.claude.jsonHTTP transport), Claude desktop app (mcp-remotebridge), and Cursormcp-remoteas a bridge for clients without HTTP transportTest plan
make build && make lintpassmake mintrenders the page correctly🤖 Generated with Claude Code