Back to MCP directory
publicPublicdnsLocal runtime

lxlxw

AMap地图API的MCP服务配置说明

article

README

🚀 设置说明

本项目主要介绍了获取 AMap 地图 API 密钥的方法,以及提供了 NPX 命令示例,帮助你更好地使用相关服务。

📦 API 密钥获取

获取 AMap 地图 API 密钥: https://lbs.amap.com/api/webservice/create-project-and-key.

💻 使用示例

基础用法

{
    "mcpServers": {
        "amap-maps": {
            "command": "npx",
            "args": [
                "-y",
                "@amap/amap-maps-mcp-server"
            ],
            "env": {
                "AMAP_MAPS_API_KEY": ""
            }
        }
    }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client