Metadata-Version: 2.4
Name: meok-compliance-gateway
Version: 0.2.0
Summary: MEOK Compliance Gateway — the keystone of the MEOK / CSOAI / SOV3 fleet. Ed25519 sigils + x402 per-call USDC billing + audit-anchor chains + 6 MCP tools (4 free, 2 paywalled). Built by MEOK AI Labs.
Project-URL: Homepage, https://meok.ai
Project-URL: Repository, https://github.com/CSOAI-ORG/meok-compliance-gateway
Author-email: MEOK AI Labs <hello@meok.ai>
License: MIT License
        
        Copyright (c) 2026 CSOAI-ORG / MEOK AI Labs
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: ai-governance,audit,compliance,ed25519,mcp,mcp-server,meok,model-context-protocol,sigil,usdc,x402
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: cryptography==46.0.7
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp==1.28.0
Requires-Dist: uvicorn[standard]==0.49.0
Requires-Dist: x402[evm]>=0.1.0
Provides-Extra: fuzz
Requires-Dist: hypothesis>=6.0; extra == 'fuzz'
Provides-Extra: test
Requires-Dist: hypothesis>=6.0; extra == 'test'
Requires-Dist: pytest>=8.0; extra == 'test'
Requires-Dist: pyyaml>=6.0; extra == 'test'
Description-Content-Type: text/markdown

# MEOK Compliance Gateway

<!-- OpenSSF + hygiene badges (auto-inserted by add_openssf_badge.py) -->
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/CSOAI-ORG/meok-compliance-gateway/badge)](https://scorecard.dev/viewer/?uri=github.com/CSOAI-ORG/meok-compliance-gateway)
[![License](https://img.shields.io/github/license/CSOAI-ORG/meok-compliance-gateway)](https://github.com/CSOAI-ORG/meok-compliance-gateway/blob/main/LICENSE)
[![Last commit](https://img.shields.io/github/last-commit/CSOAI-ORG/meok-compliance-gateway)](https://github.com/CSOAI-ORG/meok-compliance-gateway/commits/main)

Streamable-HTTP / containerized builds of MEOK AI Labs compliance MCP servers —
the HTTP transport that cloud marketplaces (AWS Bedrock AgentCore, Google, Azure,
Smithery) and x402 monetization require.

`http_server.py` serves any MEOK FastMCP server over streamable-HTTP at `/mcp`
(verified: `initialize` → HTTP 200). One container image per flagship via the
`PKG` build arg. See **LISTING.md** for the full deploy + marketplace playbook.

```bash
docker build --build-arg PKG=eu-ai-act-compliance-mcp -t meok/eu-ai-act .
docker run -p 8000:8000 meok/eu-ai-act    # → POST /mcp
```

Flagships: eu-ai-act · dora · nis2 · cra (+ any of the 290 MEOK MCP servers).

## Why MEOK?

- **13 unified governance frameworks** in one deployment (EU AI Act, NIST AI RMF, ISO 42001, ISO 27001, SOC 2, GDPR, HIPAA, DORA, NIS2, CRA, CSRD, ESG, supply-chain).
- **410 verbatim EU AI Act articles** as a parseable source-of-truth (not a third-party summary).
- **HMAC-SHA256 signed attestations** + **BFT consensus** for governance decisions — every audit trail is offline-verifiable, no single point of failure.
- **48-hour zero-config deployment** for the EU AI Act wedge (vs 2.5–9 months for OneTrust, Vanta, Drata, Holistic AI).
- **First governance layer for the 35,000+ MCP server ecosystem** — 13 of 15 GRC competitors have zero MCP presence.

Full source-of-truth + per-surface copy: [KEY_DIFFERENTIATORS.md](./KEY_DIFFERENTIATORS.md). External-comms rubric: [RUBRIC_EXTERNAL_COMMS.md](./RUBRIC_EXTERNAL_COMMS.md).

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)

> ⚠️ **2026-07-28 MCP spec freeze in ~8 weeks** — this gateway tracks the 2025-03-26 spec. Migration plan: see [LISTING.md § MCP Spec Freeze](./LISTING.md#-mcp-2026-07-28-spec-freeze-8-weeks).

## Installation

### PyPI (recommended)
```bash
pip install agentaudit
agentaudit-server
```

### Docker
```bash
docker run -p 8000:8000 ghcr.io/csoai-org/meok-compliance-gateway
```

### Smithery
```bash
smithery add meok-compliance-gateway
```

## Quick Start

```python
from agentaudit import server

# Or run via MCP client:
# mcp.servers/meok-compliance-gateway

# Quick compliance scan:
# quick_scan(system="AI chatbot that processes customer data")
```

## Endpoints

| Endpoint | Purpose |
|----------|---------|
| `/mcp` | MCP streamable-HTTP (POST initialize) |
| `/health` | Health check (GET) |
| `/healthz` | Docker health probe (GET) |
| `/.well-known/agent-card.json` | A2A discovery |
| `/.well-known/mcp-server` | MCP registry card |

## Documentation
- [Full API Reference](https://docs.meok.ai/meok-compliance-gateway)
- [MCP Registry Listing](https://github.com/CSOAI-ORG/meok-compliance-gateway/blob/main/server.json)
- [LLM Discovery](https://github.com/CSOAI-ORG/meok-compliance-gateway/blob/main/llms.txt)

MIT-licensed. MEOK AI Labs (CSOAI LTD, UK CH 16939677).
