🔌
MCP工具

系统提示词治理框架

基于 Rust · 让 AI 助手直接操作你的系统与工具
英文名:systemprompt-template
⭐ 13 Stars 🍴 1 Forks 💻 Rust 📄 NOASSERTION 🏷 AI 7.8分
7.8AI 综合评分
AI治理MCP协议Agent编排多智能体Rust实现
⚙️ 配置说明
✦ AI Skill Hub 推荐

经 AI Skill Hub 精选评估,系统提示词治理框架 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.8 分,适合有一定技术背景的用户使用。

📚 深度解析
系统提示词治理框架 是一款基于 MCP(Model Context Protocol)标准协议的 AI 工具扩展。MCP 协议由 Anthropic 开发并开源,旨在建立 AI 模型与外部工具之间的标准化通信接口,目前已被 Claude Desktop、Claude Code、Cursor 等主流 AI 工具采纳。

通过安装 系统提示词治理框架,你的 AI 助手将获得额外的工具调用能力,可以用自然语言直接操控该工具的功能,无需学习复杂的命令行语法。MCP 工具的核心价值在于"一次配置,永久增强"——配置完成后,每次与 AI 对话时都可以无缝调用这些工具。

在技术实现上,MCP 工具通过标准的 JSON-RPC 协议与 AI 客户端通信,工具的功能以"工具列表"的形式暴露给 AI 模型,AI 可以按需调用。系统提示词治理框架 提供了结构化的工具调用接口,使 AI 模型能够精确地理解和使用每个功能点,显著降低 AI 在工具使用上的错误率。

与传统的 API 集成相比,MCP 工具的优势在于无需编写代码——用户只需在配置文件中添加几行 JSON,即可让 AI 获得全新能力。AI Skill Hub 将 系统提示词治理框架 评为 AI 评分 7.8 分,属于同类工具中的优质选择。
📋 工具概览

基于MCP协议的AI治理基础设施,提供本地评估和控制层能力。适合构建Agent系统、多智能体编排和AI应用治理的开发者,帮助实现AI安全可控的运行环境。

系统提示词治理框架 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

GitHub Stars
⭐ 13
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
轻量级项目,按需更新
开源协议
NOASSERTION
AI 综合评分
7.8 分
工具类型
MCP工具
Forks
1
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

基于MCP协议的AI治理基础设施,提供本地评估和控制层能力。适合构建Agent系统、多智能体编排和AI应用治理的开发者,帮助实现AI安全可控的运行环境。

系统提示词治理框架 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。

📌 核心特色
  • 通过标准 MCP 协议与 Claude、Cursor 等主流 AI 客户端深度集成
  • 提供结构化工具调用接口,显著降低 AI 集成复杂度
  • 支持 Claude Desktop 和 Claude Code 无缝接入,开箱即用
  • 可与其他 MCP 工具组合叠加,构建完整 AI 工作站
  • 轻量无侵入设计,不影响现有系统架构
🎯 主要使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/systempromptio/systemprompt-template

# 方式二:手动配置 claude_desktop_config.json
{
  "mcpServers": {
    "---------": {
      "command": "npx",
      "args": ["-y", "systemprompt-template"]
    }
  }
}

# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
📋 安装步骤说明
  1. 确认已安装 Node.js(v18 或以上版本)
  2. 打开 Claude Desktop 或 Claude Code 的 MCP 配置文件
  3. 按「交给 Agent 安装 → Claude Desktop」标签中的 JSON 配置填入 mcpServers 字段
  4. 保存配置文件并重启 Claude 客户端
  5. 重启后,在对话中即可使用本工具
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 安装后在 Claude 对话中直接使用
# 示例:
用户: 请帮我用 系统提示词治理框架 执行以下任务...
Claude: [自动调用 系统提示词治理框架 MCP 工具处理请求]

# 查看可用工具列表
# 在 Claude 中输入:"列出所有可用的 MCP 工具"
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
// claude_desktop_config.json 配置示例
{
  "mcpServers": {
    "_________": {
      "command": "npx",
      "args": ["-y", "systemprompt-template"],
      "env": {
        // "API_KEY": "your-api-key-here"
      }
    }
  }
}

// 保存后重启 Claude Desktop 生效
📑 README 深度解析 真实文档 完整度 37/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

简介

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://systemprompt.io/files/images/logo.svg"> <source media="(prefers-color-scheme: light)" srcset="https://systemprompt.io/files/images/logo-dark.svg"> <img src="https://systemprompt.io/files/images/logo-dark.svg" alt="systemprompt.io" width="380"> </picture>

Install the bridge credential helper

The systemprompt-bridge binary is the Credential helper script slot in Claude for Work. It turns a PAT into a short-lived JWT that Claude Desktop merges into every inference request routed at this binary. Download the prebuilt macOS, Windows, or Linux binary from systempromptio/systemprompt-core releases.

Current release: bridge-v0.9.0 — Linux x86_64, Windows x86_64 (MSVC ABI), macOS aarch64 (cosign-signed).

1. Download

Linux x86_64

curl -fsSL -o /usr/local/bin/systemprompt-bridge \
  https://github.com/systempromptio/systemprompt-core/releases/download/bridge-v0.9.0/systemprompt-bridge-x86_64-unknown-linux-gnu
chmod +x /usr/local/bin/systemprompt-bridge
curl -fsSL -O https://github.com/systempromptio/systemprompt-core/releases/download/bridge-v0.9.0/SHA256SUMS
sha256sum -c SHA256SUMS --ignore-missing

Windows x86_64 (PowerShell as Administrator):

$dir = "C:\Program Files\systemprompt"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
Invoke-WebRequest `
  -Uri "https://github.com/systempromptio/systemprompt-core/releases/download/bridge-v0.9.0/systemprompt-bridge-x86_64-pc-windows-msvc.exe" `
  -OutFile "$dir\systemprompt-bridge.exe"
[Environment]::SetEnvironmentVariable("PATH", "$env:PATH;$dir", "User")

Windows Smart Screen will flag the unsigned binary on first run → "More info" → "Run anyway".

macOS (source build):

git clone https://github.com/systempromptio/systemprompt-core.git
cd systemprompt-core
cargo build --manifest-path bin/bridge/Cargo.toml --release \
  --target "$(rustc -vV | awk '/host:/ {print $2}')"
sudo install -m 755 \
  "bin/bridge/target/$(rustc -vV | awk '/host:/ {print $2}')/release/systemprompt-bridge" \
  /usr/local/bin/

2. Configure

Linux/macOS: ~/.config/systemprompt/systemprompt-bridge.toml Windows: %APPDATA%\systemprompt\systemprompt-bridge.toml

[gateway]
url = "http://localhost:8080"   # for the local-trial template; swap to your production host

[pat]
token = "sp-live-your-personal-access-token"

Issue a PAT from the running binary with systemprompt admin users pat issue <user-id> --name bridge-laptop. Absent config sections are silently skipped. Dev overrides: SP_BRIDGE_GATEWAY_URL, SP_BRIDGE_PAT.

3. Verify

systemprompt-bridge           # prints exactly one JSON {token, ttl, headers}
systemprompt-bridge --check   # exits 0 if a token can be issued

Diagnostics go to stderr only. The stdout JSON matches Anthropic's inferenceCredentialHelper contract byte-for-byte.

4. Point Claude Desktop at it

In Claude Desktop Enterprise → Settings → Inference:

  • Credential helper script: /usr/local/bin/systemprompt-bridge (or C:\Program Files\systemprompt\systemprompt-bridge.exe).
  • API base URL: the gateway.url from your TOML.

Every Claude Desktop request now lands a row in ai_requests with user_id, tenant_id, session_id, trace_id, tokens, cost, and latency — identical governance to every other tool call. Run systemprompt infra logs audit <request-id> --full after a prompt to see the trace end-to-end.

5. (Optional) Install the org-plugins/ sync agent

The same binary manages the bridge's signed plugin / managed-MCP mount:

systemprompt-bridge install     # register launchd (macOS) / scheduled task (Windows) / systemd --user (Linux)
systemprompt-bridge sync        # pull signed plugin manifest + allowlist now
systemprompt-bridge validate    # verify the ed25519 signature
systemprompt-bridge uninstall   # remove

Mount targets: /Library/Application Support/Claude/org-plugins/ (macOS), C:\ProgramData\Claude\org-plugins\ (Windows), ${XDG_DATA_HOME:-$HOME/.local/share}/Claude/org-plugins/ (Linux).

</details>

---

Quick start

git clone https://github.com/systempromptio/systemprompt-template
cd systemprompt-template
just setup-local <anthropic_key> [openai_key] [gemini_key]   # writes profile, starts Postgres, runs publish pipeline
just start                                                   # serves governance + agents + MCP + admin on :8080

One AI key is required; the other two are optional. Running a second clone side-by-side? just setup-local <keys> 8081 5433. Discover the CLI with systemprompt --help.

<details> <summary><strong>Prerequisites</strong></summary>

<br>

RequirementPurposeInstall
**Docker**PostgreSQL runs in a container; just setup-local starts it[docker.com](https://docs.docker.com/get-docker/)
**Rust 1.75+**Compiles the workspace binary[rustup.rs](https://rustup.rs/)
**just**Task runner[just.systems](https://just.systems/)
**jq, yq**JSON and YAML processing in the scriptsbrew install jq yq / apt install jq yq
**AI API keys**One key per provider enabled in services/ai/config.yaml. Shipped config enables Anthropic, OpenAI, Gemini (default gemini). Disable providers you don't want or pass all three.Provider dashboards
**Ports 8080 + 5432**HTTP + PostgreSQLFree on localhost

</details>

---

<details> <summary><strong>What a CISO gets</strong></summary>

<br>

  • A single query answers every AI audit. Every request, scope decision, tool call, model output, and cost lands in one 18-column Postgres table. Six correlation columns (UserId, SessionId, TaskId, TraceId, ContextId, ClientId) bind identity at construction time, so a row without a trace is a programming error.
  • Credentials physically cannot enter the context window. The governance process is the parent of every MCP tool subprocess. Keys are decrypted from a ChaCha20-Poly1305 store and injected into the child's environment by Command::spawn(). The parent, which owns the LLM context, never writes the value. 35+ regex patterns deny any tool call that tries to pass a secret through arguments.
  • Self-hosted, air-gap capable, single artifact. One Rust binary. One PostgreSQL. No Redis, no Kafka, no Kubernetes, no SaaS handoff. The same binary runs on a laptop, a VM, and an air-gapped appliance without modification. Zero outbound telemetry by default.
  • Policy-as-code on PreToolUse hooks. Destructive operations, blocklists, department scoping, six-tier RBAC (Admin, User, Service, A2A, MCP, Anonymous). Rate limiting at 300 req/min per session with role multipliers. Every deny reason is structured and auditable.
  • Certifications-ready, not certification-marketing. Tiered log retention from debug (1 day) through error (90 days). 10 identity lifecycle event variants. SIEM-ready JSON events for Splunk, ELK, Datadog, Sumo. Built for SOC 2 Type II, ISO 27001, HIPAA, and the OWASP Agentic Top 10.

This repo is the evaluation template. Fork it, clone it, compile it. 43 scripted demos execute every claim above against the live binary on your own laptop.

</details>

<details> <summary><strong>What you'll see in the first five minutes</strong></summary>

<br>

  • http://localhost:8080 — admin UI, live audit table, session viewer.
  • systemprompt analytics overview — conversations, tool calls, costs in microdollars, anomalies flagged above 2x/3x of rolling average.
  • systemprompt infra logs audit <request-id> --full — the full trace for any request: identity, scope, rule evaluations, tool call, model output, cost. One query, one row, one answer.
  • Point Claude Code, Claude Desktop, or any MCP client at it. Permissions follow the user, not the client. Try to exfiltrate a key through a tool argument and watch the secret-detection layer deny it before the tool process spawns.
  • ./demo/governance/06-secret-breach.sh — the scripted version of that denial, recorded above.

</details>

<details> <summary><strong>The scripted demos</strong></summary>

<br>

```bash ./demo/00-preflight.sh # acquire token, verify services, create admin ./demo/01-seed-data.sh # populate analytics + trace data

How it compares

DimensionClaude EnterpriseCloud Custom+ systemprompt.io
**Data residency**Anthropic infraCloud regionYour datacenter or air-gap
**Audit trail**Anthropic-heldOTLP onlyPrompt → tool → MCP → cost in your Postgres
**User revocation**SSO / seat removalCloud IAMIDP disable; next TTL fails closed
**Inference provider**Anthropic onlyBedrock / Vertex (Claude)Any /v1/messages, per-call routing
**MCP allowlist**Anthropic-curatedDevice-local configOne registry, per-principal policy
**Plugin catalogue**Anthropic-hostedFiles on diskSigned, scoped, versioned distribution

Manual install is tested and works end-to-end today; signed installers, MDM packages, and Homebrew / winget distribution land in a later release. Install steps in the Advanced fold below.

</details>

<details> <summary><strong>Advanced — gateway routes, bridge install, org-plugins sync</strong></summary>

<br>

Manual install is tested end-to-end. Automated distribution — signed installers, MDM packages, Homebrew / winget — is in progress; today you download a binary and drop a TOML file, documented below.

🎯 aiskill88 AI 点评 A 级 2026-05-22

Rust开发的专业AI治理方案,MCP协议支持跨平台集成。Star数较少但方向前沿,适合对AI安全控制有需求的企业级应用。

⚡ 核心功能
👥 适合人群
Claude Desktop / Claude Code 用户AI 工具开发者需要扩展 AI 能力的专业人士自动化工程师
🎯 使用场景
  • 在 Claude Desktop 对话中直接调用本地工具,实现 AI 与系统的深度联动
  • 通过自然语言驱动复杂的多步骤自动化任务,代替繁琐手动操作
  • 将多个 MCP 工具组合使用,构建个人专属 AI 工作站
⚖️ 优点与不足
✅ 优点
  • +标准化 MCP 协议,生态互联性强
  • +与 Claude 官方生态无缝对接
  • +即插即用,配置简单快捷
⚠️ 不足
  • 依赖 Claude 客户端,非 Claude 用户无法使用
  • MCP 协议仍在持续演进,接口可能变更
  • 需要一定的配置步骤
⚠️ 使用须知

该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。

🔗 相关工具推荐
❓ 常见问题 FAQ
systemprompt-template 是一款Rust开发的AI辅助工具。开源MCP工具:AI Governance Infrastructure — local evaluation. The governance layer for AI age。⭐13 · Rust 主要应用场景包括:Agent系统治理、多智能体协调、AI应用合规性评估。
💡 AI Skill Hub 点评

AI Skill Hub 点评:系统提示词治理框架 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。

⬇️ 获取与下载
📚 深入学习 系统提示词治理框架
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 systemprompt-template
原始描述 开源MCP工具:AI Governance Infrastructure — local evaluation. The governance layer for AI age。⭐13 · Rust
Topics AI治理MCP协议Agent编排多智能体Rust实现
GitHub https://github.com/systempromptio/systemprompt-template
License NOASSERTION
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/systempromptio/systemprompt-template 🌐 官方网站  https://systemprompt.io

收录时间:2026-05-21 · 更新时间:2026-05-22 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。