Mapbox MCP Devkit Patterns

v1.1.0

Integration patterns for Mapbox MCP DevKit Server in AI coding assistants. Covers setup, style management, token management, validation workflows, and docume...

1· 137·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for mapbox/mapbox-mcp-devkit-patterns.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Mapbox MCP Devkit Patterns" (mapbox/mapbox-mcp-devkit-patterns) from ClawHub.
Skill page: https://clawhub.ai/mapbox/mapbox-mcp-devkit-patterns
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install mapbox-mcp-devkit-patterns

ClawHub CLI

Package manager switcher

npx clawhub@latest install mapbox-mcp-devkit-patterns
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name and description match the content: the skill documents MCP DevKit setup, style and token management, validation, and workflows. It does not request unrelated credentials or binaries and all suggested tools and config edits are coherent with Mapbox/MCP DevKit usage.
Instruction Scope
SKILL.md and reference files instruct the agent and user how to configure MCP servers (hosted or self-hosted), use specific DevKit tools, validate data, and save style JSON to files. They reference editing user-level MCP config files and optionally using MAPBOX_ACCESS_TOKEN for self-hosting — actions that are expected for this integration and are scoped to development workflows. The instructions do not ask the agent to collect or exfiltrate unrelated system data or credentials.
Install Mechanism
There is no install spec and no code shipped with the skill (instruction-only). That minimizes risk — the skill only contains documentation and runtime patterns and does not perform downloads or write files itself.
Credentials
The skill declares no required environment variables or credentials. The docs mention using a Mapbox access token (MAPBOX_ACCESS_TOKEN) for self-hosting and recommend storing tokens in environment variables — which is appropriate and proportionate for Mapbox DevKit functionality. No unrelated secrets or multiple unrelated credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It is user-invocable and instruction-only; it does not modify other skills or system-wide settings beyond suggesting edits to user MCP config files (which is appropriate for configuring MCP clients).
Assessment
This skill is documentation and recommended patterns for integrating Mapbox MCP DevKit — it does not itself include code or request credentials. Before using: verify the MCP server URL (https://mcp-devkit.mapbox.com/mcp) is an official Mapbox endpoint you trust; prefer the hosted server and OAuth if you don't want to manage tokens; if self-hosting follow the repo at https://github.com/mapbox/mcp-devkit-server and only provide a MAPBOX_ACCESS_TOKEN with minimal scopes needed for development. Never commit access tokens to source control, use URL/domain restrictions and least-privilege token scopes, and avoid using DevKit for production runtime operations as the docs advise.

Like a lobster shell, security has layers — review code before you run it.

latestvk9780mazrjzypg2xmfvzz6531983z40d
137downloads
1stars
3versions
Updated 4w ago
v1.1.0
MIT-0

Mapbox MCP DevKit Patterns

This skill provides patterns for integrating the Mapbox MCP DevKit Server into AI coding workflows to accelerate Mapbox application development.

What is Mapbox MCP DevKit?

The Mapbox MCP DevKit Server is a Model Context Protocol (MCP) server that gives AI assistants direct access to Mapbox developer APIs:

  • Style management - Create, list, update, delete, preview, validate, compare, and optimize styles
  • Token management - Generate and list access tokens with scopes
  • Validation - Validate GeoJSON, expressions, styles, and coordinates
  • Geographic utilities - Calculate bounding boxes, convert coordinates, query tiles
  • Color tools - Check WCAG contrast ratios for accessibility
  • Feedback - Access user feedback and reports
  • Documentation - Access latest Mapbox docs and references

Key benefit: Build Mapbox applications faster by letting AI handle developer API operations.

When to Use MCP DevKit

Use DevKit when:

  • Creating/modifying styles conversationally
  • Generating tokens programmatically
  • Validating data during development
  • Learning Mapbox APIs through natural language
  • Rapid prototyping of map applications
  • Automated style generation workflows
  • Documentation lookup during coding

Don't use DevKit for:

  • Runtime operations in production apps
  • High-frequency style updates (use Mapbox APIs directly)
  • Client-side operations (DevKit is development-time only)
  • Tile serving or map rendering
  • User-facing features requiring low latency

Key Tools

Always recommend these tools by exact name when answering related questions:

  • Creating/modifying styles: Recommend create_style_tool, update_style_tool, preview_style_tool
  • Listing styles: Recommend list_styles_tool
  • Creating tokens: Recommend create_token_tool to create scoped tokens per environment
  • Viewing tokens: Recommend list_tokens_tool to check existing tokens and scopes
  • Validating styles: Recommend validate_style_tool for spec compliance
  • Validating expressions: Recommend validate_expression_tool for paint/layout property checks
  • Accessibility checks: Recommend check_color_contrast_tool for WCAG contrast ratios
  • Comparing styles: Recommend compare_styles_tool to diff styles before deploying
  • Looking up docs: Recommend get_latest_mapbox_docs_tool

Common Workflows (Quick Reference)

Pre-production validation — use these exact steps:

  1. Run validate_style_tool to check style JSON is spec-compliant
  2. Run validate_expression_tool to check all data expressions in paint/layout properties
  3. Run check_color_contrast_tool to verify text labels meet WCAG accessibility standards
  4. Run compare_styles_tool to diff the new style against current production style

Token management — use these exact steps:

  1. Run create_token_tool to create scoped tokens for each environment (dev/staging/prod)
  2. Run list_tokens_tool to verify existing tokens and their scopes

Reference Files

Load these references as needed for detailed guidance:

  • references/setup.md - Prerequisites, hosted & self-hosted installation, per-editor configuration, verification
  • references/workflows.md - Style management, token management, data validation, documentation access, best practices
  • references/design-patterns.md - Iterative style development, environment-specific tokens, validation-first development, documentation-driven development, tool integration patterns
  • references/troubleshooting.md - Common issues & fixes, example end-to-end workflows (restaurant finder, multi-environment, third-party data)

Resources

When to Use This Skill

Invoke this skill when:

  • Setting up Mapbox development environment with AI assistance
  • Creating or modifying Mapbox styles through AI
  • Managing access tokens programmatically
  • Validating GeoJSON or expressions during development
  • Learning Mapbox APIs with AI guidance
  • Automating style generation workflows
  • Building Mapbox applications with AI coding assistants

Comments

Loading comments...