feat: add Mapbox Tiling Service (MTS) tools
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- typescript
调研方向
先从 issue 中链接的 Mapbox Tiling Service 和 Uploads API 参考文档开始,然后跟踪 devkit 中现有的样式和令牌管理工具是如何组织的。实现并验证针对上传、创建、发布、状态轮询和列表操作提出的五个工具,确保具备所需的令牌作用域,并使文档中说明的代理工作流端到端正常运行。
由索引模型根据 Issue 内容生成。
描述
Summary
Add MTS tools so agents can take raw data (GeoJSON, CSV, etc.) all the way through to a published tileset that can be referenced in a style layer — entirely within the devkit.
Why DevKit
MTS is a data-pipeline / developer workflow operation, not a runtime geospatial computation. It belongs alongside the existing style and token management tools rather than in the mainline geo-computation MCP server.
Proposed Tools
| Tool | MTS / Uploads API endpoint | Description |
|---|---|---|
upload_tileset_source_tool |
POST /tilesets/v1/sources/{username}/{id} |
Upload a GeoJSON or CSV file as a tileset source |
create_tileset_tool |
POST /tilesets/v1/{tileset_id} |
Create a tileset with a recipe |
publish_tileset_tool |
POST /tilesets/v1/{tileset_id}/publish |
Kick off the tiling job |
get_tileset_status_tool |
GET /tilesets/v1/{tileset_id}/jobs/{job_id} |
Poll job status (queued / processing / success / failed) |
list_tilesets_tool |
GET /tilesets/v1/{username} |
List tilesets for the authenticated user |
Agent Workflow This Enables
1. upload_tileset_source_tool — POST GeoJSON/CSV → get source_id
2. create_tileset_tool — define tileset + recipe referencing source_id
3. publish_tileset_tool — kick off tiling job → get job_id
4. get_tileset_status_tool — poll until status === "success"
5. update_style_tool (exists) — add a layer referencing the new tileset
This gives an agent a complete "I have data, build me a map" loop without leaving the devkit.
Token Scopes Required
tilesets:write— create, update, publish tilesetstilesets:read— list, statustilesets:list— list tilesets
References
- 主要语言
- TypeScript
- 星标
- 61
- 派生
- 11
- 平均合并
- 3 天 2 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/mcp-devkit-server 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
mapbox/mcp-devkit-server#130 · 2 条评论 ·
查看 mapbox/mcp-devkit-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
kunchenguid/gh-axi#220 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
prerender: wait for env-runner worker readiness before crawling可能已有人在做 @sarankumar1325 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复