MCP Server for Amap
使用 Kotlin 开发的高德地图 MCP 服务器
Go to releases page and download latest releases:
- JAR file, requires Java 11 to run
- Native executable files on Windows, macOS and Linux.
Or use the container image.
Amap API key is required. This key must be set as the environment variable AMAP_API_KEY.
Below is the config to start the server using java.
{
"mcpServers": {
"amap": {
"command": "java",
"args": [
"-jar",
"amap-mcp-server.jar"
],
"env": {
"AMAP_API_KEY": "YOUR_AMAP_API_KEY"
}
}
}
}The config below starts the server using a container image.
{
"mcpServers": {
"amap": {
"command": "docker",
"args": [
"run",
"-i",
"-e",
"AMAP_API_KEY=YOUR_AMAP_API_KEY",
"ghcr.io/javaaidev/amap-mcp-server:0.9.0"
]
}
}
}