Back to search
enterprise-mcp-server
MCP serverGitHub
Production-grade Model Context Protocol (MCP) server in Go with strict RBAC and SIEM-ready JSON audit logging.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Checked today
Badge for your README
Markdown
[](/listings/defrox--enterprise-mcp-server)HTML
<a href="/listings/defrox--enterprise-mcp-server"><img src="/api/listings/defrox--enterprise-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>Install
i
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
# Run locally
go run ./cmd/server
# Test an authorized tool execution
curl -X POST http://localhost:8080/mcp/execute \
-H "Content-Type: application/json" \
-d '{"tool": "query_analytics", "role": "ai-analyst", "params": {"limit": 10}}'What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 49 lines
- # Enterprise MCP Server Blueprint (Go)
- [](https://github.com/defrox/enterprise-mcp-server/actions/workflows/ci.yml)
- [](https://go.dev/)
- [](https://owasp.org/)
- A production-grade **Model Context Protocol (MCP)** server written in **Go**, engineered for enterprise environments requiring strict **Role-Based Access Control (RBAC)**, immutable structured audit logging, and low-latency tool execution for autonomous AI agents.
- ## Architecture
- ```mermaid
- sequenceDiagram
- participant Agent as AI Agent (LangGraph / Claude)
- participant MCP as Enterprise MCP Server (Go)
- participant SIEM as SIEM / Audit Log
- participant DB as Enterprise Data Source
- Agent->>MCP: POST /mcp/execute (Tool + Role + Params)
- MCP->>MCP: Validate RBAC Policy
- alt Unauthorized Role
- MCP->>SIEM: Log Security Alert (JSON)
- MCP-->>Agent: 403 Forbidden
- else Authorized Role
- MCP->>SIEM: Log Immutable Audit Trail
- MCP->>DB: Execute Read-Only Query
- DB-->>MCP: Result Payload
- MCP-->>Agent: 200 OK (Structured Response)
- end
- ```
- ## Key Features
- * **Zero-Trust RBAC Enforcement:** Blocks unauthorized tool invocations at the gateway boundary before touching downstream data systems.
- * **SIEM-Ready Structured Logging:** Outputs JSON audit events via Go's `log/slog` with tool name, caller role, and UTC timestamps.
- * **Cloud-Native Footprint:** Minimal memory overhead and multi-stage distroless Docker build ready for Kubernetes.
- ## Quickstart
- ```bash
- # Run locally
- go run ./cmd/server
- # Test an authorized tool execution
- curl -X POST http://localhost:8080/mcp/execute \
- -H "Content-Type: application/json" \
- -d '{"tool": "query_analytics", "role": "ai-analyst", "params": {"limit": 10}}'
- ```
- ## Author
- **Christian Axel Schmidt** — Principal AI & Systems Architect
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.