MCP Sentinel

io.github.oaslananka由 GitHub 帳號 oaslananka 發布v1.0.0更新於 Oct 24, 2026

Zero-trust MCP security proxy with policy enforcement, PII scrubbing, approvals, and audit trails.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機零信任 MCP 安全代理,在用戶端與後端 MCP 工具之間提供政策執行、PII 去識別化、審批與稽核紀錄。

可以做什麼
位於 MCP 用戶端與後端 MCP 伺服器之間,為面向用戶端的流量加上政策與稽核控制(R33)。對代理的工具流量執行零信任政策、審批步驟與 PII 控制(D1、R14)。將稽核資料與金鑰保存在本機 SQLite 資料庫中(V1.1)。可透過啟動 stdio 指令或指向 HTTP 端點連接上游 MCP 伺服器(V2.1、V3.1)。
適用情境
當 MCP 伺服器不再只是單一本機示範,而需要信任邊界、審批關卡、PII 處理與工具流量稽核紀錄時適用,例如團隊或內部平台情境(R5、R6)。
執行需求
以本機程序方式在使用者機器上執行(僅桌面端),透過 npm 套件以 stdio 啟動。需要 Node.js,並在 SENTINEL_DB_PATH 設定可寫入的 SQLite 資料庫路徑。必須設定上游:stdio 伺服器用 SENTINEL_UPSTREAM_COMMAND,HTTP 端點用 SENTINEL_UPSTREAM_URL。未宣告身分驗證。
安裝前請注意
它會代理並檢查送往後端 MCP 伺服器的流量,因此能看到這些工具處理的資料;稽核與金鑰儲存位於 SENTINEL_DB_PATH 指向的 SQLite 檔案,應加以保護。清單未列出工具、README 也未提供設定細節,依賴前應先確認政策、審批與 PII 的實際行為。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCP Sentinel,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Buy me a coffee]

MCP Infrastructure Suite

The missing infrastructure layer for Model Context Protocol ecosystems.

[CI] [codecov] [npm scope] [License: Apache 2.0] [MCP Spec 2025-11-25] [Node >= 24] [pnpm] [Smithery Ready]

mermaid
flowchart LR    Shared["@oaslananka/shared"]    Forge["@oaslananka/forge"]    Sentinel["@oaslananka/sentinel"]    Atlas["@oaslananka/atlas"]    Composer["@oaslananka/composer"]    Bridge["@oaslananka/bridge"]    Observatory["@oaslananka/observatory"]    Lab["@oaslananka/lab"]
    Shared --> Forge    Shared --> Sentinel    Shared --> Atlas    Shared --> Composer    Shared --> Bridge    Shared --> Observatory    Shared --> Lab
    Clients["IDE / Agent / SDK clients"] --> Sentinel    Clients --> Composer    Composer --> Backends["Backend MCP servers"]    Sentinel --> Backends    Forge --> Composer    Forge --> Sentinel    Atlas --> Clients    Observatory --> Sentinel    Observatory --> Forge    Lab --> Composer

Why mcp-suite?

Most MCP projects stop at the server boundary. mcp-suite focuses on the harder production layer around it: transport compatibility, trust boundaries, orchestration, discovery, observability, and operator workflows. That makes it useful once you move past a single local demo and start running MCP in teams, CI, or internal platforms.

The suite is built for guarded GitHub-hosted release automation, with every publishable package prepared for public npm publishing under the @oaslananka scope. The monorepo stays strict TypeScript, Turborepo, pnpm, and release-please manifest based.

Compared with one-off MCP utilities, the packages here are designed to compose: shared defines the protocol/runtime baseline, sentinel and composer control traffic, forge orchestrates work, atlas catalogs capability, bridge generates servers, observatory closes the feedback loop, and lab gives contributors a desktop workbench.

Packages

PackageWhat it doesDocs
@oaslananka/sharedShared MCP protocol, transports, auth, retry, telemetry, and testing primitivesShared docs
@oaslananka/forgePipeline engine for orchestrating MCP tools and external stepsForge docs
@oaslananka/sentinelZero-trust security proxy with audit, approval, and PII controlsSentinel docs
@oaslananka/atlasRegistry API and catalog UI for discovering MCP serversAtlas docs
@oaslananka/composerAggregation proxy for multiple backend MCP serversComposer docs
@oaslananka/bridgeOpenAPI and schema-first MCP server generationBridge docs
@oaslananka/observatoryMetrics, traces, anomaly detection, alerting, and dashboard UIObservatory docs
@oaslananka/labElectron desktop workbench for connecting to and debugging MCP serversLab docs

MCP Lab Screenshot

[MCP Lab desktop screenshot]

Local Playground

The reproducible demo path is a local playground with seeded Atlas and Observatory data:

bash
pnpm install --frozen-lockfilepnpm buildpnpm run playground:seedpnpm run playground:atlas

Then start Observatory in another terminal:

bash
pnpm run playground:observatory

Open Atlas at http://localhost:4003, Observatory at http://localhost:4006, and Lab with pnpm --filter @oaslananka/lab dev. Full steps live in the local playground guide.

Quick Start

bash
pnpm install --frozen-lockfilepnpm build
# Seed and run Atlaspnpm --filter @oaslananka/atlas exec node dist/cli.js seed --db ./data/atlas.sqlitepnpm --filter @oaslananka/atlas exec node dist/cli.js serve --db ./data/atlas.sqlite --port 4003
# In another terminal, run Observatorypnpm --filter @oaslananka/observatory exec node dist/cli.js serve --db ./data/observatory.sqlite --port 4006

Once the services are up:

Architecture

shared carries the protocol baseline, logger factory, transports, telemetry helpers, and test fixtures used everywhere else. MCP client-facing traffic is typically wrapped by sentinel for policy and audit, then aggregated through composer, or orchestrated from forge. atlas and observatory are HTTP-first operator surfaces, while lab is the developer-facing desktop entry point.

The suite currently defaults to MCP protocol version 2025-11-25 while keeping compatibility helpers for 2025-11-05 handshakes during the 1.0 transition.

Architecture decisions are recorded in the ADR index.

Development

bash
make installpnpm run format:checkmake lintmake typecheckmake testpnpm run securitymake test-coveragemake knippnpm run release:dry-run

More setup and workflow guidance lives in docs/development.md, docs/testing.md, docs/security.md, docs/release.md, the generated API reference path in docs/api-reference.md, and the guide docs under docs/guide.

Release Policy

  • release-please manifest mode owns version bumps, changelogs, tags, and GitHub releases.
  • GitHub Actions builds npm package tarballs, a machine-readable release manifest, SBOM, checksums, and attestations from clean checkout state.
  • Production npm publishing is separate, environment-protected, and uses npm trusted publishing/OIDC after checksum, attestation, package-content, and clean-install verification.
  • Partial npm publication is resumable: identical immutable versions are skipped, missing versions publish in dependency order, and integrity conflicts fail closed.
  • Docs-only, internal-only, and CI-only changes do not publish to npm or update registry metadata.

Contributing

Contributions are welcome. Start with CONTRIBUTING.md, use Conventional Commits for user-visible changes, and keep GitHub Actions parity when adding validation steps. For issue triage, support, stale handling, labels, and maintainer response targets, see docs/governance.md.

Roadmap

  • @oaslananka/gateway: HTTP-first multi-tenant MCP gateway
  • @oaslananka/sdk: cross-language SDK surface starting with Python
  • Forge visual editor built on React Flow
  • Atlas federation across multiple registry instances
  • Observatory exports for Grafana and OTel collector pipelines
  • Sentinel policy integration with OPA

License

Apache 2.0 — © 2025-2026 oaslananka

來源:README.md,提交 7c63ba0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分