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

render_map_tool: tell the model what the user did on the map

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start by reading the render_map_tool implementation and the host integration points for MCP Apps and ChatGPT widget state. Check what each host supports for sending model context, then trace how map actions such as route selection and layer toggles are represented. Done means the latest compact state reaches the model on supported hosts without sending geometry.

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

Descrizione

enhancement

Problem

What the user does on the map never reaches the model: toggling traffic or satellite (#278), picking a route, clicking a place, or collapsing the panel. So a follow-up like "how long is that one?" or "is the traffic bad there?" has nothing to go on.

Proposal

When the user acts on the map, send a short state update to the host as model context (MCP Apps ui/update-model-context, or ChatGPT's widget state). For example: "User selected route 2 (24 min, 9.1 mi)", "Traffic layer on", "User clicked Blue Bottle Coffee (mapbox_id …)". Keep it to the latest state, not a log.

Notes

  • Check what each host supports and how it reaches the model.
  • Make it compact: a sentence or a small object, never geometry.
  • Supports click-to-ask (#284) and the route picker (#285).
Lingua principale
TypeScript
Stelle
363
Fork
45
Merge medio
1g 1h
PR unite (30g)
22

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-server

Tutte le issue di mapbox/mcp-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.