Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

docs-site: "Connect to editor" one-click MCP install buttons (Cursor / VS Code)

Aperta
#37 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma

Direzione di ricerca

Inizia nel frontend di docs-site, non in questo repository, e individua la pagina di configurazione o integrazione di MCP. Implementa i punti di ingresso per Cursor, VS Code, Claude Code e l’inserimento manuale in JSON utilizzando l’endpoint ospitato e i payload forniti. Verifica ogni elemento di QA, inclusi i link di VS Code avviati dal browser, la gestione di Insiders e una chiamata allo strumento docs dopo l’installazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 uses type:http for 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 mcpServers JSON) for editors without MCP-install-URL support

Payloads (production, hosted endpoint)

  • Cursor config (raw): {"url":"https://mcp-docs.mapbox.com/mcp"} → base64 eyJ1cmwiOiJodHRwczovL21jcC1kb2NzLm1hcGJveC5jb20vbWNwIn0=
  • 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-docs at 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).

Lingua principale
TypeScript
Stelle
1
Fork
1
Merge medio
2g 23h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/mcp-docs-server

Tutte le issue di mapbox/mcp-docs-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.