gia-mcp-server 0.1.0 → 0.2.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/CHANGELOG.md +30 -47
- package/LICENSE +54 -53
- package/README.md +142 -280
- package/bin/gia-mcp-server.js +2 -20
- package/dist/proxy.d.ts +17 -0
- package/dist/proxy.js +145 -0
- package/package.json +57 -68
- package/dist/index.d.ts +0 -38
- package/dist/index.js +0 -865
package/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,30 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to GIA MCP Server will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [0.
|
|
6
|
-
|
|
7
|
-
###
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
- Healthy band: 10-18%
|
|
32
|
-
- Status levels: HEALTHY, DEGRADED, CRITICAL
|
|
33
|
-
|
|
34
|
-
#### Compliance Mapping
|
|
35
|
-
- NIST AI RMF (8 controls)
|
|
36
|
-
- EU AI Act (8 articles)
|
|
37
|
-
- ISO/IEC 42001 (6 controls)
|
|
38
|
-
- NIST SP 800-53 (11 controls)
|
|
39
|
-
|
|
40
|
-
#### EU AI Act Risk Assessment
|
|
41
|
-
- Four-tier risk classification (Unacceptable, High, Limited, Minimal)
|
|
42
|
-
- Governance and documentation requirements per tier
|
|
43
|
-
- Domain-aware assessment
|
|
44
|
-
|
|
45
|
-
#### MCP Transport
|
|
46
|
-
- 10 MCP tools via stdio transport
|
|
47
|
-
- Compatible with Claude Desktop and Claude Code
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to GIA MCP Server will be documented in this file.
|
|
4
|
+
|
|
5
|
+
## [0.2.0] - 2026-02-25
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- **Architecture**: Package is now a thin proxy to the hosted GIA server at `gia.aceadvising.com`
|
|
9
|
+
- All governance logic executes server-side
|
|
10
|
+
- Requires `GIA_API_KEY` environment variable for authentication
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
- Dynamic tool discovery (tools are fetched from the server — no package update needed when new tools are added)
|
|
14
|
+
- Bearer token authentication via API key
|
|
15
|
+
- Configurable server URL via `GIA_SERVER_URL` environment variable
|
|
16
|
+
- 29 governance tools available (up from 10 in v0.1.0)
|
|
17
|
+
- MCP tool annotations (readOnlyHint, destructiveHint, idempotentHint)
|
|
18
|
+
- Support for MCP resources and prompts
|
|
19
|
+
|
|
20
|
+
### Removed
|
|
21
|
+
- Local governance engine (all logic is now server-side)
|
|
22
|
+
|
|
23
|
+
## [0.1.0] - 2026-02-09
|
|
24
|
+
|
|
25
|
+
### Initial Release
|
|
26
|
+
- Local governance engine with 10 MCP tools
|
|
27
|
+
- MAI Framework classification
|
|
28
|
+
- Forensic audit ledger
|
|
29
|
+
- Governance scoring
|
|
30
|
+
- Compliance mapping
|
package/LICENSE
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
GIA MCP Server — Proprietary Software License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025-2026 William J. Storey III / ACE Advising
|
|
4
|
-
All Rights Reserved.
|
|
5
|
-
|
|
6
|
-
NOTICE: This software and all associated documentation, algorithms,
|
|
7
|
-
frameworks, and intellectual property (collectively, "the Software")
|
|
8
|
-
are the proprietary property of William J. Storey III / ACE Advising.
|
|
9
|
-
|
|
10
|
-
GRANT OF USE:
|
|
11
|
-
You may install and use the Software in its compiled/distributed form
|
|
12
|
-
for the purpose of governance and compliance operations within your
|
|
13
|
-
own organization, subject to the following restrictions.
|
|
14
|
-
|
|
15
|
-
RESTRICTIONS:
|
|
16
|
-
1. You may NOT modify, reverse-engineer, decompile, or disassemble
|
|
17
|
-
the Software or any portion thereof.
|
|
18
|
-
2. You may NOT redistribute, sublicense, sell, lease, or transfer
|
|
19
|
-
the Software to any third party without prior written consent.
|
|
20
|
-
3. You may NOT create derivative works based on the Software.
|
|
21
|
-
4. You may NOT remove or alter any proprietary notices, labels,
|
|
22
|
-
or marks on the Software.
|
|
23
|
-
5. You may NOT use the Software to build a competing product
|
|
24
|
-
or service.
|
|
25
|
-
|
|
26
|
-
INTELLECTUAL PROPERTY:
|
|
27
|
-
The following concepts, algorithms, and frameworks embodied in the
|
|
28
|
-
Software are the intellectual property of the author:
|
|
29
|
-
- MAI Framework (Mandatory/Advisory/Informational classification)
|
|
30
|
-
- Storey Threshold (governance health metric
|
|
31
|
-
- Forensic Ledger (hash-chained, append-only audit architecture)
|
|
32
|
-
- Governance Scoring Engine (
|
|
33
|
-
- GIA Governance Architecture (the layered governance-as-code pattern)
|
|
34
|
-
|
|
35
|
-
DISCLAIMER:
|
|
36
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
37
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
38
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
39
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
40
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
41
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
42
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
43
|
-
|
|
44
|
-
TERMINATION:
|
|
45
|
-
This license terminates automatically if you violate any of its terms.
|
|
46
|
-
Upon termination, you must destroy all copies of the Software in
|
|
47
|
-
your possession.
|
|
48
|
-
|
|
49
|
-
For licensing inquiries, partnership opportunities, or enterprise
|
|
50
|
-
agreements, contact:
|
|
51
|
-
|
|
52
|
-
William J. Storey III
|
|
53
|
-
ACE Advising
|
|
1
|
+
GIA MCP Server — Proprietary Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 William J. Storey III / ACE Advising
|
|
4
|
+
All Rights Reserved.
|
|
5
|
+
|
|
6
|
+
NOTICE: This software and all associated documentation, algorithms,
|
|
7
|
+
frameworks, and intellectual property (collectively, "the Software")
|
|
8
|
+
are the proprietary property of William J. Storey III / ACE Advising.
|
|
9
|
+
|
|
10
|
+
GRANT OF USE:
|
|
11
|
+
You may install and use the Software in its compiled/distributed form
|
|
12
|
+
for the purpose of governance and compliance operations within your
|
|
13
|
+
own organization, subject to the following restrictions.
|
|
14
|
+
|
|
15
|
+
RESTRICTIONS:
|
|
16
|
+
1. You may NOT modify, reverse-engineer, decompile, or disassemble
|
|
17
|
+
the Software or any portion thereof.
|
|
18
|
+
2. You may NOT redistribute, sublicense, sell, lease, or transfer
|
|
19
|
+
the Software to any third party without prior written consent.
|
|
20
|
+
3. You may NOT create derivative works based on the Software.
|
|
21
|
+
4. You may NOT remove or alter any proprietary notices, labels,
|
|
22
|
+
or marks on the Software.
|
|
23
|
+
5. You may NOT use the Software to build a competing product
|
|
24
|
+
or service.
|
|
25
|
+
|
|
26
|
+
INTELLECTUAL PROPERTY:
|
|
27
|
+
The following concepts, algorithms, and frameworks embodied in the
|
|
28
|
+
Software are the intellectual property of the author:
|
|
29
|
+
- MAI Framework (Mandatory/Advisory/Informational classification)
|
|
30
|
+
- Storey Threshold (governance health metric)
|
|
31
|
+
- Forensic Ledger (hash-chained, append-only audit architecture)
|
|
32
|
+
- Governance Scoring Engine (weighted composite scoring)
|
|
33
|
+
- GIA Governance Architecture (the layered governance-as-code pattern)
|
|
34
|
+
|
|
35
|
+
DISCLAIMER:
|
|
36
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
37
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
38
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
39
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
40
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
41
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
42
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
43
|
+
|
|
44
|
+
TERMINATION:
|
|
45
|
+
This license terminates automatically if you violate any of its terms.
|
|
46
|
+
Upon termination, you must destroy all copies of the Software in
|
|
47
|
+
your possession.
|
|
48
|
+
|
|
49
|
+
For licensing inquiries, partnership opportunities, or enterprise
|
|
50
|
+
agreements, contact:
|
|
51
|
+
|
|
52
|
+
William J. Storey III
|
|
53
|
+
ACE Advising
|
|
54
|
+
https://gia.aceadvising.com
|
package/README.md
CHANGED
|
@@ -1,280 +1,142 @@
|
|
|
1
|
-
# GIA MCP Server
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
###
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
Recommendation: Within optimal band (10-18%). System is calibrated.
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
| Rate | Status | Meaning |
|
|
147
|
-
|------|--------|---------|
|
|
148
|
-
| Below 10% | DEGRADED | Under-classifying risks |
|
|
149
|
-
| 10-18% | HEALTHY | Appropriately calibrated |
|
|
150
|
-
| 18-25% | DEGRADED | Over-classifying, unnecessary friction |
|
|
151
|
-
| Above 25% | CRITICAL | System bottlenecked |
|
|
152
|
-
|
|
153
|
-
### approve_gate
|
|
154
|
-
|
|
155
|
-
Human-in-the-loop approval for MANDATORY decisions.
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
"List pending gates"
|
|
159
|
-
→ 1 pending gate: GATE-1707350400-a1b2c3
|
|
160
|
-
|
|
161
|
-
"Approve gate GATE-1707350400-a1b2c3 rationale: Verified retention policy"
|
|
162
|
-
→ Status: APPROVED | Approved by: operator
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
### audit_pipeline
|
|
166
|
-
|
|
167
|
-
Query the hash-chained forensic ledger. Every entry is cryptographically linked to the previous (SHA-256). Tamper with one, the chain breaks.
|
|
168
|
-
|
|
169
|
-
### assess_risk_tier
|
|
170
|
-
|
|
171
|
-
EU AI Act risk classification (Unacceptable, High, Limited, Minimal) with governance and documentation requirements per tier.
|
|
172
|
-
|
|
173
|
-
### map_compliance
|
|
174
|
-
|
|
175
|
-
Map GIA controls to regulatory frameworks:
|
|
176
|
-
- **NIST AI RMF** — GOVERN, MAP, MEASURE, MANAGE
|
|
177
|
-
- **EU AI Act** — Articles 9, 10, 11, 12, 13, 14, 15, 52
|
|
178
|
-
- **ISO/IEC 42001** — AI management system
|
|
179
|
-
- **NIST SP 800-53** — Security and privacy controls
|
|
180
|
-
|
|
181
|
-
### monitor_agents
|
|
182
|
-
|
|
183
|
-
Health status for all governed agents.
|
|
184
|
-
|
|
185
|
-
### generate_report
|
|
186
|
-
|
|
187
|
-
Governance status report: threshold health, compliance coverage, agent states, operational metrics.
|
|
188
|
-
|
|
189
|
-
### system_status
|
|
190
|
-
|
|
191
|
-
Full system snapshot: uptime, ledger state, configuration, governance module status.
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Architecture
|
|
196
|
-
|
|
197
|
-
```
|
|
198
|
-
┌──────────────────────────────────────────────────────────┐
|
|
199
|
-
│ Claude Desktop / Claude Code (MCP Client) │
|
|
200
|
-
└──────────────────────┬───────────────────────────────────┘
|
|
201
|
-
│ stdio
|
|
202
|
-
┌──────────────────────▼───────────────────────────────────┐
|
|
203
|
-
│ GIA MCP Server │
|
|
204
|
-
│ │
|
|
205
|
-
│ ┌─────────────────────────────────────────────────────┐ │
|
|
206
|
-
│ │ Transport Layer (MCP Protocol) │ │
|
|
207
|
-
│ │ 10 tools | validate | delegate │ │
|
|
208
|
-
│ └─────────────────────┬───────────────────────────────┘ │
|
|
209
|
-
│ │ │
|
|
210
|
-
│ ┌─────────────────────▼───────────────────────────────┐ │
|
|
211
|
-
│ │ Governance Engine │ │
|
|
212
|
-
│ │ │ │
|
|
213
|
-
│ │ MAI Classifier ── Gate Enforcer ── Forensic Ledger │ │
|
|
214
|
-
│ │ Scoring Engine ── Storey Threshold ── Compliance │ │
|
|
215
|
-
│ └─────────────────────────────────────────────────────┘ │
|
|
216
|
-
└──────────────────────────────────────────────────────────┘
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
**Design principles:**
|
|
220
|
-
- Transport layer does zero business logic
|
|
221
|
-
- Every operation writes to the forensic ledger
|
|
222
|
-
- Classification is deterministic (pattern matching + rules, not LLM-based)
|
|
223
|
-
- Audit entries are hash-chained (SHA-256)
|
|
224
|
-
- Zero external dependencies beyond `@modelcontextprotocol/sdk`
|
|
225
|
-
|
|
226
|
-
---
|
|
227
|
-
|
|
228
|
-
## Concepts
|
|
229
|
-
|
|
230
|
-
### MAI Framework
|
|
231
|
-
|
|
232
|
-
Every AI agent decision is classified as **Mandatory**, **Advisory**, or **Informational**:
|
|
233
|
-
|
|
234
|
-
- **MANDATORY** — Blocks execution until a human approves through the gate. Deletions, submissions, deployments, financial transactions, PII operations.
|
|
235
|
-
- **ADVISORY** — Logs a recommendation, continues execution. Searches, drafts, rankings, analysis.
|
|
236
|
-
- **INFORMATIONAL** — Audit trail entry only. Status checks, read operations, internal routing.
|
|
237
|
-
|
|
238
|
-
Context elevates, never reduces. A search (ADVISORY) that touches PII becomes MANDATORY.
|
|
239
|
-
|
|
240
|
-
### Storey Threshold
|
|
241
|
-
|
|
242
|
-
A quantitative health metric. Measures what percentage of decisions require MANDATORY classification.
|
|
243
|
-
|
|
244
|
-
- Too low (<10%): Rubber-stamping. Critical decisions aren't being caught.
|
|
245
|
-
- Healthy (10-18%): Appropriate friction. Most decisions flow; critical ones stop.
|
|
246
|
-
- Too high (>18%): Bottleneck. Trust calibration needed.
|
|
247
|
-
|
|
248
|
-
### Forensic Ledger
|
|
249
|
-
|
|
250
|
-
Append-only, hash-chained audit trail. Every entry contains:
|
|
251
|
-
- Operation name and timestamp
|
|
252
|
-
- MAI classification level
|
|
253
|
-
- Input/output hashes (SHA-256)
|
|
254
|
-
- Chain link to previous entry
|
|
255
|
-
|
|
256
|
-
Verify chain integrity at any time. If any entry is modified, the chain breaks.
|
|
257
|
-
|
|
258
|
-
---
|
|
259
|
-
|
|
260
|
-
## Limitations (v0.1)
|
|
261
|
-
|
|
262
|
-
| Works | Not yet |
|
|
263
|
-
|-------|---------|
|
|
264
|
-
| MAI classification with elevation rules | No persistent storage (in-memory, resets on restart) |
|
|
265
|
-
| Human-in-the-loop gate enforcement | No auth on MCP transport |
|
|
266
|
-
| SHA-256 hash-chained audit trail | No distributed deployment |
|
|
267
|
-
| Governance scoring with pass/fail | No rate limiting |
|
|
268
|
-
| Storey Threshold health monitoring | Compliance mappings are static |
|
|
269
|
-
| 4-framework compliance mapping | Single vertical (ACE/VA claims) |
|
|
270
|
-
| EU AI Act risk assessment | No database persistence |
|
|
271
|
-
|
|
272
|
-
Known gaps with planned solutions. Governance engine is fully functional.
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
## License
|
|
277
|
-
|
|
278
|
-
Proprietary. Copyright (c) 2025-2026 William J. Storey III / ACE Advising. All rights reserved.
|
|
279
|
-
|
|
280
|
-
The MAI Framework, Storey Threshold, Forensic Ledger architecture, and GIA governance patterns are intellectual property of the author. See [LICENSE](LICENSE) for terms.
|
|
1
|
+
# GIA MCP Server
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/gia-mcp-server)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
[](https://nodejs.org)
|
|
6
|
+
[](https://modelcontextprotocol.io)
|
|
7
|
+
|
|
8
|
+
**Governance Intelligence Architecture** — the governance layer for Claude AI agents.
|
|
9
|
+
|
|
10
|
+
This package connects [Claude Desktop](https://claude.ai/download) and [Claude Code](https://docs.anthropic.com/en/docs/claude-code) to the hosted GIA governance engine, giving your AI workflows enterprise-grade governance: decision classification, forensic audit trails, human-in-the-loop gates, compliance mapping, and more.
|
|
11
|
+
|
|
12
|
+
Built on Anthropic's [Model Context Protocol](https://modelcontextprotocol.io).
|
|
13
|
+
|
|
14
|
+
## Why GIA?
|
|
15
|
+
|
|
16
|
+
AI agents are powerful — but **ungoverned AI agents are a liability**. GIA solves this by providing:
|
|
17
|
+
|
|
18
|
+
- **Decision Classification** — Every AI decision is classified as Mandatory (human required), Advisory (human optional), or Informational (agent autonomous)
|
|
19
|
+
- **Forensic Audit Trail** — Hash-chained, tamper-evident ledger of every operation, decision, and gate approval
|
|
20
|
+
- **Human-in-the-Loop Gates** — High-impact actions require explicit human approval before execution
|
|
21
|
+
- **Compliance Mapping** — Map governance controls to NIST AI RMF, EU AI Act, ISO 42001, and NIST 800-53
|
|
22
|
+
- **Governed Memory** — Hash-sealed knowledge packs with trust levels, TTL, and role-based access
|
|
23
|
+
|
|
24
|
+
GIA is the governance layer that makes Claude deployments enterprise-ready.
|
|
25
|
+
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
### 1. Get an API Key
|
|
29
|
+
|
|
30
|
+
Visit [gia.aceadvising.com](https://gia.aceadvising.com) to create an account and generate an API key.
|
|
31
|
+
|
|
32
|
+
### 2. Configure Claude Desktop
|
|
33
|
+
|
|
34
|
+
Add to your `claude_desktop_config.json`:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"mcpServers": {
|
|
39
|
+
"gia": {
|
|
40
|
+
"command": "npx",
|
|
41
|
+
"args": ["-y", "gia-mcp-server"],
|
|
42
|
+
"env": {
|
|
43
|
+
"GIA_API_KEY": "gia_your_api_key_here"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### 3. Configure Claude Code
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
claude mcp add gia -- npx -y gia-mcp-server
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Then set your API key in your environment:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
export GIA_API_KEY=gia_your_api_key_here
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## How It Works
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
Claude Desktop/Code <--stdio--> gia-mcp-server <--HTTPS--> gia.aceadvising.com
|
|
66
|
+
(MCP Client) (this package) (Governance Engine)
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
This package is a lightweight proxy. All governance logic runs on the hosted GIA server — nothing is computed locally. When you add new tools or capabilities on the server, they appear automatically without updating this package.
|
|
70
|
+
|
|
71
|
+
## Available Tools
|
|
72
|
+
|
|
73
|
+
### Governance Core
|
|
74
|
+
| Tool | Description |
|
|
75
|
+
|------|-------------|
|
|
76
|
+
| `classify_decision` | Classify an AI agent decision using the MAI Framework |
|
|
77
|
+
| `score_governance` | Compute weighted governance score from integrity, accuracy, and compliance values |
|
|
78
|
+
| `evaluate_threshold` | Compute the Storey Threshold — governance health metric |
|
|
79
|
+
| `assess_risk_tier` | Assess AI system risk tier with governance recommendations |
|
|
80
|
+
| `map_compliance` | Map governance components to regulatory compliance frameworks |
|
|
81
|
+
| `approve_gate` | Approve or reject a pending mandatory gate decision (human-in-the-loop) |
|
|
82
|
+
|
|
83
|
+
### Audit & Monitoring
|
|
84
|
+
| Tool | Description |
|
|
85
|
+
|------|-------------|
|
|
86
|
+
| `audit_pipeline` | Query the hash-chained forensic audit ledger |
|
|
87
|
+
| `verify_ledger` | Verify integrity of the audit ledger hash chain |
|
|
88
|
+
| `generate_report` | Generate a governance status report |
|
|
89
|
+
| `system_status` | Get full system health and configuration |
|
|
90
|
+
| `monitor_agents` | Monitor status and health of governed AI agents |
|
|
91
|
+
|
|
92
|
+
### Governed Memory Packs
|
|
93
|
+
| Tool | Description |
|
|
94
|
+
|------|-------------|
|
|
95
|
+
| `seal_memory_pack` | Create a hash-sealed Governed Memory Pack |
|
|
96
|
+
| `load_memory_pack` | Load a memory pack into agent context with validation |
|
|
97
|
+
| `transfer_memory_pack` | Transfer a memory pack between agents via governed corridor |
|
|
98
|
+
| `compose_memory_packs` | Compose multiple memory packs into a unified context |
|
|
99
|
+
| `distill_memory_pack` | Distill governance patterns from usage history |
|
|
100
|
+
| `promote_memory_pack` | Promote a memory pack to a higher trust level |
|
|
101
|
+
|
|
102
|
+
### Site Reliability
|
|
103
|
+
| Tool | Description |
|
|
104
|
+
|------|-------------|
|
|
105
|
+
| `srt_run_watchdog` | Submit health check results to the SRT Watchdog |
|
|
106
|
+
| `srt_diagnose` | Run diagnostician on an incident |
|
|
107
|
+
| `srt_approve_repair` | Approve or reject a pending repair plan |
|
|
108
|
+
| `srt_generate_postmortem` | Generate a structured postmortem report |
|
|
109
|
+
|
|
110
|
+
### Infrastructure Operations
|
|
111
|
+
| Tool | Description |
|
|
112
|
+
|------|-------------|
|
|
113
|
+
| `gia_scan_environment` | Detect target environment (OS, containers, services) |
|
|
114
|
+
| `gia_list_packs` | List available operations packs |
|
|
115
|
+
| `gia_dry_run_pack` | Preview pack execution with blast radius analysis |
|
|
116
|
+
| `gia_apply_pack` | Execute a remediation or hardening pack |
|
|
117
|
+
| `gia_run_patrol` | Execute read-only patrol or audit checks |
|
|
118
|
+
|
|
119
|
+
### Value & Impact
|
|
120
|
+
| Tool | Description |
|
|
121
|
+
|------|-------------|
|
|
122
|
+
| `record_value_metric` | Record a workflow value metric for ROI reporting |
|
|
123
|
+
| `record_governance_event` | Record a governance event |
|
|
124
|
+
| `generate_impact_report` | Generate economic and governance impact report |
|
|
125
|
+
|
|
126
|
+
## Configuration
|
|
127
|
+
|
|
128
|
+
| Environment Variable | Required | Default | Description |
|
|
129
|
+
|---------------------|----------|---------|-------------|
|
|
130
|
+
| `GIA_API_KEY` | Yes | — | Your GIA API key |
|
|
131
|
+
| `GIA_SERVER_URL` | No | `https://gia.aceadvising.com/mcp` | Custom server URL |
|
|
132
|
+
|
|
133
|
+
## Requirements
|
|
134
|
+
|
|
135
|
+
- Node.js 18 or later
|
|
136
|
+
- A GIA API key ([get one here](https://gia.aceadvising.com))
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
Proprietary. See [LICENSE](LICENSE) for details.
|
|
141
|
+
|
|
142
|
+
Copyright (c) 2025-2026 William J. Storey III / ACE Advising
|
package/bin/gia-mcp-server.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* GIA MCP Server — CLI Entry Point
|
|
5
|
-
*
|
|
6
|
-
* Governance Intelligence Architecture
|
|
7
|
-
* Built on Anthropic's Model Context Protocol
|
|
8
|
-
*
|
|
9
|
-
* Copyright (c) 2025-2026 William J. Storey III / ACE Advising
|
|
10
|
-
* All rights reserved. See LICENSE for details.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { fileURLToPath } from 'node:url';
|
|
14
|
-
import { dirname, join } from 'node:path';
|
|
15
|
-
|
|
16
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
-
const __dirname = dirname(__filename);
|
|
18
|
-
|
|
19
|
-
// Load the compiled server
|
|
20
|
-
await import(join(__dirname, '..', 'dist', 'index.js'));
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import '../dist/proxy.js';
|
package/dist/proxy.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* GIA MCP Server — Proxy
|
|
4
|
+
*
|
|
5
|
+
* Transparent MCP bridge that connects Claude Desktop / Claude Code
|
|
6
|
+
* to the hosted GIA governance engine at gia.aceadvising.com.
|
|
7
|
+
*
|
|
8
|
+
* All governance logic executes server-side. This package contains
|
|
9
|
+
* zero governance algorithms — it is a pure protocol relay.
|
|
10
|
+
*
|
|
11
|
+
* Architecture:
|
|
12
|
+
* Claude <--stdio--> this proxy <--HTTPS--> gia.aceadvising.com/mcp
|
|
13
|
+
*
|
|
14
|
+
* @author ACE Advising
|
|
15
|
+
* @version 0.2.0
|
|
16
|
+
*/
|
|
17
|
+
export {};
|