Configure MCP Map Routing in Cherry Studio Without Writing Code
This tutorial walks you through installing Cherry Studio, configuring Baidu and Amap MCP servers with JSON settings, obtaining the required API keys, and using the built‑in AI model to perform route planning, all without writing a single line of code.
Cherry Studio Overview
Cherry Studio is a cross‑platform open‑source AI desktop client that integrates more than 300 large language models, provides built‑in assistants for writing, coding, translation, design, supports retrieval‑augmented generation (RAG) knowledge bases, and handles text, image, PDF, Office and code file formats.
Installation and Dependency Setup
Download Cherry Studio from https://www.cherry-ai.com/ and launch the application.
Open the settings (gear icon) → MCP configuration. When a red exclamation mark appears, click it and press Install to install the uv and bun tools.
Configuring MCP Servers for Baidu Maps and Amap
In the MCP configuration page click Edit for each server entry.
Paste the following JSON (replace XXXXXXXXXXXXX with your actual API keys) into the corresponding text boxes and enable the servers:
{
"mcpServers": {
"S6Ojnde5Cnd0T4FNUc35l": {
"isActive": true,
"name": "Baidu Map MCP Server",
"type": "stdio",
"command": "uvx",
"args": ["mcp-server-baidu-maps"],
"env": {"BAIDU_MAPS_API_KEY": "XXXXXXXXXXXXX"}
},
"Q6V5e8Y9lYPSTAj8qSITB": {
"isActive": true,
"name": "Amap MCP Server",
"type": "sse",
"baseUrl": "https://mcp.amap.com/sse?key=XXXXXXXXXXXXX"
}
}
}Obtaining API Keys
Baidu Maps: log in to the Baidu Maps Open Platform, create a new API key and copy the key.
Amap (Gaode): visit https://lbs.amap.com/, go to “Control Panel → Application Management → My Applications”, create an application and obtain the API key.
Running Route Planning
Return to the Cherry Studio home page, open the chat dialog, and click the small shovel icon to display the configured MCP servers.
Select both the Baidu and Amap servers and choose the Qwen‑3 model.
Enter a natural‑language query such as “How do I get from my home to the Summer Palace?”. The logs will show calls to both map services and the response will contain a detailed walking route.
Notes
The Baidu server uses stdio communication; the command uvx runs the Python‑based mcp-server-baidu-maps executable.
The Amap server uses Server‑Sent Events ( sse) with the baseUrl containing the API key.
No code changes are required; the configuration is performed entirely through the UI.
Senior Tony
Former senior tech manager at Meituan, ex‑tech director at New Oriental, with experience at JD.com and Qunar; specializes in Java interview coaching and regularly shares hardcore technical content. Runs a video channel of the same name.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
