
Vcp Mcp
io.github.Creed-Space由 GitHub 帳號 Creed-Space 發布v0.8.0更新於 Oct 24, 2026
Value Context Protocol tools: VCP/I tokens, CSM1 codes, VCP-Lite, and context encoding.
概覽
本機 MCP 伺服器,封裝 Value Context Protocol SDK:解析 VCP/I 權杖與 CSM1 代碼、驗證 VCP-Lite 文件並編碼情境。
- 可以做什麼
- 解析並驗證 VCP/I 權杖與 CSM1 代碼,回傳 domain、approach、role、persona、adherence 與 scopes,並拒絕衝突或已棄用的 scope。驗證 VCP-Lite 文件,並轉換為等價的 CSM1 代碼與權杖。將 18 個 VCP/A 情境維度編碼為 wire、JSON 與工作階段中繼資料。把憲法原則對應到 Schwartz 價值,並標示循環模型衝突。回報 SDK 與規格版本、能力及詞彙表,並以資源形式提供內附的 VCP-Lite 範例。
- 適用情境
- 適用於處理 Value Context Protocol 的情境:檢查權杖或 CSM1 代碼、驗證 VCP-Lite 代理文件、編碼情境或分類原則,也可透過 CLI 作為 CI 檢查。一般任務不需要使用。
- 執行需求
- 需要本機 Python 環境,並安裝含 MCP 額外相依套件的 vcp-sdk 套件;伺服器以本機程序透過 stdio 執行。未宣告帳號、API 金鑰或環境變數。README 提醒需與專案維護的 VCP-SDK 安裝在不同虛擬環境,因為兩者共用 vcp 匯入命名空間。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Vcp Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
vcp-sdk
Python SDK for the Value Context Protocol (VCP) — portable AI ethics
validation — plus the Creed Commons client (vcp CLI) for installing
signed value artifacts.
- Protocol and docs: valuecontextprotocol.org
- Creed Commons registry: Creed-Space/vcp-hub
Legacy distribution status
This repository supplies the legacy standalone vcp-sdk 0.8.0 distribution on
PyPI and the
io.github.Creed-Space/vcp-mcp 0.8.0 server entry in the MCP Registry. It is
separate from, and is not, the project-maintained VCP-SDK. To review and run
this source directly, select and verify an exact commit, then install that
checkout:
This candidate and the project-maintained VCP-SDK both use the vcp Python
import namespace. Install them in separate virtual environments. Installing
both into one environment is unsupported because one distribution can replace
the other's modules.
SDK — tokens, CSM1, VCP-Lite
CSM1Code.encode() (and str(code)) emits the canonical form with scopes
sorted (N5+F+E encodes as N5+E+F), matching the project-maintained
VCP-SDK and spec §2.10.1; to_nano()/to_micro() preserve input order.
Token.parse also accepts creed:// and vcp:// URIs and normalises them to
canonical form — a superset of the reference SDK, whose parse takes only
the bare token grammar.
Creed Commons — signed value artifacts
Creed Commons distributes constitutions, creeds, and detector configs as signed data that a values engine interprets — never executable code. Installing an artifact is a signature-verification decision, not a code-execution one:
vcp install verifies against a trust root pinned inside this package
(the registry cannot vouch for itself), pins name@version + content sha256 +
the verifying key in vcp.lock, and never imports, evals, or executes what it
fetched.
Community namespaces are delegated, never a new root: the hub's
namespace_registry.json binds each namespace to its publisher's Ed25519 keys
and is itself signed by the pinned root; artifacts must verify against a key
registered to their own namespace. Registration and moderation:
GOVERNANCE.md.
Trust tiers: signed proves integrity and origin, not semantics; verified
additionally carries a domain-separated root counter-signature (issued
after lint + red-team + human review) that the client checks on install and
on every vcp verify.
CLI — protocol operations
Alongside the Creed Commons commands, vcp runs the protocol operations
directly. These call the same functions the MCP tools do, so scripted CLI
output and MCP tool output carry the same fields.
Output is JSON by default. --quiet prints just the value the command is
about, for shell consumption:
The validate/parse commands exit 0 when valid and 1 when invalid, so
they work as a CI gate:
vcp encode takes one flag per context dimension (--space, --agency,
--cognitive-state, …); --company and --constraints repeat for multiple
values, and each personal dimension has a matching --<dim>-intensity (1-5).
Run vcp encode --help for the full list.
MCP Server
vcp-mcp exposes the SDK to any MCP client (Claude Code, Claude Desktop, or
anything else that speaks the protocol). It runs over stdio by default and is
pure local computation — no network calls, no state between calls, no user
data read.
Claude Desktop / Claude Code config:
Tools
Resource vcp://lite/examples serves the bundled VCP-Lite example documents.
HTTP transport
For hosted deployments, vcp-mcp also speaks Streamable HTTP:
--port defaults to $PORT then 8080. The endpoint runs stateless (a
fresh transport per request), so a gateway may route any request to any
replica. Only POST /mcp is served — GET would otherwise hold an idle event
stream open per connection, so it is refused with a clean JSON-RPC 405. A
GET /health endpoint returns {"status": "ok"}.
The server has no authentication, so binding beyond loopback requires an explicit opt-in:
Set that only when either a gateway or reverse proxy fronts the server and
handles client auth, or you intentionally run it as a public, unauthenticated,
stateless compute endpoint (as render.yaml in this repo does). In the latter
case put a rate limit / WAF in front of it: the exposure is abuse of paid
compute rather than data, since the server holds no state and reads nothing.
Development
License
Apache-2.0. © Creed Space.
來源:README.md,提交 26dfaec
工具
0版本歷史
1- v0.8.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分