mcp-map-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | SSE 模式监听地址 | 0.0.0.0 |
| MCP_PORT | No | SSE 模式监听端口 | 8091 |
| MCP_IMAGE | No | Docker 镜像地址 | harbor.zkjgy.online/library/mcp-map-server:latest |
| MCP_VERSION | No | 版本标签 | latest |
| MCP_AMAP_KEY | No | 高德地图 Web 服务 Key(必填之一) | |
| MCP_BAIDU_KEY | No | 百度地图 Web 服务 AK(必填之一) | |
| MCP_TRANSPORT | No | 传输模式:stdio 或 sse | sse |
| MCP_DEFAULT_PLATFORM | No | 工具调用未指定平台时的默认平台 | amap |
| MCP_ENABLED_PLATFORMS | No | 启用的地图平台 | amap,baidu |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| map_geocodeB | 地理编码:将结构化地址(如'北京市朝阳区阜通东大街6号')转换为经纬度坐标。返回坐标、行政区划和 adcode(可用于天气查询)。 |
| map_reverse_geocodeA | 逆地理编码:将经纬度坐标转换为可读地址。坐标格式为'经度,纬度'(如'116.481,39.990')。注意坐标与平台绑定:高德为 GCJ-02,百度为 BD-09,不可跨平台混用。 |
| map_search_poiA | 关键字 POI 搜索:按关键字搜索地点(如'星巴克'、'医院'),可限定城市。返回名称、地址、坐标、电话等。 |
| map_search_aroundA | 周边搜索:以某坐标为中心,在指定半径内搜索 POI(如附近的餐厅、地铁站)。坐标格式'经度,纬度'。 |
| map_directionA | 路径规划:计算两点间的路线,支持驾车(driving)、步行(walking)、公交(transit)、骑行(riding)。返回总距离、总时长和分段导航。起终点为'经度,纬度'坐标。 |
| map_distanceB | 距离测量:计算两点间的距离和预计耗时。mode 为 driving(驾车)或 walking(步行)。起终点为'经度,纬度'坐标。 |
| map_weatherA | 天气查询:查询某行政区的实时天气与未来几日预报。city 参数需传行政区划编码 adcode(可先用 map_geocode 获取)。 |
| map_ip_locationA | IP 定位:根据 IP 地址返回其大致所在的省市。留空则定位请求来源 IP。 |
| map_get_platform_statusA | 查询各地图平台的启用与可用状态(是否已配置 API Key)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ganyu123456/mcp-map-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server