
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 分