Skip to content

docs(ai-integration): align Docs MCP page with @seed-design/docs-mcp 0.7 - #1930

Open
cha2hyun wants to merge 1 commit into
daangn:devfrom
cha2hyun:docs/fix-docs-mcp-tool-surface
Open

docs(ai-integration): align Docs MCP page with @seed-design/docs-mcp 0.7#1930
cha2hyun wants to merge 1 commit into
daangn:devfrom
cha2hyun:docs/fix-docs-mcp-tool-surface

Conversation

@cha2hyun

@cha2hyun cha2hyun commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The published page still described the pre-0.7 per-topic tools (discover_tools, list_react_components, …). Agents following it call names that no longer exist. Document the section/path surface that 0.7.0 actually exposes, and note Cursor GUI PATH pitfalls with bare npx.

Summary by CodeRabbit

  • 문서
    • MCP 사용 안내에 sectionpath 기반 문서 조회 절차를 추가했습니다.
    • Cursor 설정 예시에 type: "stdio"를 반영하고, PATH 상속 문제와 MCP 활성화·승인 절차를 설명했습니다.
    • 제공 도구 목록, 버전 기준, 매개변수 및 사용 예시를 최신화했습니다.
    • 아이콘 검색 및 상세 정보 관련 예시 응답을 정리했습니다.

The published page still described the pre-0.7 per-topic tools
(discover_tools, list_react_components, …). Agents following it call
names that no longer exist. Document the section/path surface that
0.7.0 actually exposes, and note Cursor GUI PATH pitfalls with bare npx.
@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9a8d781

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

MCP 문서 안내에 sectionpath 기반 조회 흐름을 추가했습니다. Cursor 설정에 stdio, PATH 문제, 활성화와 승인 절차를 설명했습니다. @seed-design/docs-mcp@0.7.0 기준으로 도구 목록과 사용 예시를 갱신했습니다.

Changes

MCP 문서 사용 안내

Layer / File(s) Summary
Cursor MCP 설정과 문서 조회 흐름
docs/content/ai-integration/(mcp)/docs-mcp.mdx
sectionpath를 사용하는 문서 조회 순서를 추가했습니다. Cursor 설정에 type: "stdio"와 PATH 문제 해결 방법을 설명했습니다. MCP 활성화와 승인 절차도 추가했습니다.
MCP 도구 목록과 사용 예시
docs/content/ai-integration/(mcp)/docs-mcp.mdx
@seed-design/docs-mcp@0.7.0 기준으로 discover_seed_docs, 문서 조회 도구, get_rootage의 파라미터와 예시를 갱신했습니다. 기존 도구 설명과 아이콘 예시 응답을 제거했습니다.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: junghyeonsu, te6-in

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목은 Docs MCP 문서를 @seed-design/docs-mcp 0.7에 맞게 갱신하는 주요 변경 사항을 정확하고 간결하게 설명합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/content/ai-integration/`(mcp)/docs-mcp.mdx:
- Around line 62-84: docs-mcp 안내에서 createClient 및 Settings → MCP/Customize → MCP
관련 문구를 제거하고, 사용자가 검증할 수 있는 Cursor의 “Tools & MCP” 설정 경로와 “MCP Logs” 채널만 언급하도록
수정하세요. .cursor/mcp.json의 stdio 설정과 Node/npx 경로 안내는 유지하세요.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: ab111f6a-3e75-4f10-8ab0-7936292ffdea

📥 Commits

Reviewing files that changed from the base of the PR and between ba69afd and 9a8d781.

📒 Files selected for processing (1)
  • docs/content/ai-integration/(mcp)/docs-mcp.mdx

Comment on lines +62 to +84
프로젝트 루트의 `.cursor/mcp.json`에 다음을 추가합니다:

```json
{
"mcpServers": {
"seed-docs": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@seed-design/docs-mcp"],
"type": "stdio"
"args": ["-y", "@seed-design/docs-mcp"]
}
}
}
```

Cursor GUI는 셸 프로필의 `PATH`를 물려받지 않습니다. macOS에서는 종종
`/usr/bin:/bin:/usr/sbin:/sbin`만 보이므로, nvm·fnm·Volta·Homebrew로 설치한 Node라면
위 설정에서 `npx`를 찾지 못해 서버가 MCP 목록에 **아예 나타나지 않을 수** 있습니다.
그 경우 `command`를 Node/`npx`의 절대 경로로 바꾸거나, Node를 찾은 뒤 `npx`를 실행하는
작은 셸 스크립트를 `command`로 지정하세요.

프로젝트 MCP는 Cursor **Settings → MCP**(또는 Customize → MCP)에서 활성화·승인이 필요합니다.
토글이 꺼져 있으면 `createClient` 시도 자체가 로그에 남지 않습니다.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

Cursor .cursor/mcp.json type stdio configuration schema

💡 Result:

In Cursor, MCP server configurations are managed via a JSON file named mcp.json [1][2]. You can place this file in two locations: - Project-specific:.cursor/mcp.json (recommended for team-shared tools) [1][3] - Global: ~/.cursor/mcp.json (for personal tools available across all projects) [1][3] When both exist, the project-level configuration takes priority [3][4]. For stdio (Standard I/O) transport, which is used for locally executed servers, the schema requires the following fields within the mcpServers object [1][5][6]: Field | Required | Description | |:--- |:--- |:--- | | type | Yes | Must be set to "stdio" [1][6] | | command | Yes | The command to start the server (e.g., npx, node, python, docker) [1][6] | | args | No | An array of arguments passed to the command [1][6] | | env | No | An object of environment variables for the server process [1][6] | | envFile | No | A path to an environment file (e.g.,.env) to load variables [1][6] | Example Configuration: { "mcpServers": { "my-local-server": { "type": "stdio", "command": "python", "args": ["${workspaceFolder}/tools/server.py"], "env": { "API_KEY": "${env:API_KEY}" } } } } Cursor supports config interpolation for values in command, args, and env fields, allowing you to use variables such as ${env:NAME}, ${userHome}, and ${workspaceFolder} [1][2]. Because stdio communication relies on stdin and stdout, ensure your server does not print debug statements or logs to stdout, as this will pollute the protocol stream and cause connection errors [5][7].

Citations:


🌐 Web query:

Cursor MCP .cursor/mcp.json createClient settings customize MCP toggle log

💡 Result:

To configure Model Context Protocol (MCP) servers in Cursor, you can use either a project-specific file or a global configuration file [1][2][3]. Configuration Locations Project-specific: Create a file at.cursor/mcp.json in the root of your project [1][4]. This is recommended for team-shared tools and will take priority if a server name conflicts with the global config [1][4]. Global: Create a file at ~/.cursor/mcp.json [1][3]. This makes the configured servers available across all projects [1][4]. Configuration Format The file must use mcpServers as the top-level key; if this key is missing or misspelled, Cursor will ignore the file [4][5]. You can configure local servers (via command/args) or remote servers (via URL) [1][2][4]. Example.cursor/mcp.json: { "mcpServers": { "my-server": { "command": "npx", "args": ["-y", "mcp-server-package"], "env": { "API_KEY": "your-key-here" } } } } Managing and Troubleshooting Settings Panel: Access MCP management via Settings > Tools & MCP (in some older versions labeled Features > MCP) [6][7][5]. You can add servers here via the UI, which automatically updates your mcp.json [6][5]. Logs: If a server fails to connect, check the MCP logs. Open the Output panel (Ctrl/Cmd + Shift + U) and select the MCP Logs channel [6]. This is where specific errors such as JSON syntax issues, missing API keys, or initialization failures are reported [6]. Toggle/Refresh Issues: If a server appears connected in the settings but the AI agent cannot access its tools, toggle the server off and then on again in the Tools & MCP settings [6][8][9]. This forces a re-initialization of the server [9]. Additionally, verify that individual tools are not toggled off in the tool list within your chat panel [6]. Always ensure the master Enable MCP servers switch is active in the settings [6].

Citations:


🌐 Web query:

Cursor MCP log "createClient" Settings MCP Customize MCP

💡 Result:

To customize and manage Model Context Protocol (MCP) servers in Cursor, you primarily use the Cursor settings interface or direct configuration files [1][2]. Settings and Configuration You can manage your MCP servers via the Cursor interface or by manually editing configuration files [1][2]. 1. Interface: Go to Cursor Settings > Tools & MCP (or "Tools & Integrations" in some versions) [1][3][4]. From here, you can add new servers, and enable or disable existing ones using the toggle switches [2][4][5]. 2. Configuration Files: Cursor uses mcp.json files to define servers [6][2]. - Global Config: Located at ~/.cursor/mcp.json (or %USERPROFILE%.cursor\mcp.json on Windows) [1][3][6]. This configuration applies to all projects [1][6]. - Project-Level Config: Located at.cursor/mcp.json in your project root [1][6]. This configuration applies only to the current project and takes precedence over the global config if a server is defined in both [1][6]. Logging and Debugging To debug MCP connections, you can view logs through the built-in output panel or access raw files on your system [7][8]. 1. In-Editor Logs: Open the Command Palette (Cmd/Ctrl + Shift + P), search for "Developer: Show Logs...", and select "MCP Logs" (or "Cursor MCP" from the Output panel dropdown menu) [3][8][9]. 2. System Log Files: For deeper analysis, raw log files are stored in your Cursor application support directory [7][10][11]. The path generally follows: ~/Library/Application Support/Cursor/logs/[SESSION_ID]/window[N]/exthost/anysphere.cursor-always-local/Cursor MCP.log (Replace [SESSION_ID] with the relevant timestamped folder and [N] with your window number) [7]. If you are experiencing connection issues, check the "Tools & MCP" settings page to confirm the status indicator (green for connected, yellow for loading, red for error) [1][4][9]. If an MCP server is failing to initialize, logs often provide details on transport errors, authentication issues, or schema mismatches [7][9].

Citations:


MCP 안내에서 내부 로그 경로는 제거하세요.

.cursor/mcp.jsontype: "stdio"는 Cursor MCP 스키마에서 유효합니다. 하지만 createClient, Settings → MCP, Customize → MCP는 Cursor 문서 경로/로그 메시지와 달리 보입니다. 사용자에게 검증 가능한 Tools & MCP 설정 경로와 MCP Logs 채널만 언급하세요.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/content/ai-integration/`(mcp)/docs-mcp.mdx around lines 62 - 84,
docs-mcp 안내에서 createClient 및 Settings → MCP/Customize → MCP 관련 문구를 제거하고, 사용자가
검증할 수 있는 Cursor의 “Tools & MCP” 설정 경로와 “MCP Logs” 채널만 언급하도록 수정하세요.
.cursor/mcp.json의 stdio 설정과 Node/npx 경로 안내는 유지하세요.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant