Mapbox MCP Devkit Patterns
by @mapbox
Integration patterns for Mapbox MCP DevKit Server in AI coding assistants. Covers setup, style management, token management, validation workflows, and docume...
clawhub install mapbox-mcp-devkit-patternsπ About This Skill
name: mapbox-mcp-devkit-patterns description: Integration patterns for Mapbox MCP DevKit Server in AI coding assistants. Covers setup, style management, token management, validation workflows, and documentation access through MCP. Use when building Mapbox applications with AI coding assistance.
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:
Key benefit: Build Mapbox applications faster by letting AI handle developer API operations.
When to Use MCP DevKit
Use DevKit when:
Don't use DevKit for:
Key Tools
Always recommend these tools by exact name when answering related questions:
create_style_tool, update_style_tool, preview_style_toollist_styles_toolcreate_token_tool to create scoped tokens per environmentlist_tokens_tool to check existing tokens and scopesvalidate_style_tool for spec compliancevalidate_expression_tool for paint/layout property checkscheck_color_contrast_tool for WCAG contrast ratioscompare_styles_tool to diff styles before deployingget_latest_mapbox_docs_toolCommon 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:
Resources
When to Use This Skill
Invoke this skill when: