mapnetwork-mcp 0.1.0__tar.gz → 0.1.2__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.2/.idea/.gitignore +10 -0
- mapnetwork_mcp-0.1.2/.idea/inspectionProfiles/Project_Default.xml +13 -0
- mapnetwork_mcp-0.1.2/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- mapnetwork_mcp-0.1.2/.idea/mapnetwork-mcp.iml +8 -0
- mapnetwork_mcp-0.1.2/.idea/misc.xml +7 -0
- mapnetwork_mcp-0.1.2/.idea/modules.xml +8 -0
- mapnetwork_mcp-0.1.2/.idea/vcs.xml +6 -0
- mapnetwork_mcp-0.1.2/.idea/workspace.xml +30 -0
- mapnetwork_mcp-0.1.2/PKG-INFO +84 -0
- mapnetwork_mcp-0.1.2/README.md +73 -0
- {mapnetwork_mcp-0.1.0 → mapnetwork_mcp-0.1.2}/pyproject.toml +6 -1
- mapnetwork_mcp-0.1.0/.gitignore +0 -17
- mapnetwork_mcp-0.1.0/PKG-INFO +0 -7
- {mapnetwork_mcp-0.1.0 → mapnetwork_mcp-0.1.2}/mapnetwork_mcp/__init__.py +0 -0
- {mapnetwork_mcp-0.1.0 → mapnetwork_mcp-0.1.2}/mapnetwork_mcp/server.py +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="PyStubPackagesAdvertiser" enabled="true" level="WARNING" enabled_by_default="true">
|
|
6
|
+
<option name="ignoredPackages">
|
|
7
|
+
<list>
|
|
8
|
+
<option value="pandas" />
|
|
9
|
+
</list>
|
|
10
|
+
</option>
|
|
11
|
+
</inspection_tool>
|
|
12
|
+
</profile>
|
|
13
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="jdk" jdkName="Python 3.13" jdkType="Python SDK" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="Black">
|
|
4
|
+
<option name="sdkName" value="Python 3.13" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13" project-jdk-type="Python SDK" />
|
|
7
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/mapnetwork-mcp.iml" filepath="$PROJECT_DIR$/.idea/mapnetwork-mcp.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="PropertiesComponent">{}</component>
|
|
4
|
+
<component name="RunManager">
|
|
5
|
+
<configuration name="main" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
|
|
6
|
+
<module name="mapnetwork-mcp" />
|
|
7
|
+
<option name="ENV_FILES" value="" />
|
|
8
|
+
<option name="INTERPRETER_OPTIONS" value="" />
|
|
9
|
+
<option name="PARENT_ENVS" value="true" />
|
|
10
|
+
<envs>
|
|
11
|
+
<env name="PYTHONUNBUFFERED" value="1" />
|
|
12
|
+
</envs>
|
|
13
|
+
<option name="SDK_HOME" value="" />
|
|
14
|
+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
|
15
|
+
<option name="IS_MODULE_SDK" value="true" />
|
|
16
|
+
<option name="ADD_CONTENT_ROOTS" value="true" />
|
|
17
|
+
<option name="ADD_SOURCE_ROOTS" value="true" />
|
|
18
|
+
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
|
19
|
+
<option name="RUN_TOOL" value="" />
|
|
20
|
+
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/main.py" />
|
|
21
|
+
<option name="PARAMETERS" value="" />
|
|
22
|
+
<option name="SHOW_COMMAND_LINE" value="false" />
|
|
23
|
+
<option name="EMULATE_TERMINAL" value="false" />
|
|
24
|
+
<option name="MODULE_MODE" value="false" />
|
|
25
|
+
<option name="REDIRECT_INPUT" value="false" />
|
|
26
|
+
<option name="INPUT_FILE" value="" />
|
|
27
|
+
<method v="2" />
|
|
28
|
+
</configuration>
|
|
29
|
+
</component>
|
|
30
|
+
</project>
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mapnetwork-mcp
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: MCP server — generate styled map images via mapnetwork.app
|
|
5
|
+
Project-URL: Homepage, https://mapnetwork.app
|
|
6
|
+
Project-URL: Repository, https://github.com/toruproject/mapnetwork-mcp
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Requires-Dist: httpx>=0.27.0
|
|
9
|
+
Requires-Dist: mcp[cli]>=1.0.0
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# mapnetwork-mcp
|
|
13
|
+
|
|
14
|
+
MCP server for [MapNetwork](https://mapnetwork.app) — generate styled map images (PNG / SVG) for any location on Earth, directly from Claude or any MCP-compatible AI assistant.
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
- Generate maps from a place name, coordinates, or a list of markers
|
|
19
|
+
- 11 color themes (white, darkBlue, darkGreen, popArt, lightBlue, lightGreen, beige, magenta, gray, black, brawn)
|
|
20
|
+
- Overlay walking / driving routes on the map
|
|
21
|
+
- PNG or SVG output, saved to your Downloads folder
|
|
22
|
+
- Re-download a previously generated map in a different theme or format without regenerating
|
|
23
|
+
- Open any generated map in the MapNetwork web editor for manual customization
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
### Claude Desktop
|
|
28
|
+
|
|
29
|
+
Add the following to your `claude_desktop_config.json`:
|
|
30
|
+
|
|
31
|
+
```json
|
|
32
|
+
{
|
|
33
|
+
"mcpServers": {
|
|
34
|
+
"mapnetwork": {
|
|
35
|
+
"command": "uvx",
|
|
36
|
+
"args": ["mapnetwork-mcp"],
|
|
37
|
+
"alwaysAllow": ["generate_map", "compute_route", "redownload_map"]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
If you use `pip` instead of `uvx`:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pip install mapnetwork-mcp
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"mcpServers": {
|
|
52
|
+
"mapnetwork": {
|
|
53
|
+
"command": "mapnetwork-mcp"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Tools
|
|
60
|
+
|
|
61
|
+
| Tool | Description |
|
|
62
|
+
|---|---|
|
|
63
|
+
| `generate_map` | Generate a styled map image for a location and save it to Downloads |
|
|
64
|
+
| `compute_route` | Compute a walking or driving route between two locations |
|
|
65
|
+
| `redownload_map` | Re-download a previously generated map in a different color theme or format |
|
|
66
|
+
|
|
67
|
+
## Example prompts
|
|
68
|
+
|
|
69
|
+
**Japanese**
|
|
70
|
+
- "渋谷駅周辺の地図を作って"
|
|
71
|
+
- "赤坂駅から赤坂氷川神社までの徒歩ルートを地図にして"
|
|
72
|
+
- "東京駅・日本橋駅・京橋駅を1枚の地図に表示して"
|
|
73
|
+
- "その地図を darkBlue テーマでSVG画像で出し直して"
|
|
74
|
+
|
|
75
|
+
**English**
|
|
76
|
+
- "Generate a map around Shibuya Station"
|
|
77
|
+
- "Show a walking route from Akasaka Station to Akasaka Hikawa Shrine on a map"
|
|
78
|
+
- "Put Tokyo Station, Nihonbashi Station, and Kyobashi Station on a single map"
|
|
79
|
+
- "Redownload that map as an SVG in the darkBlue theme"
|
|
80
|
+
|
|
81
|
+
## Links
|
|
82
|
+
|
|
83
|
+
- Web UI: [https://mapnetwork.app](https://mapnetwork.app)
|
|
84
|
+
- API docs: [https://mapnetwork.app/openapi.json](https://mapnetwork.app/openapi.json)
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# mapnetwork-mcp
|
|
2
|
+
|
|
3
|
+
MCP server for [MapNetwork](https://mapnetwork.app) — generate styled map images (PNG / SVG) for any location on Earth, directly from Claude or any MCP-compatible AI assistant.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Generate maps from a place name, coordinates, or a list of markers
|
|
8
|
+
- 11 color themes (white, darkBlue, darkGreen, popArt, lightBlue, lightGreen, beige, magenta, gray, black, brawn)
|
|
9
|
+
- Overlay walking / driving routes on the map
|
|
10
|
+
- PNG or SVG output, saved to your Downloads folder
|
|
11
|
+
- Re-download a previously generated map in a different theme or format without regenerating
|
|
12
|
+
- Open any generated map in the MapNetwork web editor for manual customization
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
### Claude Desktop
|
|
17
|
+
|
|
18
|
+
Add the following to your `claude_desktop_config.json`:
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"mcpServers": {
|
|
23
|
+
"mapnetwork": {
|
|
24
|
+
"command": "uvx",
|
|
25
|
+
"args": ["mapnetwork-mcp"],
|
|
26
|
+
"alwaysAllow": ["generate_map", "compute_route", "redownload_map"]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If you use `pip` instead of `uvx`:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
pip install mapnetwork-mcp
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
```json
|
|
39
|
+
{
|
|
40
|
+
"mcpServers": {
|
|
41
|
+
"mapnetwork": {
|
|
42
|
+
"command": "mapnetwork-mcp"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Tools
|
|
49
|
+
|
|
50
|
+
| Tool | Description |
|
|
51
|
+
|---|---|
|
|
52
|
+
| `generate_map` | Generate a styled map image for a location and save it to Downloads |
|
|
53
|
+
| `compute_route` | Compute a walking or driving route between two locations |
|
|
54
|
+
| `redownload_map` | Re-download a previously generated map in a different color theme or format |
|
|
55
|
+
|
|
56
|
+
## Example prompts
|
|
57
|
+
|
|
58
|
+
**Japanese**
|
|
59
|
+
- "渋谷駅周辺の地図を作って"
|
|
60
|
+
- "赤坂駅から赤坂氷川神社までの徒歩ルートを地図にして"
|
|
61
|
+
- "東京駅・日本橋駅・京橋駅を1枚の地図に表示して"
|
|
62
|
+
- "その地図を darkBlue テーマでSVG画像で出し直して"
|
|
63
|
+
|
|
64
|
+
**English**
|
|
65
|
+
- "Generate a map around Shibuya Station"
|
|
66
|
+
- "Show a walking route from Akasaka Station to Akasaka Hikawa Shrine on a map"
|
|
67
|
+
- "Put Tokyo Station, Nihonbashi Station, and Kyobashi Station on a single map"
|
|
68
|
+
- "Redownload that map as an SVG in the darkBlue theme"
|
|
69
|
+
|
|
70
|
+
## Links
|
|
71
|
+
|
|
72
|
+
- Web UI: [https://mapnetwork.app](https://mapnetwork.app)
|
|
73
|
+
- API docs: [https://mapnetwork.app/openapi.json](https://mapnetwork.app/openapi.json)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mapnetwork-mcp"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "MCP server — generate styled map images via mapnetwork.app"
|
|
5
|
+
readme = "README.md"
|
|
5
6
|
requires-python = ">=3.11"
|
|
6
7
|
dependencies = [
|
|
7
8
|
"mcp[cli]>=1.0.0",
|
|
@@ -11,6 +12,10 @@ dependencies = [
|
|
|
11
12
|
[project.scripts]
|
|
12
13
|
mapnetwork-mcp = "mapnetwork_mcp.server:main"
|
|
13
14
|
|
|
15
|
+
[project.urls]
|
|
16
|
+
Homepage = "https://mapnetwork.app"
|
|
17
|
+
Repository = "https://github.com/toruproject/mapnetwork-mcp"
|
|
18
|
+
|
|
14
19
|
[build-system]
|
|
15
20
|
requires = ["hatchling"]
|
|
16
21
|
build-backend = "hatchling.build"
|
mapnetwork_mcp-0.1.0/.gitignore
DELETED
mapnetwork_mcp-0.1.0/PKG-INFO
DELETED
|
File without changes
|
|
File without changes
|