@agentwares/agentguard 0.1.0

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/llms.txt ADDED
@@ -0,0 +1,11 @@
1
+ # agentguard
2
+
3
+ > MCP policy proxy for AI agents: hard spend limits, destructive-action gating with approvals, kill switch, scoped agent keys, dry-run writes with mutation diffs, semantic loop breaker, blast-radius caps, hash-chained audit log. CLI `npx @agentwares/agentguard`; SDK `@agentwares/agentguard-sdk`. No LLM calls, no phone-home, no account.
4
+
5
+ ## Links
6
+
7
+ - [README (install in 60 seconds)](https://github.com/agentwares/agentwares/tree/main/apps/agentguard-cli#readme)
8
+ - [Policy file reference](https://github.com/agentwares/agentwares/tree/main/apps/agentguard-cli#policy)
9
+ - [SDK / middleware](https://github.com/agentwares/agentwares/tree/main/packages/agentguard-sdk#readme)
10
+ - [npm: agentguard](https://www.npmjs.com/package/agentguard)
11
+ - [Permission-diff GitHub Action](https://github.com/agentwares/agentwares/tree/main/assets/permission-diff-action)
package/package.json ADDED
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "@agentwares/agentguard",
3
+ "version": "0.1.0",
4
+ "description": "MCP policy proxy for AI agents: hard spend limits, destructive-action gating with approvals, a kill switch, scoped credentials, dry-run writes with mutation diffs, loop breaker, blast-radius caps and a hash-chained audit log. No LLM calls, no phone-home, no account.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "agentguard": "./dist/cli.js"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "README.md",
21
+ "server.json",
22
+ "llms.txt"
23
+ ],
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "mcpName": "io.github.agentwares/agentguard",
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/agentwares/agentwares",
31
+ "directory": "apps/agentguard-cli"
32
+ },
33
+ "homepage": "https://github.com/agentwares/agentwares/tree/main/apps/agentguard-cli#readme",
34
+ "keywords": [
35
+ "mcp",
36
+ "mcp-proxy",
37
+ "model-context-protocol",
38
+ "ai-agents",
39
+ "agent-safety",
40
+ "spend-limit",
41
+ "kill-switch",
42
+ "dry-run",
43
+ "audit-log",
44
+ "claude-code",
45
+ "cursor",
46
+ "guardrails"
47
+ ],
48
+ "engines": {
49
+ "node": ">=20"
50
+ },
51
+ "dependencies": {
52
+ "@modelcontextprotocol/sdk": "^1.30.0",
53
+ "yaml": "^2.9.0",
54
+ "zod": "^4.5.4",
55
+ "@agentwares/agentguard-core": "^0.1.0"
56
+ },
57
+ "devDependencies": {
58
+ "tsx": "^4.23.13",
59
+ "@agentwares/mcp-kit": "^0.1.0",
60
+ "@agentwares/notify": "^0.1.0"
61
+ },
62
+ "scripts": {
63
+ "build": "tsup",
64
+ "typecheck": "tsc --noEmit",
65
+ "lint": "eslint src",
66
+ "test": "vitest run",
67
+ "listing": "node scripts/generate-listing.mjs",
68
+ "conformance": "node scripts/conformance.mjs"
69
+ }
70
+ }
package/server.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
+ "name": "io.github.agentwares/agentguard",
4
+ "description": "MCP policy proxy: spend caps, approvals for destructive tools, kill switch, dry-run, audit log.",
5
+ "version": "0.1.0",
6
+ "repository": {
7
+ "url": "https://github.com/agentwares/agentwares",
8
+ "source": "github",
9
+ "subfolder": "apps/agentguard-cli"
10
+ },
11
+ "title": "agentguard",
12
+ "websiteUrl": "https://github.com/agentwares/agentwares/tree/main/apps/agentguard-cli",
13
+ "packages": [
14
+ {
15
+ "registryType": "npm",
16
+ "registryBaseUrl": "https://registry.npmjs.org",
17
+ "identifier": "agentguard",
18
+ "version": "0.1.0",
19
+ "runtimeHint": "npx",
20
+ "transport": {
21
+ "type": "stdio"
22
+ },
23
+ "environmentVariables": [
24
+ {
25
+ "name": "AGENTGUARD_CONFIG",
26
+ "description": "Path to agentguard.yaml (default ./agentguard.yaml)",
27
+ "isRequired": false,
28
+ "format": "filepath"
29
+ },
30
+ {
31
+ "name": "AGENTGUARD_KILL",
32
+ "description": "Set to 1 to halt every tool call (kill switch)",
33
+ "isRequired": false
34
+ }
35
+ ]
36
+ }
37
+ ]
38
+ }