pathgate 0.2.3__tar.gz → 0.2.4__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.
- {pathgate-0.2.3 → pathgate-0.2.4}/PKG-INFO +11 -8
- {pathgate-0.2.3 → pathgate-0.2.4}/README.md +10 -7
- {pathgate-0.2.3 → pathgate-0.2.4}/pyproject.toml +1 -1
- {pathgate-0.2.3 → pathgate-0.2.4}/.gitignore +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/LICENSE +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/__init__.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/__main__.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/config.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/install.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/prompts.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/resources.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/server.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/tool_schemas.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/pathgate/tools.py +0 -0
- {pathgate-0.2.3 → pathgate-0.2.4}/tests/test_server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pathgate
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Filesystem MCP server with allow-listed directories
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -8,6 +8,8 @@ Requires-Python: >=3.10
|
|
|
8
8
|
Requires-Dist: mcp<3,>=2
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
|
|
11
|
+
<!-- mcp-name: io.github.geekgod382/pathgate -->
|
|
12
|
+
|
|
11
13
|
# Pathgate
|
|
12
14
|
|
|
13
15
|
`pathgate` is a Python Model Context Protocol (MCP) server that exposes a controlled filesystem interface to MCP clients such as Claude Desktop, Cursor, VS Code, and inspector tools. The server only permits access to directories that are explicitly allow-listed at startup.
|
|
@@ -31,7 +33,7 @@ Access is restricted by allow-listed paths. At startup, the server resolves the
|
|
|
31
33
|
|
|
32
34
|
## Installation
|
|
33
35
|
|
|
34
|
-
Pathgate package is published on PyPI. To use it, for example with Claude Desktop, add this in the
|
|
36
|
+
Pathgate package is published on PyPI. To use it, for example with Claude Desktop, add this in the claude_desktop_config.json
|
|
35
37
|
|
|
36
38
|
```json
|
|
37
39
|
{
|
|
@@ -50,7 +52,7 @@ Or, you can use the install command to directly write the config file
|
|
|
50
52
|
uvx pathgate install <paths>
|
|
51
53
|
```
|
|
52
54
|
|
|
53
|
-
|
|
55
|
+
Paths should be separated by spaces
|
|
54
56
|
|
|
55
57
|
```bash
|
|
56
58
|
uvx pathgate install C:\Users\me\Documents C:\Users\me\Projects
|
|
@@ -60,11 +62,11 @@ When no paths are given, it prompts you for them.
|
|
|
60
62
|
|
|
61
63
|
### Options
|
|
62
64
|
|
|
63
|
-
`--read-only:` writes the safer variant of the entry.
|
|
64
|
-
`--dry-run`: shows what it would write and changes nothing.
|
|
65
|
-
`--yes`: skips the confirmation prompt.
|
|
66
|
-
`--name`: sets a different entry name (default pathgate).
|
|
67
|
-
`--config PATH`: I build this mcp server for Claude primarily. Using this option edits a specific file, which also works for other clients that use the same mcpServers shape.
|
|
65
|
+
- `--read-only:` writes the safer variant of the entry.
|
|
66
|
+
- `--dry-run`: shows what it would write and changes nothing.
|
|
67
|
+
- `--yes`: skips the confirmation prompt.
|
|
68
|
+
- `--name`: sets a different entry name (default pathgate).
|
|
69
|
+
- `--config PATH`: I build this mcp server for Claude primarily. Using this option edits a specific file, which also works for other clients that use the same mcpServers shape.
|
|
68
70
|
|
|
69
71
|
### Updating
|
|
70
72
|
|
|
@@ -137,6 +139,7 @@ pathgate/
|
|
|
137
139
|
│ ├── __init__.py
|
|
138
140
|
│ ├── __main__.py
|
|
139
141
|
│ ├── config.py
|
|
142
|
+
│ ├── install.py
|
|
140
143
|
│ ├── prompts.py
|
|
141
144
|
│ ├── resources.py
|
|
142
145
|
│ ├── server.py
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- mcp-name: io.github.geekgod382/pathgate -->
|
|
2
|
+
|
|
1
3
|
# Pathgate
|
|
2
4
|
|
|
3
5
|
`pathgate` is a Python Model Context Protocol (MCP) server that exposes a controlled filesystem interface to MCP clients such as Claude Desktop, Cursor, VS Code, and inspector tools. The server only permits access to directories that are explicitly allow-listed at startup.
|
|
@@ -21,7 +23,7 @@ Access is restricted by allow-listed paths. At startup, the server resolves the
|
|
|
21
23
|
|
|
22
24
|
## Installation
|
|
23
25
|
|
|
24
|
-
Pathgate package is published on PyPI. To use it, for example with Claude Desktop, add this in the
|
|
26
|
+
Pathgate package is published on PyPI. To use it, for example with Claude Desktop, add this in the claude_desktop_config.json
|
|
25
27
|
|
|
26
28
|
```json
|
|
27
29
|
{
|
|
@@ -40,7 +42,7 @@ Or, you can use the install command to directly write the config file
|
|
|
40
42
|
uvx pathgate install <paths>
|
|
41
43
|
```
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
Paths should be separated by spaces
|
|
44
46
|
|
|
45
47
|
```bash
|
|
46
48
|
uvx pathgate install C:\Users\me\Documents C:\Users\me\Projects
|
|
@@ -50,11 +52,11 @@ When no paths are given, it prompts you for them.
|
|
|
50
52
|
|
|
51
53
|
### Options
|
|
52
54
|
|
|
53
|
-
`--read-only:` writes the safer variant of the entry.
|
|
54
|
-
`--dry-run`: shows what it would write and changes nothing.
|
|
55
|
-
`--yes`: skips the confirmation prompt.
|
|
56
|
-
`--name`: sets a different entry name (default pathgate).
|
|
57
|
-
`--config PATH`: I build this mcp server for Claude primarily. Using this option edits a specific file, which also works for other clients that use the same mcpServers shape.
|
|
55
|
+
- `--read-only:` writes the safer variant of the entry.
|
|
56
|
+
- `--dry-run`: shows what it would write and changes nothing.
|
|
57
|
+
- `--yes`: skips the confirmation prompt.
|
|
58
|
+
- `--name`: sets a different entry name (default pathgate).
|
|
59
|
+
- `--config PATH`: I build this mcp server for Claude primarily. Using this option edits a specific file, which also works for other clients that use the same mcpServers shape.
|
|
58
60
|
|
|
59
61
|
### Updating
|
|
60
62
|
|
|
@@ -127,6 +129,7 @@ pathgate/
|
|
|
127
129
|
│ ├── __init__.py
|
|
128
130
|
│ ├── __main__.py
|
|
129
131
|
│ ├── config.py
|
|
132
|
+
│ ├── install.py
|
|
130
133
|
│ ├── prompts.py
|
|
131
134
|
│ ├── resources.py
|
|
132
135
|
│ ├── server.py
|
|
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
|
|
File without changes
|