tsafe-mcp 2.0.1

Bound-contract MCP server for tsafe — run policy-scoped commands without exposing secret values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use assert_cmd::Command;
use predicates::str::contains;

#[test]
fn help_exits_zero_and_explains_stdio_not_telemetry() {
    Command::cargo_bin("tsafe-mcp")
        .unwrap()
        .arg("--help")
        .assert()
        .success()
        .stdout(contains("tsafe-mcp"))
        .stdout(contains("stdio JSON-RPC"))
        .stdout(contains("one profile, one contract, one workdir"))
        .stdout(contains("does not return secret values"))
        .stdout(contains("not product telemetry"));
}