@aipermission/mcp 0.1.0 → 0.1.1
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.
- package/README.md +4 -0
- package/dist/init.js +6 -2
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@ AIPermission lets AI coding assistants use scoped server access through a local
|
|
|
6
6
|
|
|
7
7
|
The gateway is intentionally local-only. Run it on the developer machine and keep the URL on `localhost`; remote servers are SSH targets, not places to host the gateway for LAN or internet users.
|
|
8
8
|
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
[Watch the demo video](https://github.com/aipermission/aipermission/releases/download/v0.1.0-rc.1/aipermission-demo.mp4) to see an AI assistant install Uptime Kuma on a VPS while the user approves commands and changes the plan mid-run.
|
|
12
|
+
|
|
9
13
|
`@aipermission/mcp` is the official MCP bridge package. The unscoped `aipermission` npm package is only a placeholder that points users here.
|
|
10
14
|
|
|
11
15
|
The package includes MCP Registry metadata:
|
package/dist/init.js
CHANGED
|
@@ -418,8 +418,12 @@ async function protectGitIgnoredConfig(filePath) {
|
|
|
418
418
|
const entries = current.split(/\r?\n/).map((line) => line.trim());
|
|
419
419
|
if (!entries.includes(relativePath)) {
|
|
420
420
|
const prefix = current && !current.endsWith("\n") ? "\n" : "";
|
|
421
|
-
|
|
422
|
-
|
|
421
|
+
try {
|
|
422
|
+
await fs.mkdir(path.dirname(excludePath), { recursive: true });
|
|
423
|
+
await fs.appendFile(excludePath, `${prefix}${relativePath}\n`, { mode: 0o600 });
|
|
424
|
+
} catch {
|
|
425
|
+
return {};
|
|
426
|
+
}
|
|
423
427
|
}
|
|
424
428
|
return { gitExcluded: true, gitExcludeEntry: relativePath };
|
|
425
429
|
}
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"name": "io.github.aipermission/aipermission-mcp",
|
|
4
4
|
"title": "AIPermission",
|
|
5
5
|
"description": "Local-first MCP bridge for the AIPermission gateway.",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.1",
|
|
7
7
|
"packages": [
|
|
8
8
|
{
|
|
9
9
|
"registryType": "npm",
|
|
10
10
|
"identifier": "@aipermission/mcp",
|
|
11
|
-
"version": "0.1.
|
|
11
|
+
"version": "0.1.1",
|
|
12
12
|
"transport": {
|
|
13
13
|
"type": "stdio"
|
|
14
14
|
}
|