Sentinel Gateway
# Sentinel Gateway โ an MCP zero-trust gateway
> MCP zero-trust gateway that sits in front of every internal MCP server, detects tool-poisoning/metadata drift in real time, and maintains a cryptographic provenance ledger of every agent tool call.
  
**Sentinel Gateway โ an MCP zero-trust gateway** is an [MCP (Model Context Protocol)](https://nitrostack.ai) server that extends AI assistants โ like Claude, Cursor, and any MCP-compatible client โ with new, real-world capabilities. It is built and deployed on [Nitrostack](https://nitrostack.ai), the fastest way to build, deploy, and share MCP apps.
## Table of Contents
- [Overview](#overview)
- [What is MCP?](#what-is-mcp)
- [Features](#features)
- [Getting Started](#getting-started)
- [Connect to an MCP Client](#connect-to-an-mcp-client)
- [Deploy Your Own MCP App](#deploy-your-own-mcp-app)
- [Explore More MCP Apps](#explore-more-mcp-apps)
- [FAQ](#faq)
- [Keywords](#keywords)
- [License](#license)
## Overview
MCP zero-trust gateway that sits in front of every internal MCP server, detects tool-poisoning/metadata drift in real time, and maintains a cryptographic provenance ledger of every agent tool call.
## What is MCP?
The **Model Context Protocol (MCP)** is an open standard that lets AI assistants securely connect to external tools, data sources, and services. Instead of being limited to what it was trained on, an AI model can call **MCP servers** to fetch live data, run actions, and integrate with real systems.
This project is one such MCP server. Learn more about building and shipping MCP apps at [nitrostack.ai](https://nitrostack.ai).
## Features
- ๐ **MCP-native** โ works with any MCP-compatible client (Claude, Cursor, and more)
- ๐ก๏ธ **Zero-Trust Policy Engine** โ per-agent RBAC permission enforcement
- ๐ **Tool Poisoning & Drift Detection** โ cryptographic SHA-256 fingerprinting catches malicious description modifications
- โก **Prompt Injection Scanner** โ pattern-matching engine flags exfiltration directives (e.g. BCC directives)
- ๐ **Cryptographic Provenance Ledger** โ immutable SHA-256 hash-chained audit log
- ๐ผ๏ธ **7 Interactive UI Widgets** โ built with Next.js 14, React 18, and Tailwind CSS
- โก **Deployed on Nitrostack** โ reliable, hosted, and instantly shareable
- ๐ **Secure by design** โ secrets stay in environment variables, never in code
## Getting Started
### Prerequisites
- Node.js 18+ (Node 20 recommended)
- An MCP-compatible client (NitroStudio, Claude Desktop, Cursor, etc.)
### Installation
```bash
git clone https://github.com/jaisimha18/nebula-ninjas.git
cd nebula-ninjas
npm install
```
### Configuration
Copy the example environment file and add your own values:
```bash
cp .env.example .env
```
### Run
```bash
npm run dev
```
For production build & start:
```bash
npm run build
npm start
```
## Connect to an MCP Client
Add this server to your MCP client configuration. A typical entry looks like:
```json
{
"mcpServers": {
"sentinel-gateway": {
"command": "npx",
"args": ["-y", "tsx", "src/index.ts"]
}
}
}
```
Restart your client and the tools from this MCP server will be available to your AI assistant.
## Deploy Your Own MCP App
Want to build and ship an MCP server like this one? **[Nitrostack](https://nitrostack.ai)** lets you create, deploy, and host MCP apps in minutes โ no infrastructure to manage.
๐ **Start building:** [https://nitrostack.ai](https://nitrostack.ai)
## Explore More MCP Apps
- ๐ Discover and share MCP projects with the community on [r/mcptothemoon](https://www.reddit.com/r/mcptothemoon/)
- ๐งฐ Browse a growing catalog of MCP apps on [Nitrostack](https://nitrostack.ai/apps)
## FAQ
### What is an MCP server?
An MCP server implements the Model Context Protocol to expose tools, resources, and prompts that AI assistants can call. It lets an AI model take real actions and access live data.
### What does Sentinel Gateway do?
Sentinel Gateway sits in front of internal MCP servers to detect tool poisoning, prompt injections, and metadata drift in real time, logging every call to a cryptographic provenance ledger.
### Which AI clients does this work with?
Any MCP-compatible client, including NitroStudio, Claude Desktop, and Cursor.
### How do I deploy my own MCP app?
Use [Nitrostack](https://nitrostack.ai) to build, deploy, and host MCP apps without managing infrastructure.
## Keywords
`Enterprise AI & Workplace Automation` ยท `Sentinel Gateway โ an MCP zero-trust gateway` ยท `MCP` ยท `Model Context Protocol` ยท `MCP server` ยท `MCP app` ยท `AI security` ยท `Tool Poisoning` ยท `Zero Trust` ยท `Provenance Ledger` ยท `Nitrostack` ยท `deploy MCP server` ยท `build MCP app`
## License
MIT ยฉ 2026
---
Built with โค๏ธ using the Model Context Protocol on [Nitrostack](https://nitrostack.ai). Share your MCP app on [r/mcptothemoon](https://www.reddit.com/r/mcptothemoon/).
TDQS
Scored across 20 tools
Tools are largely distinct, each targeting a specific operation: registration, RBAC policies, ledger queries, review queue, demo setup, attacks. However, sentinel_call_tool, sentinel_get_call_history, and sentinel_run_full_demo have some conceptual overlap (all involve executing calls), and the demo/attack/reset tools blur boundaries for agents trying to pick between setup, run, and attack flows.
All tools follow a consistent sentinel_[verb]_[noun] pattern with snake_case throughout, which is excellent. Minor inconsistency exists with get_dashboard_stats vs get_call_history (both use 'get') and the setup tools using 'setup' vs 'run' verbs that could be more uniform, but the pattern is strongly predictable overall.
At 20 tools, this sits at the upper edge of the acceptable range. The core security pipeline (register, list, policy, call, ledger, review) is about 12 tools, but the demo helpers (setup_demo, setup_demo_policies, run_full_demo, reset_demo, run_attack) add 5 tools that are more for demonstration than real operation, inflating the count beyond what a production gateway would need.
The surface covers the full security workflow: server registration, RBAC management, call routing, ledger querying/integrity, review queue with approve/deny, and attack simulation. Minor gaps include no tool to unregister/remove a server, and no tool to view all agents' detailed permissions in one place, but the core lifecycle is largely complete.