GJ

giancarloerra/januscope

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

32 stars 6 forks 质量 86 趋势 31AGPL-3.0

本地优先的MCP策略代理。工具块、SQL变异门、个人信息(PII)遮蔽、审计、速率限制、OpenTelemetry、保险库秘密、首次使用隔离、模式预注入。无托管网关。

概览

_“你在任何地方看到的(天空、海洋、云朵、陆地)都是。”_ _Ovid,《Fasti I》第一章117–18页()_ JanuScope,从模型读取前返回的值中提取,并减少发现调用。 一个 YAML(称为 a)将任意 MCP 服务器包裹为 和 。覆盖 。A(YAML 配置文件),测量显示 和 ,在原始三题 Postgres 测试中显示 和 (中位数为 4 次运行;问题间历史重置)。较新的保留对话结果和限制将在下方报告。适用于任何 MCP 客户端。 🧠 参见我们的兄弟项目:本地优先代码库智能,含语义搜索、依赖图、符号级影响分析。 由Altaire Limited赞助。我们还为AGPL成为阻碍的组织提供商业许可。 如果JanuScope对你有用,请⭐(它帮助他人发现它),并与你的团队分享。

概述(AI 翻译)

= 20英寸>

“你在任何地方看到的(天空、海洋、云朵、陆地)都是我手中关闭和打开的。” Ovid,《Fasti I》,117–18(雅努斯说话)

JanuScope 是本地 MCP 策略代理。一个 YAML 将任何 MCP 服务器包裹,包含策略、编辑、审计和数据库-模式注入。JanuScope 本地运行,数据路径中没有托管网关。你的上游服务器和模型提供者仍然可以接收数据。

JanuScope隐藏危险工具,在模型读取返回值前清除匹配的PII,记录调用结果,并且预注入你的数据库模式以减少发现调用。本地运行,数据路径中无托管网关。

一个 YAML(称为 Lens)用安全护栏、模式注入和完整审计日志包裹任何 MCP 服务器。有 20 个捆绑的 Lens 覆盖数据库(Postgres、MySQL、MongoDB、ClickHouse、Redis、SQLite、Microsoft SQL Server / Azure SQL、Oracle、Neon、Snowflake、Aurora DSQL、Redshift、Supabase 自主机)、SaaS API(Stripe、Notion、Atlassian、Linear、Supabase Cloud)、源码控制(GitHub)和文件系统。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

JanuScope

= 20">

“Whatever you see anywhere (sky, sea, clouds, lands) are all closed and opened by my hand.” Ovid, Fasti I, 117–18 (Janus speaking)

JanuScope is the local MCP policy proxy. One YAML wraps any MCP server with policy, redaction, audit, and database-schema injection. JanuScope runs locally, with no hosted gateway in the data path. Your upstream server and model provider can still receive data.

JanuScope hides the dangerous tools, scrubs matching PII out of returned values before the model reads them, records call outcomes, and pre-injects your DB schema to reduce discovery calls. Runs locally, no hosted gateway in the data path.

One YAML (called a Lens) wraps any MCP server with security guardrails, schema injection, and full audit logging. There are 20 bundled Lenses covering databases (Postgres, MySQL, MongoDB, ClickHouse, Redis, SQLite, Microsoft SQL Server / Azure SQL, Oracle, Neon, Snowflake, Aurora DSQL, Redshift, Supabase self-host), SaaS APIs (Stripe, Notion, Atlassian, Linear, Supabase Cloud), source control (GitHub), and the filesystem. A community ecosystem of per-MCP Lenses (YAML config files), and measured benchmarks showing 84% fewer tokens and ~3× faster responses in the original three-question Postgres test (median of 4 runs; history reset between questions). Newer retained-conversation results and limitations are reported below. Zero server changes. No hosted gateway in the data path. Works with Claude Code, VSCode Copilot, Codex, Cursor, and any MCP client.

🧠 Need codebase understanding together with MCP governance? See our sibling project SocratiCode: local-first codebase intelligence with semantic search, dependency graphs, symbol-level impact analysis.

Kindly sponsored by Altaire Limited. We also offer a commercial license

在 GitHub 查看完整 README

安装

uvx postgres-mcp
新手?先看 mcpskill.org 教程 →