-
securityA
license-
qualityMCP Server for the Perplexity API.
Last updated -
50
Python
MIT License
Mapbox API 的 MCP 服务器。
mapbox_directions
coordinates
({纬度:数字,经度:数字}[])profile
(可选):“驾驶交通”,“驾驶”,“步行”,“骑自行车”mapbox_directions_by_places
places
(string[]):地名数组profile
(可选):“驾驶交通”,“驾驶”,“步行”,“骑自行车”language
(可选):两个字母的语言代码(例如“zh”、“en”)mapbox_matrix
coordinates
({纬度:数字,经度:数字}[])profile
(可选):“驾驶”、“步行”、“骑自行车”annotations
(可选):“持续时间”、“距离”、“持续时间,距离”sources
(可选):源坐标的索引destinations
(可选):目的地坐标的索引mapbox_matrix_by_places
places
(string[]): 地名数组(2-25 个地点)profile
(可选):“驾驶”、“步行”、“骑自行车”annotations
(可选):“持续时间”、“距离”、“持续时间,距离”language
(可选):两个字母的语言代码sources
(可选):来源地索引destinations
(可选):目的地索引mapbox_geocoding
searchText
(字符串):要搜索的地点或地址limit
(可选):最大结果数(1-10)types
(可选):按地点类型(国家、地区、地点等)进行过滤language
(可选):两个字母的语言代码fuzzyMatch
(可选):启用/禁用模糊匹配将此配置添加到您的 Claude Desktop 配置文件(通常位于~/Library/Application Support/Claude/claude_desktop_config.json
):
按照此处的说明获取 Mapbox API 密钥。
将您的 API 密钥设置为环境变量:
在 mapbox-mcp-server 中,我们使用以下结构来管理服务器的处理程序:
src/server/handlers/base.ts
:所有处理程序的基类src/server/registry.ts
:所有处理程序的注册表src/server/main.ts
:服务器的主入口点每个功能模块都遵循以下结构:
类图:
流程图:
所有工具都实现了全面的错误处理:
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Mapbox API 的 MCP 服务器。
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