docs-site: "Connect to editor" one-click MCP install buttons (Cursor / VS Code)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- documentation, frontend
Hướng nghiên cứu
Bắt đầu trong frontend của docs-site, không phải repository này, và tìm trang thiết lập hoặc tích hợp MCP. Triển khai các điểm vào cho Cursor, VS Code, Claude Code và mục nhập JSON thủ công bằng endpoint được lưu trữ cùng các payload được cung cấp. Xác minh từng mục QA, bao gồm các liên kết VS Code được khởi chạy từ trình duyệt, cách xử lý Insiders và một lệnh gọi công cụ docs sau khi cài đặt.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Note: This tracks a docs-site UI change, filed here for visibility. The implementation lives in the docs-site frontend, not in this repo — the MCP server is only the install target. Transfer/move to the docs-site tracker once one exists.
Summary
Add "Connect to editor" one-click install buttons for the Mapbox Docs MCP server on the docs site, following the Redocly/Sinch pattern (see developers.sinch.com). Clicking a button hands the editor a pre-filled MCP config so users skip hand-editing JSON.
Why this fits us well
- The docs MCP server is token-free and already hosted at
https://mcp-docs.mapbox.com/mcp, so the button is a genuine one-click install — no API key paste, no local install. - Smoother than the reference implementation: Sinch's buttons install a local server; ours points at the hosted endpoint.
Scope
- This is a docs-site frontend change. No change to
@mapbox/mcp-docs-server; the server is the target the links point at.
Deliverables
- Cursor button —
cursor://anysphere.cursor-deeplink/mcp/install?name=mapbox-docs&config=<base64> - VS Code button — browser-safe
https://insiders.vscode.dev/redirect/mcp/install?name=mapbox-docs&config=<urlencoded>form (config usestype:httpfor the remote server) - Claude Code — copyable command, NOT a deep link (no URL scheme exists):
claude mcp add mapbox-docs --transport http https://mcp-docs.mapbox.com/mcp - Manual-setup fallback (raw
mcpServersJSON) for editors without MCP-install-URL support
Payloads (production, hosted endpoint)
- Cursor config (raw):
{"url":"https://mcp-docs.mapbox.com/mcp"}→ base64eyJ1cmwiOiJodHRwczovL21jcC1kb2NzLm1hcGJveC5jb20vbWNwIn0= - VS Code config (raw):
{"type":"http","url":"https://mcp-docs.mapbox.com/mcp"}→ URL-encoded%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp-docs.mapbox.com%2Fmcp%22%7D - Server name:
mapbox-docs
Caveats
- Custom-scheme links trigger a browser "open external app?" prompt — expected; button copy should set that expectation.
- Requires an editor build with MCP-install-URL support (current Cursor and recent VS Code). Confirm the minimum VS Code version before publishing.
- VS Code Insiders users may need the
vscode-insiders:variant, or let the redirect resolve.
QA
- Cursor link opens install prompt and registers
mapbox-docsat the hosted URL - VS Code redirect link works when clicked from a browser
- VS Code Insiders users land in Insiders
- Claude Code command copies cleanly and runs without a token
- Manual-setup fallback reachable for unsupported editors
- Post-install, a docs tool call returns results against
mcp-docs.mapbox.com
Reference
Full handoff spec with live buttons, drop-in HTML/markdown snippets, and payload reference prepared separately (artifact). Origin: Slack feedback from Andrew Sepic (2026-07-08).
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 1
- Merge trung bình
- 2 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mapbox/mcp-docs-server
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
mapbox/mcp-docs-server#40 · 1 bình luận ·
Tất cả issue của mapbox/mcp-docs-server
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:plugins area:security area:skills bug has repro
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
anthropics/claude-code#105911 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[ko] Translate /team into KoreanĐang mởdocumentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
dev-five-git/devup-ui#879 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
openspec-apply-change skill: when blocked, may select a ready artifact unrelated to missingArtifactsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Fission-AI/OpenSpec#2165 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🐞 bug 🧐 unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Tencent/tdesign-vue-next#7032 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày