No install? Use cloud.anythingmcp.com directly.
Sign in, install the Mapbox in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.
TL;DR
Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Mapbox をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Mapbox + Gemini
Drive Mapbox APIs (geocoding, directions, isochrones, matrix, tilequery) from any AI agent. 8 tools, access-token query auth.
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
MAPBOX_ACCESS_TOKEN
ステップ 1 — 認証情報を取得
mapbox.com/api/).
Setup:
- Sign in to https://account.mapbox.com → Access tokens → Create a token.
- Pick scopes: usually
styles:read+fonts:read+geocoding+directions+matrix+isochrone+tilequery. - Copy the token (starts with
pk.). SetMAPBOX_ACCESS_TOKEN.
Authentication: query-string ?access_token=....
Coordinate convention (Mapbox-specific): longitude FIRST, then latitude. The order is lng,lat, NOT lat,lng like Google Maps. Trip up on this and your results land in the wrong country.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
ステップ 3 — Gemini にコネクタを追加
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の Profile → MCP API Keys → New Key で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —Mapboxが利用可能として表示されます。 - Vertex AI Studio: 同じ Bearer ヘッダーで
https://cloud.anythingmcp.com/mcpをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
mapbox_geocode_forward | Forward geocoding (address text → coordinates) |
mapbox_geocode_reverse | Reverse geocoding (coordinates → address) |
mapbox_directions | Compute driving / walking / cycling directions between waypoints |
mapbox_isochrone | Get the area reachable within N minutes from a starting point (an 'isochrone' — like 'how far can I drive in 15 min?') |
mapbox_matrix | Compute travel-time and distance MATRIX between many origins and destinations (e |
mapbox_static_image | Generate a static PNG/JPG map of a location with optional pin overlays |
mapbox_tilequery | Query features in a vector tileset at a specific point — e |
mapbox_list_styles | List custom map styles owned by your account |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は Bearer ヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?