Hrevn Mcp Server

io.github.ai-human-andalusia由 GitHub 帳號 ai-human-andalusia 發布v0.1.0a0更新於 Oct 24, 2026

HREVN trust layer for baseline diagnostics and verifiable workflow integrity for AI agents.

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

概覽

AI 產生的概覽

一個輕量本機 MCP 伺服器,透過託管 HREVN API 提供基線診斷與工作流程完整性檢查工具。

可以做什麼
對任務記錄與設定檔執行基線檢查,回傳含風險標記、補救內容與檢查 ID 的結構化結果。依指定設定檔驗證記錄。根據記錄與追蹤資料產生套件,可選擇包含報告 PDF。驗證本機路徑下的套件或產出物。核心邏輯保留在遠端 HREVN 執行環境,伺服器只暴露穩定的工具介面。
適用情境
當你希望助理在 AI 工作流程中執行 HREVN 基線診斷、設定檔驗證或套件產生與驗證,且已具備 HREVN 託管 API 的存取權限時使用。
執行需求
以本機 Python 程序執行,可從 PyPI 或原始碼安裝,主控台進入點為 hrevn-mcp-server,使用 stdio 傳輸。需要連線至 HREVN API 的網路,並透過 HREVN_API_KEY 環境變數提供已核發的 API 金鑰,同時設定 HREVN_API_BASE_URL。另有選用的逾時與伺服器名稱/版本變數。
安裝前請注意
需要 HREVN API 金鑰,並在用戶端設定的環境變數中傳入,避免寫入共用設定。自我測試與基線檢查會呼叫線上託管 API,任務記錄與追蹤資料會傳送給第三方。產生套件可輸出報告 PDF,verify_bundle 會讀取你指定的本機路徑。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

HREVN MCP Server

Minimal stdio MCP server for HREVN, backed by the live managed runtime at https://api.hrevn.com.

Why this exists

This repo exposes HREVN as real MCP tools instead of ad hoc helper scripts. It stays intentionally thin:

  • canonical semantics remain in the HREVN managed runtime
  • the MCP layer only exposes stable tool contracts
  • consequential results come back as structured output, including risk_flags, remedy_payload, and check_id

Included tools

  • baseline_check
  • profile_validate
  • generate_bundle
  • verify_bundle

Environment

bash
export HREVN_API_BASE_URL="https://api.hrevn.com"export HREVN_API_KEY="replace-with-issued-alpha-key"

Optional environment variables:

  • HREVN_MCP_TIMEOUT_SECONDS
  • HREVN_MCP_SERVER_NAME
  • HREVN_MCP_SERVER_VERSION

Install

Editable install

bash
cd hrevn-mcp-serverpython3 -m pip install -e .

From PyPI

bash
python3 -m pip install hrevn-mcp-server

The console entry point is:

bash
hrevn-mcp-server

Run

bash
hrevn-mcp-server

The server uses MCP stdio transport.

Verify before using a client

bash
hrevn-mcp-server --versionhrevn-mcp-server --list-toolshrevn-mcp-server --self-test

If you are running directly from source without an installed entry point:

bash
PYTHONPATH=src python3 -m hrevn_mcp_server.server --list-toolsPYTHONPATH=src python3 -m hrevn_mcp_server.server --self-test

The self-test runs a live baseline_check against the configured HREVN managed API.

Tool contracts

baseline_check

Minimal payload:

json
{  "task_type": "ai_workflow",  "profile": "eu_readiness_profile",  "record": {    "agent_name": "example_agent",    "summary": "baseline smoke test"  },  "metadata": {    "surface": "mcp",    "stage": "pre_completion"  }}

profile_validate

Minimal payload:

json
{  "profile": "eu_readiness_profile",  "record": {},  "metadata": {}}

generate_bundle

Minimal payload:

json
{  "record": {},  "traces": [],  "options": {    "include_report_pdf": false  }}

verify_bundle

Minimal payload:

json
{  "source": "/path/to/bundle-or-artifact"}

Example MCP config

Use a local stdio configuration like this:

json
{  "mcpServers": {    "hrevn": {      "command": "python3",      "args": [        "-m",        "hrevn_mcp_server.server"      ],      "env": {        "PYTHONPATH": "/ABSOLUTE/PATH/TO/hrevn-mcp-server/src",        "HREVN_API_BASE_URL": "https://api.hrevn.com",        "HREVN_API_KEY": "YOUR_HREVN_API_KEY"      }    }  }}

See also:

Antigravity status

HREVN can already be explored experimentally in Google Antigravity through custom MCP configuration.

What is already validated:

  • the HREVN MCP server runs locally
  • the server exposes real tools backed by https://api.hrevn.com
  • baseline_check returns real structured results
  • Antigravity preview builds expose MCP configuration surfaces in the UI

What is not claimed yet:

  • official native Antigravity integration
  • guaranteed MCP tool injection into every Antigravity agent instance
  • Antigravity-specific guardrail hooks beyond what has been directly observed

Registry metadata

This repo includes:

as a machine-readable manifest describing the MCP server, package, transport, and repository metadata.

Design rule

This server must not reimplement HREVN truth locally. It should expose stable MCP tools that call the managed API.

來源:README.md,提交 234f04b

工具

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

版本歷史

1
  1. v0.1.0a0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。