Skip to content

Commit 66b9a3b

Browse files
Merge branch 'main' into xw/router-no-profile
2 parents 68b9d04 + 903c89e commit 66b9a3b

File tree

6 files changed

+1396
-581
lines changed

6 files changed

+1396
-581
lines changed

mcp-registry/schema/server-schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"type": {
3636
"type": "string",
3737
"enum": [
38-
"git"
38+
"git",
39+
"npm"
3940
]
4041
},
4142
"url": {

mcp-registry/servers/amap.json

Lines changed: 295 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,295 @@
1+
{
2+
"name": "amap",
3+
"display_name": "Amap / \u9ad8\u5fb7\u5730\u56fe",
4+
"description": "MCP Server for the AMap Map API.",
5+
"repository": {
6+
"type": "npm",
7+
"url": "https://www.npmjs.com/package/@amap/amap-maps-mcp-server"
8+
},
9+
"homepage": "https://lbs.amap.com/api/mcp-server/summary",
10+
"author": {
11+
"name": "amap"
12+
},
13+
"license": "MIT",
14+
"categories": [
15+
"Web Services"
16+
],
17+
"tags": [
18+
"amap",
19+
"map"
20+
],
21+
"installations": {
22+
"npm": {
23+
"type": "npm",
24+
"command": "npx",
25+
"args": [
26+
"-y",
27+
"@amap/amap-maps-mcp-server"
28+
],
29+
"env": {
30+
"AMAP_MAPS_API_KEY": "${AMAP_MAPS_API_KEY}"
31+
}
32+
}
33+
},
34+
"arguments": {
35+
"AMAP_MAPS_API_KEY": {
36+
"description": "The API key to access the AMap service.",
37+
"required": true,
38+
"example": "YOUR_API_KEY_HERE"
39+
}
40+
},
41+
"is_official": true,
42+
"tools": [
43+
{
44+
"name": "maps_regeocode",
45+
"description": "将经纬度坐标转换为商圈区域信息",
46+
"inputSchema": {
47+
"type": "object",
48+
"properties": {
49+
"location": {
50+
"type": "string",
51+
"description": "经纬度坐标"
52+
}
53+
},
54+
"required": [
55+
"location"
56+
]
57+
}
58+
},
59+
{
60+
"name": "maps_geo",
61+
"description": "将地址转换为经纬度坐标",
62+
"inputSchema": {
63+
"type": "object",
64+
"properties": {
65+
"address": {
66+
"type": "string",
67+
"description": "地址"
68+
},
69+
"city": {
70+
"type": "string",
71+
"description": "指定查询的城市"
72+
}
73+
},
74+
"required": [
75+
"address"
76+
]
77+
}
78+
},
79+
{
80+
"name": "maps_ip_location",
81+
"description": "根据用户输入的 IP 地址确定 IP 的位置",
82+
"inputSchema": {
83+
"type": "object",
84+
"properties": {
85+
"ip": {
86+
"type": "string",
87+
"description": "IP地址"
88+
}
89+
},
90+
"required": [
91+
"ip"
92+
]
93+
}
94+
},
95+
{
96+
"name": "maps_weather",
97+
"description": "根据城市名称或 adcode 查询指定城市的天气",
98+
"inputSchema": {
99+
"type": "object",
100+
"properties": {
101+
"city": {
102+
"type": "string",
103+
"description": "城市名称或 adcode"
104+
}
105+
},
106+
"required": [
107+
"city"
108+
]
109+
}
110+
},
111+
{
112+
"name": "maps_search_detail",
113+
"description": "根据关键词搜索或周边搜索获取的POI ID的详细信息",
114+
"inputSchema": {
115+
"type": "object",
116+
"properties": {
117+
"id": {
118+
"type": "string",
119+
"description": "POI ID"
120+
}
121+
},
122+
"required": [
123+
"id"
124+
]
125+
}
126+
},
127+
{
128+
"name": "maps_bicycling",
129+
"description": "根据起点和终点的经纬度坐标规划自行车路线,规划时会考虑交通、单行线、封闭路段等情况,最多支持500公里的自行车路线规划",
130+
"inputSchema": {
131+
"type": "object",
132+
"properties": {
133+
"origin": {
134+
"type": "string",
135+
"description": "起点经纬度坐标,坐标格式为:经度,纬度"
136+
},
137+
"destination": {
138+
"type": "string",
139+
"description": "终点经纬度坐标,坐标格式为:经度,纬度"
140+
}
141+
},
142+
"required": [
143+
"origin",
144+
"destination"
145+
]
146+
}
147+
},
148+
{
149+
"name": "maps_direction_walking",
150+
"description": "根据起点和终点的经纬度坐标规划步行路线,最多支持100公里的步行路线规划",
151+
"inputSchema": {
152+
"type": "object",
153+
"properties": {
154+
"origin": {
155+
"type": "string",
156+
"description": "起点经纬度坐标,坐标格式为:经度,纬度"
157+
},
158+
"destination": {
159+
"type": "string",
160+
"description": "终点经纬度坐标,坐标格式为:经度,纬度"
161+
}
162+
},
163+
"required": [
164+
"origin",
165+
"destination"
166+
]
167+
}
168+
},
169+
{
170+
"name": "maps_direction_driving",
171+
"description": "根据起点和终点的经纬度坐标规划汽车路线,最多支持500公里的汽车路线规划",
172+
"inputSchema": {
173+
"type": "object",
174+
"properties": {
175+
"origin": {
176+
"type": "string",
177+
"description": "起点经纬度坐标,坐标格式为:经度,纬度"
178+
},
179+
"destination": {
180+
"type": "string",
181+
"description": "终点经纬度坐标,坐标格式为:经度,纬度"
182+
}
183+
},
184+
"required": [
185+
"origin",
186+
"destination"
187+
]
188+
}
189+
},
190+
{
191+
"name": "maps_direction_transit_integrated",
192+
"description": "根据起点和终点的经纬度坐标规划公共交通路线,最多支持500公里的公共交通路线规划",
193+
"inputSchema": {
194+
"type": "object",
195+
"properties": {
196+
"origin": {
197+
"type": "string",
198+
"description": "起点经纬度坐标,坐标格式为:经度,纬度"
199+
},
200+
"destination": {
201+
"type": "string",
202+
"description": "终点经纬度坐标,坐标格式为:经度,纬度"
203+
},
204+
"city": {
205+
"type": "string",
206+
"description": "起点所在城市"
207+
},
208+
"cityd": {
209+
"type": "string",
210+
"description": "终点所在城市"
211+
}
212+
},
213+
"required": [
214+
"origin",
215+
"destination",
216+
"city",
217+
"cityd"
218+
]
219+
}
220+
},
221+
{
222+
"name": "maps_distance",
223+
"description": "根据两个经纬度坐标计算距离,支持公交、步行、地铁距离计算",
224+
"inputSchema": {
225+
"type": "object",
226+
"properties": {
227+
"origins": {
228+
"type": "string",
229+
"description": "起点经纬度坐标,坐标格式为:经度,纬度,可以输入多个坐标,用分号分隔,例如120,30;120,31"
230+
},
231+
"destination": {
232+
"type": "string",
233+
"description": "终点经纬度坐标,坐标格式为:经度,纬度"
234+
},
235+
"type": {
236+
"type": "string",
237+
"description": "距离类型,1表示公交距离计算,0表示直线距离计算,3表示步行距离计算"
238+
}
239+
},
240+
"required": [
241+
"origins",
242+
"destination"
243+
]
244+
}
245+
},
246+
{
247+
"name": "maps_text_search",
248+
"description": "关键词搜索,根据用户输入的关键词搜索相关的POI",
249+
"inputSchema": {
250+
"type": "object",
251+
"properties": {
252+
"keywords": {
253+
"type": "string",
254+
"description": "关键词"
255+
},
256+
"city": {
257+
"type": "string",
258+
"description": "查询城市"
259+
},
260+
"types": {
261+
"type": "string",
262+
"description": "POI类型,例如公交站"
263+
}
264+
},
265+
"required": [
266+
"keywords"
267+
]
268+
}
269+
},
270+
{
271+
"name": "maps_around_search",
272+
"description": "周边搜索,根据用户输入的关键词和中心点经纬度坐标搜索周围的POI",
273+
"inputSchema": {
274+
"type": "object",
275+
"properties": {
276+
"keywords": {
277+
"type": "string",
278+
"description": "关键词"
279+
},
280+
"location": {
281+
"type": "string",
282+
"description": "中心点经纬度坐标,坐标格式为:经度,纬度"
283+
},
284+
"radius": {
285+
"type": "string",
286+
"description": "搜索半径"
287+
}
288+
},
289+
"required": [
290+
"location"
291+
]
292+
}
293+
}
294+
]
295+
}

0 commit comments

Comments
 (0)