Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

feat: add Mapbox Tiling Service (MTS) tools

未关闭
#115 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
typescript
领域
api, tooling

调研方向

先从 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 tilesets
  • tilesets:read — list, status
  • tilesets:list — list tilesets

References

主要语言
TypeScript
星标
61
派生
11
平均合并
3 天 2 小时
30 天内合并 PR
1

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mapbox/mcp-devkit-server 的其他 Issue

查看 mapbox/mcp-devkit-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。