Skip to content

Repository files navigation

Amap MCP Server (高德地图 MCP 服务器)

MCP Server for Amap

使用 Kotlin 开发的高德地图 MCP 服务器

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

Releases

Sponsor this project

Packages

Contributors

Languages