render_map_tool: click a place to ask the model about it

オープン
#284 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
ai, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
375
フォーク
46
平均マージ
22時間 54分
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mapbox/mcp-server のほかの issue

mapbox/mcp-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。