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 分