mcp-gov 1.2.1 → 1.2.2
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 +9 -0
- package/bin/mcp-gov.js +12 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
```
|
|
2
|
+
███╗ ███╗ ██████╗██████╗ ██████╗ ██████╗ ██╗ ██╗
|
|
3
|
+
████╗ ████║██╔════╝██╔══██╗ ██╔════╝ ██╔═══██╗██║ ██║
|
|
4
|
+
██╔████╔██║██║ ██████╔╝ ██║ ███╗██║ ██║██║ ██║
|
|
5
|
+
██║╚██╔╝██║██║ ██╔═══╝ ██║ ██║██║ ██║╚██╗ ██╔╝
|
|
6
|
+
██║ ╚═╝ ██║╚██████╗██║ ╚██████╔╝╚██████╔╝ ╚████╔╝
|
|
7
|
+
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═════╝ ╚═════╝ ╚═══╝
|
|
8
|
+
```
|
|
9
|
+
|
|
1
10
|
# MCP Governance System
|
|
2
11
|
|
|
3
12
|
A permission control and audit logging system for Model Context Protocol (MCP) servers. Provides fine-grained governance over tool operations with **automatic rule generation**, **wrap/unwrap capabilities**, and structured audit logs.
|
package/bin/mcp-gov.js
CHANGED
|
@@ -33,8 +33,19 @@ function ask(question) {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
const logo = `
|
|
37
|
+
███╗ ███╗ ██████╗██████╗ ██████╗ ██████╗ ██╗ ██╗
|
|
38
|
+
████╗ ████║██╔════╝██╔══██╗ ██╔════╝ ██╔═══██╗██║ ██║
|
|
39
|
+
██╔████╔██║██║ ██████╔╝ ██║ ███╗██║ ██║██║ ██║
|
|
40
|
+
██║╚██╔╝██║██║ ██╔═══╝ ██║ ██║██║ ██║╚██╗ ██╔╝
|
|
41
|
+
██║ ╚═╝ ██║╚██████╗██║ ╚██████╔╝╚██████╔╝ ╚████╔╝
|
|
42
|
+
╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═════╝ ╚═════╝ ╚═══╝
|
|
43
|
+
`;
|
|
44
|
+
|
|
36
45
|
async function main() {
|
|
37
|
-
console.log(
|
|
46
|
+
console.log(logo);
|
|
47
|
+
console.log(` v${version}`);
|
|
48
|
+
console.log('');
|
|
38
49
|
console.log('Select action:');
|
|
39
50
|
console.log(' 1) Wrap MCP servers');
|
|
40
51
|
console.log(' 2) Unwrap MCP servers');
|