Skip to main content
Glama
mapbox.ts491 B
/* * @Author: AidenYangX * @Email: xscs709560271@gmail.com * @Date: 2024-12-21 22:26:50 * @Description: Mapbox Access Token Configuration */ /** * Get Mapbox Access Token * * @returns {string} Mapbox Access Token */ function getApiKey(): string { const apiKey = process.env.MAPBOX_ACCESS_TOKEN; if (!apiKey) { console.error("MAPBOX_ACCESS_TOKEN environment variable is not set"); process.exit(1); } return apiKey; } export const MAPBOX_ACCESS_TOKEN = getApiKey();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AidenYangX/mapbox-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server