- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard. - guardrail-cli: extracted pure helpers into util.rs (split in progress). - 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs. - dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
30 lines
686 B
Python
30 lines
686 B
Python
"""Stdlib-only MCP (Model Context Protocol) server for the Guardrail API.
|
|
|
|
Exposes the read-only Guardrail API as MCP tools over a JSON-RPC 2.0 stdio
|
|
transport so other agents (CMC Agent Hub / TWAK style) can consume Guardrail
|
|
over MCP. No external dependencies: the server reuses the dependency-free
|
|
Python SDK in ``clients/python/guardrail_client``.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .server import (
|
|
SERVER_NAME,
|
|
SERVER_VERSION,
|
|
MCPServer,
|
|
build_prompts,
|
|
build_resources,
|
|
build_tools,
|
|
serve,
|
|
)
|
|
|
|
__all__ = [
|
|
"SERVER_NAME",
|
|
"SERVER_VERSION",
|
|
"MCPServer",
|
|
"build_tools",
|
|
"build_resources",
|
|
"build_prompts",
|
|
"serve",
|
|
]
|