跳到主要内容

Amap MCP Server

Amap MCP server is a MCP server for Amap (高德地图).

Tools available

How to use

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"
}
}
}
}

It's better to use jbang to run a JAR file.

{
"mcpServers": {
"amap": {
"command": "jbang",
"args": [
"https://github.com/JavaAIDev/amap-mcp-server/releases/download/v0.9.0/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"
]
}
}
}

Source Code