Along-asset/amap_damai_mcp_server
If you are the rightful owner of amap_damai_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The Model Context Protocol (MCP) server is a specialized server designed to facilitate communication and data exchange between different components of a system, particularly in environments utilizing machine learning models and APIs.
部署MCP服务
-
准备运行环境:确保环境中已安装Docker,您可以通过执行
docker --version来验证,如果返回报错信息,请安装Docker。 -
部署MCP服务: a. 下载MCP服务示例代码:
git clone https://atomgit.com/lanxi1/amap_tour_guide_mcp_server.git && cd amap_tour_guide_mcp_server/。如果报错提示未检测到git命令,需要先安装git。b. 构建并运行MCP服务:执行以下命令,注意将其中
your_own_amap_key替换为您在高德申请的key;将其中your_own_dashscope_api_key替换为您的API Key。docker build -t amap_mcp_server:1.0 . docker run -d -p 8000:8000 --name my_amap_mcp_server
-e AMAP_KEY='your_own_amap_key'
-e DASHSCOPE_API_KEY='your_own_dashscope_api_key'
amap_mcp_server:1.02. 上传项目到 GitHub(适用于未上传的情况)
如果您尚未将项目上传至 GitHub,请按以下步骤操作:
- 在项目根目录执行: 在本地项目根目录下执行 git init 初始化仓库。 添加所有文件并提交:git add . && git commit -m "Initial commit". 创建一个新的 GitHub 仓库(例如:your_username/amap_tour_guide_mcp_server)。 将本地代码推送到远程仓库:git remote add origin https://github.com/your_username/amap_tour_guide_mcp_server.git && git push -u origin main.