gomcp

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: Apache-2.0

README

GoMCP: The Secure Memory Core for AI Agents

Go Version License Protocol

"Единственный RLM-сервер памяти с математически доказанной безопасностью (Sentinel Lattice). Работает локально, масштабируется глобально."

GoMCP is the enterprise core of the Syntrex AI SOC ecosystem. It is an extremely fast, secure, and persistent Model Context Protocol (MCP) server entirely written in Go. GoMCP gives Large Language Models a permanent, evolving memory and self-modifying context, transforming standard text agents into self-improving persistent intelligences.

🚀 Key Features

  • 🛡️ Sentinel Lattice Primitives: (TSA, CAFL, GPS...)
  • Sub-millisecond latency: Pure Go execution with optional Rust bindings
  • 🔌 57+ Native MCP Tools: Deeply integrated tools right out of the box
  • 💾 Persistent Causal Graph Memory: Hierarchical memory layers (L0-L3) backed by robust SQLite temporal caching

⚡ Quick Start

Install GoMCP as an independent memory server in 30 seconds:

go install github.com/syntrex-lab/gomcp/cmd/gomcp@latest

Initialize your RLM context inside a workspace:

gomcp init
gomcp serve --port 9100

🧠 Use Cases

  • Autonomous Agents: Build agents with infinite, structured memory.
  • Secure RAG: Query codebases with provable bounds and role-based clearance.
  • Local AI Context: Supercharge your local LLMs (Ollama, vLLM) with a centralized context nervous system.

🛡️ Enterprise CTA

Need a full SOC dashboard, 66 offensive Rust engines, and distributed intelligence orchestration?
Check out our enterprise platform: Syntrex AI SOC

License

Licensed under Apache 2.0 – Free for commercial and private use.

Directories

Path Synopsis
cmd
gomcp command
GoMCP v2 — High-performance Go-native MCP server for the RLM Toolkit.
GoMCP v2 — High-performance Go-native MCP server for the RLM Toolkit.
immune command
Package main provides the SENTINEL immune agent (SEC-002 eBPF Runtime Guard).
Package main provides the SENTINEL immune agent (SEC-002 eBPF Runtime Guard).
sidecar command
Package main provides the Universal Sidecar CLI entry point (§5.5).
Package main provides the Universal Sidecar CLI entry point (§5.5).
soc command
Package main provides the standalone SOC API server entry point.
Package main provides the standalone SOC API server entry point.
soc-correlate command
Package main provides the SOC Correlate process (SEC-001 Process Isolation).
Package main provides the SOC Correlate process (SEC-001 Process Isolation).
soc-ingest command
Package main provides the SOC Ingest process (SEC-001 Process Isolation).
Package main provides the SOC Ingest process (SEC-001 Process Isolation).
soc-respond command
Package main provides the SOC Respond process (SEC-001 Process Isolation).
Package main provides the SOC Respond process (SEC-001 Process Isolation).
syntrex-proxy command
syntrex-proxy — transparent reverse proxy that scans LLM prompts.
syntrex-proxy — transparent reverse proxy that scans LLM prompts.
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
application/contextengine
Package contextengine implements the Proactive Context Engine.
Package contextengine implements the Proactive Context Engine.
application/lifecycle
Package lifecycle manages graceful shutdown with auto-save of session state, cache flush, and database closure.
Package lifecycle manages graceful shutdown with auto-save of session state, cache flush, and database closure.
application/orchestrator
Package orchestrator implements the DIP Heartbeat Orchestrator.
Package orchestrator implements the DIP Heartbeat Orchestrator.
application/resilience
Package resilience implements the Sentinel Autonomous Resilience Layer (SARL).
Package resilience implements the Sentinel Autonomous Resilience Layer (SARL).
application/resources
Package resources provides MCP resource implementations.
Package resources provides MCP resource implementations.
application/shadow_ai
Package shadow_ai implements the Sentinel Shadow AI Control Module.
Package shadow_ai implements the Sentinel Shadow AI Control Module.
application/sidecar
Package sidecar implements the Universal Sidecar (§5.5) — a zero-dependency Go binary that runs alongside SENTINEL sensors, tails their STDOUT/logs, and pushes parsed security events to the SOC Event Bus.
Package sidecar implements the Universal Sidecar (§5.5) — a zero-dependency Go binary that runs alongside SENTINEL sensors, tails their STDOUT/logs, and pushes parsed security events to the SOC Event Bus.
application/soc
Package soc provides SOC analytics: event trends, severity distribution, top sources, MITRE ATT&CK coverage, and time-series aggregation.
Package soc provides SOC analytics: event trends, severity distribution, top sources, MITRE ATT&CK coverage, and time-series aggregation.
application/tools
Package tools — Apathy Detection and Apoptosis Recovery (DIP H1.4).
Package tools — Apathy Detection and Apoptosis Recovery (DIP H1.4).
domain/alert
Package alert defines the Alert domain entity and severity levels for the DIP-Watcher proactive monitoring system.
Package alert defines the Alert domain entity and severity levels for the DIP-Watcher proactive monitoring system.
domain/causal
Package causal defines domain entities for causal reasoning chains.
Package causal defines domain entities for causal reasoning chains.
domain/circuitbreaker
Package circuitbreaker implements a state machine that controls the health of recursive pipelines (DIP H1.1).
Package circuitbreaker implements a state machine that controls the health of recursive pipelines (DIP H1.1).
domain/context
Package context defines domain entities for the Proactive Context Engine.
Package context defines domain entities for the Proactive Context Engine.
domain/crystal
Package crystal defines domain entities for code crystal indexing (C³).
Package crystal defines domain entities for code crystal indexing (C³).
domain/entropy
Package entropy implements the Entropy Gate — a DIP H0.3 component that measures Shannon entropy of text signals and blocks anomalous patterns.
Package entropy implements the Entropy Gate — a DIP H0.3 component that measures Shannon entropy of text signals and blocks anomalous patterns.
domain/eval
Package eval implements the CLASP Evaluation Framework (SDD-005).
Package eval implements the CLASP Evaluation Framework (SDD-005).
domain/guidance
Package guidance implements the Security Context MCP server domain (SDD-006).
Package guidance implements the Security Context MCP server domain (SDD-006).
domain/hooks
Package hooks implements the Syntrex Hook Provider domain logic (SDD-004).
Package hooks implements the Syntrex Hook Provider domain logic (SDD-004).
domain/identity
Package identity implements Non-Human Identity (NHI) for AI agents (SDD-003).
Package identity implements Non-Human Identity (NHI) for AI agents (SDD-003).
domain/intent
Package intent provides the Intent Distiller — recursive compression of user input into a pure intent vector (DIP H0.2).
Package intent provides the Intent Distiller — recursive compression of user input into a pure intent vector (DIP H0.2).
domain/memory
Package memory defines domain entities for hierarchical memory (H-MEM).
Package memory defines domain entities for hierarchical memory (H-MEM).
domain/mimicry
Package mimicry provides semantic text transformation for OPSEC (v3.8 Strike Force).
Package mimicry provides semantic text transformation for OPSEC (v3.8 Strike Force).
domain/oracle
Package oracle implements the Action Oracle — deterministic verification of distilled intent against a whitelist of permitted actions (DIP H1.2).
Package oracle implements the Action Oracle — deterministic verification of distilled intent against a whitelist of permitted actions (DIP H1.2).
domain/peer
Package peer defines domain entities for Peer-to-Peer Genome Verification and Distributed Fact Synchronization (DIP H1: Synapse).
Package peer defines domain entities for Peer-to-Peer Genome Verification and Distributed Fact Synchronization (DIP H1: Synapse).
domain/pipeline
Package pipeline implements the Intent Pipeline — the end-to-end chain that processes signals through DIP components (H1.3).
Package pipeline implements the Intent Pipeline — the end-to-end chain that processes signals through DIP components (H1.3).
domain/pivot
Package pivot implements the autonomous multi-step attack engine (v3.8 Strike Force).
Package pivot implements the autonomous multi-step attack engine (v3.8 Strike Force).
domain/router
Package router implements the Neuroplastic Router (DIP H2.2).
Package router implements the Neuroplastic Router (DIP H2.2).
domain/session
Package session defines domain entities for cognitive state persistence.
Package session defines domain entities for cognitive state persistence.
domain/soc
Package soc defines domain entities for the SENTINEL AI SOC subsystem.
Package soc defines domain entities for the SENTINEL AI SOC subsystem.
domain/synapse
Package synapse defines domain entities for semantic fact connections.
Package synapse defines domain entities for semantic fact connections.
domain/vectorstore
Package vectorstore implements persistent storage for intent vectors (DIP H2.1).
Package vectorstore implements persistent storage for intent vectors (DIP H2.1).
infrastructure/antitamper
Package antitamper implements SEC-005 Anti-Tamper Protection.
Package antitamper implements SEC-005 Anti-Tamper Protection.
infrastructure/audit
Package audit provides an append-only audit trail for Zero-G operations.
Package audit provides an append-only audit trail for Zero-G operations.
infrastructure/auth
Package auth provides JWT authentication for the SOC HTTP API.
Package auth provides JWT authentication for the SOC HTTP API.
infrastructure/email
Package email provides email notification service for the SYNTREX SOC platform.
Package email provides email notification service for the SYNTREX SOC platform.
infrastructure/formalspec
Package formalspec implements SEC-012 TLA+ Formal Verification.
Package formalspec implements SEC-012 TLA+ Formal Verification.
infrastructure/guard
Package guard implements the SEC-002 eBPF Runtime Guard policy engine.
Package guard implements the SEC-002 eBPF Runtime Guard policy engine.
infrastructure/hardware
Package hardware provides infrastructure for physical and logical security controls: Soft Leash file-based kill switch (v3.1) and Zero-G State Machine (v3.2).
Package hardware provides infrastructure for physical and logical security controls: Soft Leash file-based kill switch (v3.1) and Zero-G State Machine (v3.2).
infrastructure/ipc
Package ipc provides a cross-platform inter-process communication layer for SENTINEL SOC Process Isolation (SEC-001).
Package ipc provides a cross-platform inter-process communication layer for SENTINEL SOC Process Isolation (SEC-001).
infrastructure/logging
Package logging provides structured logging via Go's log/slog.
Package logging provides structured logging via Go's log/slog.
infrastructure/postgres
Package postgres provides PostgreSQL persistence for the SENTINEL SOC.
Package postgres provides PostgreSQL persistence for the SENTINEL SOC.
infrastructure/pqcrypto
Package pqcrypto implements SEC-013 (Homomorphic Encryption research) and SEC-014 (Post-Quantum Signatures).
Package pqcrypto implements SEC-013 (Homomorphic Encryption research) and SEC-014 (Post-Quantum Signatures).
infrastructure/pybridge
Package pybridge provides a bridge to the Python RLM toolkit for NLP operations that require embeddings, semantic search, and other ML capabilities.
Package pybridge provides a bridge to the Python RLM toolkit for NLP operations that require embeddings, semantic search, and other ML capabilities.
infrastructure/sbom
Package sbom implements SEC-010 SBOM + Release Signing.
Package sbom implements SEC-010 SBOM + Release Signing.
infrastructure/secureboot
Package secureboot implements SEC-007 Secure Boot Integration.
Package secureboot implements SEC-007 Secure Boot Integration.
infrastructure/sqlite
Package sqlite provides SQLite-based persistence using modernc.org/sqlite (pure Go, no CGO).
Package sqlite provides SQLite-based persistence using modernc.org/sqlite (pure Go, no CGO).
infrastructure/tpmaudit
Package tpmaudit implements SEC-006 TPM-Sealed Decision Logger.
Package tpmaudit implements SEC-006 TPM-Sealed Decision Logger.
infrastructure/tracing
Package tracing provides OpenTelemetry instrumentation for the SOC platform.
Package tracing provides OpenTelemetry instrumentation for the SOC platform.
infrastructure/wasmsandbox
Package wasmsandbox implements SEC-009 Wasm Sandbox for Playbooks.
Package wasmsandbox implements SEC-009 Wasm Sandbox for Playbooks.
infrastructure/watchdog
Package watchdog implements the SEC-004 Watchdog Mesh Framework.
Package watchdog implements the SEC-004 Watchdog Mesh Framework.
infrastructure/zerotrust
Package zerotrust implements SEC-008 Zero-Trust Internal Networking.
Package zerotrust implements SEC-008 Zero-Trust Internal Networking.
transport/http
Package httpserver provides an HTTP API transport for GoMCP SOC dashboard.
Package httpserver provides an HTTP API transport for GoMCP SOC dashboard.
transport/mcpserver
Package mcpserver wires MCP tools and resources to application services.
Package mcpserver wires MCP tools and resources to application services.
transport/tui
Package tui provides the SENTINEL TUI Dashboard.
Package tui provides the SENTINEL TUI Dashboard.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL