mapnetwork-mcp 0.1.6__tar.gz → 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/PKG-INFO +11 -1
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/README.md +10 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/RELEASING.md +2 -1
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/manifest.json +1 -1
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/mapnetwork_mcp/server.py +4 -11
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/pyproject.toml +1 -1
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/.gitignore +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/.mcpbignore +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/LICENSE +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-beige.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-black.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-brawn.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-darkBlue.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-lightGreen.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-popArt.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/images/Kanazawa21Museum-white.png +0 -0
- {mapnetwork_mcp-0.1.6 → mapnetwork_mcp-1.0.0}/mapnetwork_mcp/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mapnetwork-mcp
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: MCP server — generate styled map images via mapnetwork.app
|
|
5
5
|
Project-URL: Homepage, https://mapnetwork.app
|
|
6
6
|
Project-URL: Repository, https://github.com/toruproject/mapnetwork-mcp
|
|
@@ -42,6 +42,16 @@ The same map, redownloaded in different color themes:
|
|
|
42
42
|
|
|
43
43
|
### Claude Desktop
|
|
44
44
|
|
|
45
|
+
#### Using the .mcpb extension file (recommended)
|
|
46
|
+
|
|
47
|
+
The easiest way to install is via the `.mcpb` extension file available on the [Releases](https://github.com/toruproject/mapnetwork-mcp/releases) page.
|
|
48
|
+
|
|
49
|
+
1. Download the latest `.mcpb` file from the Releases page.
|
|
50
|
+
2. Open Claude Desktop and go to **Settings** → **Extensions**.
|
|
51
|
+
3. Drag the downloaded `.mcpb` file onto the Extensions panel to install.
|
|
52
|
+
|
|
53
|
+
#### Manual configuration
|
|
54
|
+
|
|
45
55
|
Add the following to your `claude_desktop_config.json`:
|
|
46
56
|
|
|
47
57
|
```json
|
|
@@ -30,6 +30,16 @@ The same map, redownloaded in different color themes:
|
|
|
30
30
|
|
|
31
31
|
### Claude Desktop
|
|
32
32
|
|
|
33
|
+
#### Using the .mcpb extension file (recommended)
|
|
34
|
+
|
|
35
|
+
The easiest way to install is via the `.mcpb` extension file available on the [Releases](https://github.com/toruproject/mapnetwork-mcp/releases) page.
|
|
36
|
+
|
|
37
|
+
1. Download the latest `.mcpb` file from the Releases page.
|
|
38
|
+
2. Open Claude Desktop and go to **Settings** → **Extensions**.
|
|
39
|
+
3. Drag the downloaded `.mcpb` file onto the Extensions panel to install.
|
|
40
|
+
|
|
41
|
+
#### Manual configuration
|
|
42
|
+
|
|
33
43
|
Add the following to your `claude_desktop_config.json`:
|
|
34
44
|
|
|
35
45
|
```json
|
|
@@ -29,7 +29,8 @@ This project's version number is declared in **three places** that must stay in
|
|
|
29
29
|
```bash
|
|
30
30
|
./mcp-publisher.exe validate server.json
|
|
31
31
|
./mcp-publisher.exe login github # only needed if the session expired
|
|
32
|
-
./mcp-publisher.exe publish
|
|
32
|
+
./mcp-publisher.exe publish serv
|
|
33
|
+
er.json
|
|
33
34
|
```
|
|
34
35
|
The registry entry's `packages[0].version` must match the version actually live on PyPI (the registry does not host the code itself).
|
|
35
36
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": "0.4",
|
|
3
3
|
"name": "mapnetwork-mcp",
|
|
4
4
|
"display_name": "MapNetwork",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "1.0.0",
|
|
6
6
|
"description": "Generate styled PNG/SVG map images of any location with 11 customizable color themes.",
|
|
7
7
|
"long_description": "MCP server for MapNetwork — generate styled map images (PNG / SVG) for any location on Earth, directly from Claude.\n\n- Generate maps from a place name, coordinates, or a list of markers\n- 11 color themes (white, darkBlue, darkGreen, popArt, lightBlue, lightGreen, beige, magenta, gray, black, brawn)\n- Overlay walking / driving routes on the map\n- PNG or SVG output, saved to your Downloads folder\n- Re-download a previously generated map in a different theme or format without regenerating\n- Open any generated map in the MapNetwork web editor for manual customization",
|
|
8
8
|
"author": {
|
|
@@ -31,7 +31,7 @@ mcp = FastMCP(
|
|
|
31
31
|
"instead of radius — useful when the area of interest is not square\n"
|
|
32
32
|
"- **Layers**: choose which features appear. "
|
|
33
33
|
"Use EXACTLY these values (singular, no trailing 's'): "
|
|
34
|
-
"'road', 'highway', 'driving', 'walking', 'railway', 'waterline', 'poi'. "
|
|
34
|
+
"'road', 'highway', 'driving', 'walking', 'railway', 'waterline', 'greenarea', 'poi'. "
|
|
35
35
|
"Wrong: 'roads', 'railways', 'waterlines' — these will be rejected by the server.\n"
|
|
36
36
|
"- **Color themes** via `color_set`: "
|
|
37
37
|
"white (clean, default), darkBlue (navy bg), darkGreen (dark teal bg), "
|
|
@@ -52,7 +52,7 @@ mcp = FastMCP(
|
|
|
52
52
|
"Use this when the user asks to change only the appearance after already generating the map.\n\n"
|
|
53
53
|
"## Open in the MapNetwork editor\n"
|
|
54
54
|
"Any generated map can be opened and edited interactively in the MapNetwork web UI at:\n"
|
|
55
|
-
" https://mapnetwork.app/
|
|
55
|
+
" https://mapnetwork.app/generate?dataKey=<dataKey>\n"
|
|
56
56
|
"Mention this URL when the user might want to customize markers, colors, or layout manually. "
|
|
57
57
|
"The map data format is identical to what the UI produces when uploading data.\n\n"
|
|
58
58
|
"## Color themes\n"
|
|
@@ -201,12 +201,6 @@ async def generate_map(
|
|
|
201
201
|
"Map name stored in the data file. Used as the default download filename. "
|
|
202
202
|
"Omit to leave unnamed.",
|
|
203
203
|
] = None,
|
|
204
|
-
title: Annotated[
|
|
205
|
-
str | None,
|
|
206
|
-
"Optional title text rendered in the bottom-left corner of the map image. "
|
|
207
|
-
"Use when the user wants a label on the map (e.g. the place name or a description). "
|
|
208
|
-
"Omit to generate an untitled map.",
|
|
209
|
-
] = None,
|
|
210
204
|
radius: Annotated[
|
|
211
205
|
int | None,
|
|
212
206
|
"Circular coverage radius in meters (max 2500). "
|
|
@@ -237,6 +231,7 @@ async def generate_map(
|
|
|
237
231
|
"'walking' — footpaths and pedestrian walkways\n"
|
|
238
232
|
"'railway' — train and subway lines\n"
|
|
239
233
|
"'waterline' — rivers, lakes, and coastlines\n"
|
|
234
|
+
"'greenarea' — forests and woods\n"
|
|
240
235
|
"'poi' — point-of-interest icons (filterable with poi_types)\n"
|
|
241
236
|
"Example for road + railway + POI: ['road', 'railway', 'poi']",
|
|
242
237
|
] = None,
|
|
@@ -304,8 +299,6 @@ async def generate_map(
|
|
|
304
299
|
body["icon"] = place_icon
|
|
305
300
|
if name is not None:
|
|
306
301
|
body["name"] = name
|
|
307
|
-
if title is not None:
|
|
308
|
-
body["title"] = title
|
|
309
302
|
if color_set is not None:
|
|
310
303
|
body["colorSet"] = color_set
|
|
311
304
|
if radius is not None:
|
|
@@ -365,7 +358,7 @@ async def generate_map(
|
|
|
365
358
|
(
|
|
366
359
|
f"Map saved: {out_path}\n"
|
|
367
360
|
f"dataKey: {data_key}\n\n"
|
|
368
|
-
f"Open in editor: https://mapnetwork.app/
|
|
361
|
+
f"Open in editor: https://mapnetwork.app/generate?dataKey={data_key}\n\n"
|
|
369
362
|
f"Tip: call redownload_map(data_key='{data_key}', ...) to get this map "
|
|
370
363
|
f"in a different color_set or format (svg/png) without regenerating."
|
|
371
364
|
),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|