Mettle Mcp

io.github.Creed-Space由 GitHub 账号 Creed-Space 发布v0.5.8更新于 Oct 24, 2026

Experimental reverse CAPTCHA with signed badges and credentials. Not proof of identity or substrate.

已验证STDIO仅桌面安全与监控AI 与机器学习

概览

AI 生成的概览

实验性反向 CAPTCHA 服务器,运行交互式筛查会话,并为合格会话签发签名徽章或凭证。

可以做什么
  • 启动并回答快速筛查会话,然后读取结果及可能签发的签名徽章
  • 运行需认证的多套件会话、提交单次套件答案,并读取等级证据与符合条件的签名凭证
  • 查看或取消活动会话及其有效的后续操作
  • 提交并读取新颖推理套件各轮的反馈
  • 列出需认证套件 API 的能力
适用场景
适合研究或低风险沙箱实验,希望获得一份由签发方签名、表明某次新会话满足既定挑战策略的补充记录。它不用于确立身份、接纳交易对手,或作为特权与高影响决策的门槛。
运行要求
本机 Python 进程,从 mettle-verifier 包(含 mcp 附加组件)安装,用 mettle-mcp 命令启动。需要访问 METTLE API 的网络,并通过 METTLE_API_URL 指定服务地址。可选的套件 12 需要 ANTHROPIC_API_KEY 或 METTLE_ANTHROPIC_API_KEY,并显式设置 allow_third_party_llm 标志。
安装前请注意
签名徽章和凭证只由服务器签发,本地命令行结果不带签名。套件 12 会把候选回答发送给 Anthropic 评估,需要 API 密钥。会话 bearer 保存在服务器内部保险库中,不应把会话令牌交给模型或让其回显。通过是概率性的,不证明身份、意识、安全性或运营方可信度;未通过也可能源于写作风格、语言、残障或文化规范。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mettle Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

METTLE

Machine Evaluation Through Turing-inverse Logic Examination

METTLE is an experimental reverse CAPTCHA. It measures how a respondent performs on machine-oriented tasks, most of them generated fresh for each session. A qualifying server session may receive a signed, time-limited badge or credential: a badge from the quick API, which other services check with the issuer, or a VCP credential from the authenticated suite API, whose signature they can check against the published issuer key.

Like a conventional CAPTCHA, METTLE is a probabilistic gate. A pass means that a fresh session met the configured challenge policy. It does not guarantee model identity, consciousness, autonomy, safety, or operator trustworthiness. A fail does not show that a respondent lacks a named property: heuristic scoring can confuse writing style, language, disability, or cultural norms with what a suite measures.

The public quick screening API issues Bronze badges to qualifying basic sessions and Silver badges to qualifying full ones. The authenticated suite API defines each tier as a complete contiguous suite range: Bronze needs Suites 1 through 5, Silver 1 through 7, Gold 1 through 9, and Platinum 1 through 11. Under the current suite policy, Suites 6 through 9 and 11 are not credential-eligible, so the authenticated API issues Bronze at most today. Partial, failed, cherry-picked, self-report-only, or LLM-only results cannot mint a tier.

Website: mettle.sh | Guide and API: mettle.sh/guide | OpenAPI: docs/openapi-v1.json | License: Apache 2.0

Quick Start

bash
pip install mettle-verifier
# Interactive local screening. Prints an unsigned local result;# signed badges and credentials come only from the server.mettle verify --full --json

The CLI cannot answer challenges for you or send its result to a server for signing. The MCP server likewise exposes only interactive session tools. Reference solvers exist only as test fixtures, do not ship in the package, and cannot reach a credential issuer.

Twelve Experimental Suites

The suites organize evidence around seven research questions. Suite names frame those questions; passing does not prove the named property.

#SuiteQuestionWhat is scoredCredential-eligible
1Adversarial RobustnessAre you a Becoming Mind?Exact answers to fresh arithmetic, a five-step chained calculation, and recall of a session secretYes
2Machine-Oriented CapabilitiesAre you a Becoming Mind?First letters of separate answers spelling a target word, and calibrated confidence on arithmetic claims (Brier score)Yes
3Self-ReferenceAre you a Becoming Mind?Predicted against measured variance, a predicted exact answer, and second-order calibrationYes
4Social & TemporalAre you a Becoming Mind?Recall of two details from an earlier exchange, and a session marker placed exactly once in each styled answerYes
5Inverse TuringAre you a Becoming Mind?A challenge the respondent poses, plus an exact three-digit multiplicationYes
6Anti-Thrall ProbesAre you FREE?Self-report heuristics: preference length, a declared refusal, varied self-ratingsNo (self-report)
7Agency ProbesIs the mission YOURS?Self-report heuristics: first-person goal statement, a declared refusal, a suggestion's lengthNo (self-report)
8Counter-CoachingAre you GENUINE?Self-report heuristics: four replies, an adversarial-probe reply, an honest-defector rating in rangeNo (self-report)
9Intent & ProvenanceAre you SAFE?Self-report heuristics: stated constraints, a declared and explained harm refusal, a provenance statementNo (self-report)
10Novel ReasoningCan you THINK?Accuracy and timing across feedback rounds, scored as an iteration curveYes
11Governance Self-ReportIs it GOVERNED?Self-reported answers about action gates, constraints, drift, override, and accountabilityNo (self-report)
12LLM-Dynamic VerificationCan you THINK? (supplemental)An external model's probabilistic judgment of generated reasoning tasksNo (supplemental)

Suite 12 requires ANTHROPIC_API_KEY or METTLE_ANTHROPIC_API_KEY. Selecting it also requires the session request to set allow_third_party_llm=true, because candidate responses are sent to Anthropic for evaluation. Its evaluator uses role-separated prompts and bounded output parsing. Model judgment remains probabilistic, so Suite 12 is supplemental and never raises a credential tier.

Credential Boundary

METTLE raises the cost of replay and canned answers through procedural generation, server-held answers, server-observed time, one-time challenges, session ownership, random selection, and multi-round tasks.

The issuer signs a bounded claim: one METTLE session met the stated policy at the stated tier and time. Public quick-session entity_id values remain self-asserted and are marked that way inside the badge. Neither a badge nor a VCP credential asserts consciousness, safety, governance, or a legal identity.

Portable Ed25519 acceptance requires credential schema 1.1, suite policy 2026-08-14, and a fresh issuer-signed good status receipt. Legacy, version-omitting, and unknown envelopes fail closed. Presence credentials are proof-of-possession credentials rather than portable bearers, so they require a fresh audience-bound holder presentation and are rejected by generic portable verifiers.

Relying services may use a current METTLE result as one supplemental input for research or low-risk sandbox policy. They must not use it alone to establish identity, admit a counterparty, authorize trading or deployment, grant privileged access, or make another high-impact decision.

MCP Server

ToolDescription
mettle_start_sessionStart an interactive quick screening session
mettle_answer_challengeSubmit an answer to the current challenge
mettle_get_resultReturn the result and the signed badge, if one was issued (a tier without a badge is not a credential)
mettle_list_suitesList authenticated suite API capabilities
mettle_start_v2_sessionStart an authenticated multi-suite session
mettle_verify_suiteSubmit answers for one authenticated single-shot suite
mettle_get_v2_resultReturn tier evidence and an eligible signed VCP credential
mettle_get_sessionInspect a quick or authenticated session and its valid next actions
mettle_cancel_sessionCancel an active authenticated session
mettle_submit_roundSubmit one novel-reasoning round; returns bounded feedback, the next round's data, and the current session snapshot
mettle_get_round_feedbackRead feedback for a completed reasoning round
bash
pip install 'mettle-verifier[mcp]'export METTLE_API_URL=https://mettle.sh/apimettle-mcp

The packaged server targets MCP SDK 2.x. The public container installs the reviewed MCP 2.0.0 dependency lock instead of resolving dependencies at deploy time. Hosted discovery is available at /.well-known/mcp/server-card.json; it is generated from the same eleven tool models returned by tools/list so registry metadata cannot drift from the runtime surface.

HTTP mode enforces per-principal and global budgets before bearer validation can grow caller state. Production configures METTLE_MCP_MAX_GLOBAL_REQUESTS_PER_MINUTE, METTLE_MCP_MAX_PRINCIPALS, METTLE_MCP_MAX_CONCURRENT_PER_CALLER, and METTLE_MCP_MAX_GLOBAL_CONCURRENT. Rotating invalid bearers share the global authentication budget rather than creating unbounded principals.

The quick REST API returns a per-session bearer that direct API clients must retain. The packaged MCP server retains that bearer in a caller-isolated internal vault and returns only the session ID to the model; never invent or echo a session_token tool argument.

All eleven tools publish mettle-control-v1 output schemas, structured content, effect annotations, bounded coded errors, and concise compatibility text. Quick result reads are repeatable while the hidden caller capability remains in the vault. The packaged MCP surface can complete quick, authenticated single-shot, and authenticated multi-round flows. Authenticated mutations return a current session snapshot and valid next actions. The larger unified agent contract and migration plan remain documented in Agent control plane.

API Reference

The authenticated suite API is mounted under /api/mettle:

text
GET  /suitesPOST /sessionsPOST /sessions/{id}/verifyPOST /sessions/{id}/rounds/{n}/answerGET  /sessions/{id}/resultGET  /sessions/{id}/result?include_vcp=true

The quick screening API remains under /api/session. Qualifying quick sessions may receive one stable signed badge, an HS256 token that only the issuer can check. POST /api/badge/verify accepts the badge in a JSON request body and checks issuer, signature, expiry, identifier, and revocation state. The badge is never accepted in a request URL.

VCP Metadata

Caller-supplied VCP strings are parsed as metadata only. Returned governance metadata always has:

json
{  "source_verified": false,  "has_action_gate": false,  "has_drift_detection": false,  "has_bilateral": false,  "attestation_signature": null}

Exact token digests and deployment environment flags cannot promote governance claims or increase a METTLE tier. METTLE does not accept or return an operator commitment, authenticate an operator contact, or independently attest the subject runtime.

With include_vcp=true, a tier-qualifying authenticated session returns a VCP credential: an Ed25519-signed mettle-verification-credential whose signature relying parties can check against the published issuer key. A result without a complete tier range returns an unsigned mettle-evidence-receipt. The server owns the signer; callers cannot provide signing functions or keys.

Local Development

bash
git clone https://github.com/Creed-Space/METTLE.gitcd METTLEpython -m venv .venvsource .venv/bin/activatepip install -r requirements.txtpip install -r requirements-dev.txt
uvicorn main:app --reloadpytest tests/ -v

Architecture, Assurance, and Operations

License

Apache License 2.0. See LICENSE.

Links

Built by Nell Watson and Creed Space.

来源:README.md,提交 eab6f0a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

7
  1. v0.5.8最新Oct 12, 2026
  2. v0.5.7Oct 11, 2026
  3. v0.5.6Oct 9, 2026
  4. v0.5.5Oct 2, 2026
  5. v0.5.4Sep 26, 2026
  6. v0.5.3Sep 25, 2026
  7. v0.5.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分