render_map_tool: click a place to ask the model about it

Abierto
#284 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
ai, frontend

Línea de trabajo

Start by tracing the render_map_tool page and how it renders pins, result rows, and basemap POIs; then check the MCP Apps host API for sending chat messages and its ChatGPT Apps SDK equivalent. Add the short action list to the popup and include the place name and mapbox_id in each follow-up. Done when all three actions work on supported hosts and unsupported hosts still show the popup.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Problem

The map is display only. A user who sees a place on it has to type a follow-up ("how do I get to the second one?") instead of acting on it from the map.

Proposal

Clicking a pin, a results row or a basemap POI offers a few actions:

  • Directions here
  • Tell me more
  • What's nearby

Each one sends a follow-up message to the chat through the MCP Apps host API (in ChatGPT, the Apps SDK equivalent). The message carries the place's name and mapbox_id, so the model can call place_details_tool, directions_tool and so on with no guessing.

Notes

  • Host support: check that each host supports sending a message from the page. If it doesn't, fall back to just the popup.
  • Keep it small: a short action list in the popup, not a new panel.
  • Pairs with: reporting the page's state to the model (#287), so a follow-up like "how long is that one?" has context.
Lenguaje dominante
TypeScript
Estrellas
375
Forks
46
Merge medio
22 h 54 min
PR fusionados (30 d)
33

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mapbox/mcp-server

Todos los issues de mapbox/mcp-server

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.